Difference between revisions of "Template:Chembox parametercheck/test"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 64: Line 64:
  
 
  INCHI (skipped: StdInChI)
 
  INCHI (skipped: StdInChI)
 +
cat:multiple INCHI's does not exist.
 
-->|13={{#switch:{{{_countInChI|-1}}}
 
-->|13={{#switch:{{{_countInChI|-1}}}
 
|0=[[:Category:Articles without InChI source]]
 
|0=[[:Category:Articles without InChI source]]
|1=
+
<!--|1=
|2=[[:Category:Chemical articles with multiple InChIs|B]]
+
|2=[[:Category:Chemical articles with multiple InChIs|B]]-->
|3=[[:Category:Chemical articles with multiple InChIs|C]]
+
|#default=
|4=[[:Category:Chemical articles with multiple InChIs|D]]
 
|5=[[:Category:Chemical articles with multiple InChIs|E]]
 
|6=[[:Category:Chemical articles with multiple InChIs|F]]
 
|#default=<!-- other/err = no tracking -->
 
 
}}<!--
 
}}<!--
todo: check/compare with number of InChIKeys/use max.
+
 
  
 
  CHEMSPIDER
 
  CHEMSPIDER
 +
cat: Multiple SPIDER IDs does not exist.
 
-->|14={{#switch:{{{_countChemSpiderID|-1}}}
 
-->|14={{#switch:{{{_countChemSpiderID|-1}}}
 
|0=[[:Category:Chemical pages without ChemSpiderID]]
 
|0=[[:Category:Chemical pages without ChemSpiderID]]
|1=
+
<!-- |1=
 
|2=[[:Category:Chemical articles with multiple ChemSpiderIDs|B]]
 
|2=[[:Category:Chemical articles with multiple ChemSpiderIDs|B]]
|3=[[:Category:Chemical articles with multiple ChemSpiderIDs|C]]
+
-->
|4=[[:Category:Chemical articles with multiple ChemSpiderIDs|D]]
+
|#default=
|5=[[:Category:Chemical articles with multiple ChemSpiderIDs|E]]
+
}}--><!--
|6=[[:Category:Chemical articles with multiple ChemSpiderIDs|F]]
 
|#default=<!-- other/err = no tracking -->
 
}}<!--
 
  
 
  SMILES
 
  SMILES
-->|15={{#switch:{{{_countSMILES|-1}}}
+
not categorised, cats do not exist.
|0=<!-- [[:Category:Chemical articles without SMILES]] -->
+
--><!--|15={{#switch:{{{_countSMILES|-1}}}
 +
|0=[[:Category:Chemical articles without SMILES]] CAT does not exist
 
|1=
 
|1=
 
|2=[[:Category:Chemical articles with multiple SMILESs|B]]
 
|2=[[:Category:Chemical articles with multiple SMILESs|B]]
|3=[[:Category:Chemical articles with multiple SMILESs|C]]
+
|#default=
|4=[[:Category:Chemical articles with multiple SMILESs|D]]
+
}}--><!--
|5=[[:Category:Chemical articles with multiple SMILESs|E]]
 
|6=[[:Category:Chemical articles with multiple SMILESs|F]]
 
|#default=<!-- other/err = no tracking -->
 
}}<!--
 
  
 
  JMOL
 
  JMOL

Revision as of 11:52, 18 March 2017

50px Template documentation[view] [edit] [history] [purge]

Use /test for development. To make sure all testsettings show in /testcases, and won't show in mainspace. When going live, copy to regular /sandbox, change settings fit for Mainspace, then copy /sandbox into live.

Difference with live, when developing:

  • In {{Chembox Identifers/sandbox}}, set
|addTESTdata=Chembox parametercheck/test
|addMAINdata=<blank>
This sets {{main other|1=|2=(all categories to test)}} for all returned input ({{Chembox headerbar}})
  • In /test:
Set [[COLON:Category:Category name]] (do show not categorise; required to not pollute the categories with testpages)
Format /test visuals, eg by making it a collapsible list.
Optionally, set [[COLON:Category:Category name|Label To Show]] (shows wl label).

Diff

See also