Difference between revisions of "Template:Chembox parametercheck/sandbox"
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: | ||
| − | # | + | {{#ifexpr:{{{_hasCASnone|0}}} = 1 |[[Category:Chemicals that do not have a CAS registry number assigned]] }}<!-- |
| − | {{ | + | -->{{#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
| 50px | This is the template sandbox page for Template:Chembox parametercheck (diff). |
- See also Chembox parametercheck/test (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) for development & test main/other situations. (eg show :category names in /testcases).
Usage
- CAS registry number
- Category:Chemical articles with multiple CAS registry numbers
- Category:Chemicals that do not have a CAS registry number assigned
- Category:Chemical articles without CAS registry number
| The above documentation is transcluded from Template:Chembox parametercheck/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |