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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 67: Line 67:
 
-->|13={{#switch:{{{_countInChI|-1}}}
 
-->|13={{#switch:{{{_countInChI|-1}}}
 
|0=[[:Category:Articles without InChI source]]
 
|0=[[:Category:Articles without InChI source]]
<!--|1=
 
|2=[[:Category:Chemical articles with multiple InChIs|B]]-->
 
 
|#default=
 
|#default=
 
}}<!--
 
}}<!--
Line 77: Line 75:
 
-->|14={{#switch:{{{_countChemSpiderID|-1}}}
 
-->|14={{#switch:{{{_countChemSpiderID|-1}}}
 
|0=[[:Category:Chemical pages without ChemSpiderID]]
 
|0=[[:Category:Chemical pages without ChemSpiderID]]
<!-- |1=
 
|2=[[:Category:Chemical articles with multiple ChemSpiderIDs|B]]
 
-->
 
 
|#default=
 
|#default=
 
}}<!--
 
}}<!--
  
 
  SMILES
 
  SMILES
  not categorised, cats do not exist.
+
  Not categorised, cats do not exist.
--><!--|15={{#switch:{{{_countSMILES|-1}}}
 
|0=[[:Category:Chemical articles without SMILES]] CAT does not exist
 
|1=
 
|2=[[:Category:Chemical articles with multiple SMILESs|B]]
 
|#default=
 
}}--><!--
 
  
 
  JMOL
 
  JMOL
Line 109: Line 98:
 
-->|31={{#ifexpr:{{{_countQIDindexed|0}}}>0 |[[:Category:Chemicals (indexed) having QID set]]}}<!--
 
-->|31={{#ifexpr:{{{_countQIDindexed|0}}}>0 |[[:Category:Chemicals (indexed) having QID set]]}}<!--
  
-->}}<noinclude>{{documentation}}</noinclude>
+
Categories not existing (counted IDs, not used for this):
 +
[[:Category:Chemical articles with multiple InChIs]]
 +
[[:Category:Chemical articles with multiple ChemSpiderIDs]]
 +
{{#switch:{{{_countSMILES|-1}}}
 +
|0=[[:Category:Chemical articles without SMILES]]
 +
|1=
 +
|2=[[:Category:Chemical articles with multiple SMILESs]]
 +
|#default=}}
 +
 
 +
--><noinclude>{{documentation}}</noinclude>

Revision as of 12:01, 18 March 2017

{{collapsible list | title = Test: categories (identifiers) | bullets = yes

| framestyle = background:#baeefa; font-weight:normal; text-align:left; border:none; font-size:90%;|2=|3=|5=|6=|7=|10=|11=|12=|13=|14=|20=|21=|23=|24=|25=|28=|30=|31=

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