Difference between revisions of "Template:Chembox parametercheck/sandbox"
Jump to navigation
Jump to search
imported>DePiep (rm COLON:CAT) |
imported>DePiep (rm cat|label) |
||
| Line 1: | Line 1: | ||
<!-- | <!-- | ||
| − | |||
Supercountings (over 7 ID countings) | Supercountings (over 7 ID countings) | ||
-->{{#switch:{{#invoke:math|max|-1 |{{{_countCASNo|0}}} |{{{_countPubChemCID|0}}} |{{{_countChemSpiderID|0}}} |{{{_countChEBI|0}}} |{{{_countInChI|0}}} |{{{_countInChIKey|0}}} |{{{_countSMILES|0}}} }} | -->{{#switch:{{#invoke:math|max|-1 |{{{_countCASNo|0}}} |{{{_countPubChemCID|0}}} |{{{_countChemSpiderID|0}}} |{{{_countChEBI|0}}} |{{{_countInChI|0}}} |{{{_countInChIKey|0}}} |{{{_countSMILES|0}}} }} | ||
|0=<!-- ~no identifiers... --> | |0=<!-- ~no identifiers... --> | ||
|1= | |1= | ||
| − | |2=[[Category:Chemical articles with multiple compound IDs | + | |2=[[Category:Chemical articles with multiple compound IDs]] |
| − | |3=[[Category:Chemical articles with multiple compound IDs | + | |3=[[Category:Chemical articles with multiple compound IDs]] |
| − | |4=[[Category:Chemical articles with multiple compound IDs | + | |4=[[Category:Chemical articles with multiple compound IDs]] |
| − | |5=[[Category:Chemical articles with multiple compound IDs | + | |5=[[Category:Chemical articles with multiple compound IDs]] |
| − | |6=[[Category:Chemical articles with multiple compound IDs | + | |6=[[Category:Chemical articles with multiple compound IDs]] |
|#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=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 --> | ||
}}<!-- | }}<!-- | ||
| Line 16: | Line 15: | ||
-->{{#ifexpr:({{#invoke:math|max|-1 |{{{_countCASNo|0}}} |{{{_countPubChemCID|0}}} |{{{_countChemSpiderID|0}}} |{{{_countChEBI|0}}} |{{{_countInChI|0}}} |{{{_countInChIKey|0}}} |{{{_countSMILES|0}}} }}>1) | -->{{#ifexpr:({{#invoke:math|max|-1 |{{{_countCASNo|0}}} |{{{_countPubChemCID|0}}} |{{{_countChemSpiderID|0}}} |{{{_countChEBI|0}}} |{{{_countInChI|0}}} |{{{_countInChIKey|0}}} |{{{_countSMILES|0}}} }}>1) | ||
|<!-- 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]]<!-- need to cat? -->}}}}<!-- | ||
| Line 29: | 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]] |
| − | |3=[[Category:Chemical articles with multiple CAS registry numbers | + | |3=[[Category:Chemical articles with multiple CAS registry numbers]] |
| − | |4=[[Category:Chemical articles with multiple CAS registry numbers | + | |4=[[Category:Chemical articles with multiple CAS registry numbers]] |
| − | |5=[[Category:Chemical articles with multiple CAS registry numbers | + | |5=[[Category:Chemical articles with multiple CAS registry numbers]] |
| − | |6=[[Category:Chemical articles with multiple CAS registry numbers | + | |6=[[Category:Chemical articles with multiple CAS registry numbers]] |
|#default=<!-- other/err = no tracking --> | |#default=<!-- other/err = no tracking --> | ||
}}<!-- | }}<!-- | ||
| Line 41: | 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]] |
| − | |3=[[Category:Chemical articles with multiple PubChem CIDs | + | |3=[[Category:Chemical articles with multiple PubChem CIDs]] |
| − | |4=[[Category:Chemical articles with multiple PubChem CIDs | + | |4=[[Category:Chemical articles with multiple PubChem CIDs]] |
| − | |5=[[Category:Chemical articles with multiple PubChem CIDs | + | |5=[[Category:Chemical articles with multiple PubChem CIDs]] |
| − | |6=[[Category:Chemical articles with multiple PubChem CIDs | + | |6=[[Category:Chemical articles with multiple PubChem CIDs]] |
|#default=<!-- other/err = no tracking --> | |#default=<!-- other/err = no tracking --> | ||
}}<!-- | }}<!-- | ||
| Line 52: | 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]] |
| − | |3=[[Category:Chemical articles with multiple ChEBIs | + | |3=[[Category:Chemical articles with multiple ChEBIs]] |
| − | |4=[[Category:Chemical articles with multiple ChEBIs | + | |4=[[Category:Chemical articles with multiple ChEBIs]] |
| − | |5=[[Category:Chemical articles with multiple ChEBIs | + | |5=[[Category:Chemical articles with multiple ChEBIs]] |
| − | |6=[[Category:Chemical articles with multiple ChEBIs | + | |6=[[Category:Chemical articles with multiple ChEBIs]] |
|#default=<!-- other/err = no tracking --> | |#default=<!-- other/err = no tracking --> | ||
}}<!-- | }}<!-- | ||
Revision as of 18:33, 18 March 2017
| File:Sandbox.svg | This is the template sandbox page for Template:Chembox parametercheck (diff). |
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
- 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. |