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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
|5=[[Category:Chemical articles with multiple compound IDs|E]]
 
|5=[[Category:Chemical articles with multiple compound IDs|E]]
 
|6=[[Category:Chemical articles with multiple compound IDs|F]]
 
|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 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