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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(DePiep moved page Template:Chembox parametercheck/sandbox to Template:Chembox parametercheck/test: to disentangle test-catchecking and main/sandbox situations (dev or sandbox main/other situations))
 
imported>DePiep
(synch from live source. see also TEmplate:Chembox parametercheck/test)
Line 1: Line 1:
#REDIRECT [[Template:Chembox parametercheck/test]]
+
{{#ifexpr:{{{_hasCASnone|0}}} = 1 |[[Category:Chemicals that do not have a CAS registry number assigned]] }}<!--
  
{{R from move}}
+
-->{{#ifexpr:{{{_hasPubChemCIDnone|0}}} = 1 |[[Category:Chemicals that do not have a PubChem CID assigned]] }}<!--
 +
 
 +
Counts:
 +
-->{{#switch:{{{_countCASNo|-1}}}
 +
|0=[[Category:Chemical articles without CAS registry number]]
 +
|1=
 +
|2=[[Category:Chemical articles with multiple CAS registry numbers|B]]
 +
|3=[[Category:Chemical articles with multiple CAS registry numbers|C]]
 +
|4=[[Category:Chemical articles with multiple CAS registry numbers|D]]
 +
|5=[[Category:Chemical articles with multiple CAS registry numbers|E]]
 +
|6=[[Category:Chemical articles with multiple CAS registry numbers|F]]
 +
|#default=<!-- other/err = no tracking -->
 +
}}<!--
 +
 
 +
-->{{#switch:{{{_countPubChemCID|-1}}}
 +
|0=[[Category:Chemicals without a PubChem CID]]<!-- NEW; drugbox to follow -->
 +
|1=
 +
|2=[[Category:Chemical articles with multiple PubChem CIDs|B]]
 +
|3=[[Category:Chemical articles with multiple PubChem CIDs|C]]
 +
|4=[[Category:Chemical articles with multiple PubChem CIDs|D]]
 +
|5=[[Category:Chemical articles with multiple PubChem CIDs|E]]
 +
|6=[[Category:Chemical articles with multiple PubChem CIDs|F]]
 +
|#default=<!-- other/err = no tracking -->
 +
}}<!--
 +
 
 +
-->{{#switch:{{{_countChEBI|-1}}}
 +
|0|1=
 +
|2=[[Category:Chemical articles with multiple ChEBIs|B]]
 +
|3=[[Category:Chemical articles with multiple ChEBIs|C]]
 +
|4=[[Category:Chemical articles with multiple ChEBIs|D]]
 +
|5=[[Category:Chemical articles with multiple ChEBIs|E]]
 +
|6=[[Category:Chemical articles with multiple ChEBIs|F]]
 +
|#default=<!-- other/err = no tracking -->
 +
}}<!--
 +
 
 +
positives:
 +
-->{{#if:{{{_hasJmol|}}} |[[Category:Chemical articles having Jmol set]]}}<!--
 +
-->{{#if:{{{_hasChemSpiderIDnone|}}} |[[Category:Chemicals that do not have a ChemSpider ID assigned]]}}<!--
 +
 
 +
negatives:
 +
-->{{#if:{{{_hasChEBIChEMBL|unk}}} ||[[Category:Articles without EBI source]]}}<!--
 +
-->{{#if:{{{_hasChemSpiderID|unk}}} ||[[Category:Chemical pages without ChemSpiderID]]}}<!--
 +
-->{{#if:{{{_hasKEGG|unk}}} ||[[Category:Articles without KEGG source]]}}<!--
 +
-->{{#if:{{{_hasInChI|unk}}} ||[[Category:Articles without InChI source]]}}<!--
 +
-->{{#if:{{{_hasUNII|unk}}} ||[[Category:Articles without UNII source]]}}<!--
 +
 
 +
indexes:
 +
-->{{#if:{{{_hasQID|}}}|[[Category:Chemicals having QID set]]}}<!--
 +
-->{{#ifexpr:{{{_countQIDindexed|0}}}>0 |[[Category:Chemicals (indexed) having QID set]]}}<!--
 +
-->{{#ifexpr:{{{_countIndexlabel|0}}}>0 |[[Category:Chemicals using indexlabels]]}}<!--
 +
 
 +
--><noinclude>{{documentation}}</noinclude>

Revision as of 10:38, 18 March 2017