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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
|0=<!-- ~no identifiers... -->
 
|0=<!-- ~no identifiers... -->
 
|1=
 
|1=
|2=[[Category:Chemical articles with multiple compound IDs]]
+
|2=[[Category:Chemical articles with multiple compound IDs|B]]
|3=[[Category:Chemical articles with multiple compound IDs]]
+
|3=[[Category:Chemical articles with multiple compound IDs|C]]
|4=[[Category:Chemical articles with multiple compound IDs]]
+
|4=[[Category:Chemical articles with multiple compound IDs|D]]
|5=[[Category:Chemical articles with multiple compound IDs]]
+
|5=[[Category:Chemical articles with multiple compound IDs|E]]
|6=[[Category:Chemical articles with multiple compound IDs]]
+
|6=[[Category:Chemical articles with multiple compound IDs|F]]
|#default=TEST max id count: {{#invoke:math|max|-1 |{{{_countCASNo|0}}} |{{{_countPubChemCID|0}}} |{{{_countChemSpiderID|0}}} |{{{_countChEBI|0}}} |{{{_countInChI|0}}} |{{{_countInChIKey|0}}} |{{{_countSMILES|0}}} }}<!-- other/err = no tracking -->
+
|#default=<!-- other/err = no tracking -->
 
}}<!--
 
}}<!--
  
Line 16: Line 16:
 
|<!-- multiple IDs. Check: has indexes? (index_comments are ignored): -->{{#ifexpr:{{{_countIndex_label|-1}}}<=0
 
|<!-- multiple IDs. Check: has indexes? (index_comments are ignored): -->{{#ifexpr:{{{_countIndex_label|-1}}}<=0
 
|[[Category:Multiple chemicals in an infobox that need indexing]]
 
|[[Category:Multiple chemicals in an infobox that need indexing]]
|[[Category:Chemicals using indexlabels]]<!-- need to cat? -->}}}}<!--
+
|[[Category:Chemicals using indexlabels]]<!-- complementary cat -->}}}}<!--
  
 
  NONE: Options 'none'
 
  NONE: Options 'none'
Line 28: Line 28:
 
|0=[[Category:Chemical articles without CAS registry number]]
 
|0=[[Category:Chemical articles without CAS registry number]]
 
|1=
 
|1=
|2=[[Category:Chemical articles with multiple CAS registry numbers]]
+
|2=[[Category:Chemical articles with multiple CAS registry numbers|B]]
|3=[[Category:Chemical articles with multiple CAS registry numbers]]
+
|3=[[Category:Chemical articles with multiple CAS registry numbers|C]]
|4=[[Category:Chemical articles with multiple CAS registry numbers]]
+
|4=[[Category:Chemical articles with multiple CAS registry numbers|D]]
|5=[[Category:Chemical articles with multiple CAS registry numbers]]
+
|5=[[Category:Chemical articles with multiple CAS registry numbers|E]]
|6=[[Category:Chemical articles with multiple CAS registry numbers]]
+
|6=[[Category:Chemical articles with multiple CAS registry numbers|F]]
 
|#default=<!-- other/err = no tracking -->
 
|#default=<!-- other/err = no tracking -->
 
}}<!--
 
}}<!--
Line 40: Line 40:
 
|0=[[Category:Chemicals without a PubChem CID]]<!-- new. drugbox to follow. Mar 2017 -->
 
|0=[[Category:Chemicals without a PubChem CID]]<!-- new. drugbox to follow. Mar 2017 -->
 
|1=
 
|1=
|2=[[Category:Chemical articles with multiple PubChem CIDs]]
+
|2=[[Category:Chemical articles with multiple PubChem CIDs|B]]
|3=[[Category:Chemical articles with multiple PubChem CIDs]]
+
|3=[[Category:Chemical articles with multiple PubChem CIDs|C]]
|4=[[Category:Chemical articles with multiple PubChem CIDs]]
+
|4=[[Category:Chemical articles with multiple PubChem CIDs|D]]
|5=[[Category:Chemical articles with multiple PubChem CIDs]]
+
|5=[[Category:Chemical articles with multiple PubChem CIDs|E]]
|6=[[Category:Chemical articles with multiple PubChem CIDs]]
+
|6=[[Category:Chemical articles with multiple PubChem CIDs|F]]
 
|#default=<!-- other/err = no tracking -->
 
|#default=<!-- other/err = no tracking -->
 
}}<!--
 
}}<!--
Line 51: Line 51:
 
-->{{#switch:{{{_countChEBI|-1}}}
 
-->{{#switch:{{{_countChEBI|-1}}}
 
|0|1=
 
|0|1=
|2=[[Category:Chemical articles with multiple ChEBIs]]
+
|2=[[Category:Chemical articles with multiple ChEBIs|B]]
|3=[[Category:Chemical articles with multiple ChEBIs]]
+
|3=[[Category:Chemical articles with multiple ChEBIs|C]]
|4=[[Category:Chemical articles with multiple ChEBIs]]
+
|4=[[Category:Chemical articles with multiple ChEBIs|D]]
|5=[[Category:Chemical articles with multiple ChEBIs]]
+
|5=[[Category:Chemical articles with multiple ChEBIs|E]]
|6=[[Category:Chemical articles with multiple ChEBIs]]
+
|6=[[Category:Chemical articles with multiple ChEBIs|F]]
 
|#default=<!-- other/err = no tracking -->
 
|#default=<!-- other/err = no tracking -->
 
}}<!--
 
}}<!--
Line 65: Line 65:
 
|#default=
 
|#default=
 
}}<!--
 
}}<!--
 
  
 
  CHEMSPIDER
 
  CHEMSPIDER
Line 93: Line 92:
 
-->{{#if:{{{_hasQID|}}}|[[Category:Chemicals having QID set]]}}<!--
 
-->{{#if:{{{_hasQID|}}}|[[Category:Chemicals having QID set]]}}<!--
 
-->{{#ifexpr:{{{_countQIDindexed|0}}}>0 |[[Category:Chemicals (indexed) having QID set]]}}<!--
 
-->{{#ifexpr:{{{_countQIDindexed|0}}}>0 |[[Category:Chemicals (indexed) having QID set]]}}<!--
 
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>
 
--><noinclude>{{documentation}}</noinclude>

Latest revision as of 20:15, 19 March 2017