Difference between revisions of "Template:Chembox parametercheck/test"
Jump to navigation
Jump to search
imported>DePiep |
imported>DePiep |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
-->|2={{#switch:{{#invoke:math|max|-1 |{{{_countCASNo|0}}} |{{{_countPubChemCID|0}}} |{{{_countChemSpiderID|0}}} |{{{_countChEBI|0}}} |{{{_countInChI|0}}} |{{{_countInChIKey|0}}} |{{{_countSMILES|0}}} }} | -->|2={{#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|Bmulti]] | |2=[[:Category:Chemical articles with multiple compound IDs|Bmulti]] | ||
|3=[[:Category:Chemical articles with multiple compound IDs|Cmulti]] | |3=[[:Category:Chemical articles with multiple compound IDs|Cmulti]] | ||
| Line 67: | Line 67: | ||
-->|13={{#switch:{{{_countInChI|-1}}} | -->|13={{#switch:{{{_countInChI|-1}}} | ||
|0=[[:Category:Articles without InChI source]] | |0=[[:Category:Articles without InChI source]] | ||
| − | |||
| − | |||
|#default= | |#default= | ||
}}<!-- | }}<!-- | ||
| Line 77: | Line 75: | ||
-->|14={{#switch:{{{_countChemSpiderID|-1}}} | -->|14={{#switch:{{{_countChemSpiderID|-1}}} | ||
|0=[[:Category:Chemical pages without ChemSpiderID]] | |0=[[:Category:Chemical pages without ChemSpiderID]] | ||
| − | |||
| − | |||
| − | |||
|#default= | |#default= | ||
}}<!-- | }}<!-- | ||
SMILES | SMILES | ||
| − | + | Not categorised, cats do not exist. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
JMOL | JMOL | ||
| Line 109: | Line 98: | ||
-->|31={{#ifexpr:{{{_countQIDindexed|0}}}>0 |[[:Category:Chemicals (indexed) having QID set]]}}<!-- | -->|31={{#ifexpr:{{{_countQIDindexed|0}}}>0 |[[:Category:Chemicals (indexed) having QID set]]}}<!-- | ||
| − | -->}}<noinclude>{{documentation}}</noinclude> | + | 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=}} | ||
| + | |||
| + | -->}}<!-- eo collapsible list | ||
| + | |||
| + | --><noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 18:26, 18 March 2017
Use /test for development. To make sure all testsettings show in /testcases, and won't show in mainspace. When going live, copy to regular /sandbox, change settings fit for Mainspace, then copy /sandbox into live.
Difference with live, when developing:
- In {{Chembox Identifers/sandbox}}, set
|addTESTdata=Chembox parametercheck/test|addMAINdata=<blank>- This sets {{main other|1=|2=(all categories to test)}} for all returned input ({{Chembox headerbar}})
- In /test:
- Set [[COLON:Category:Category name]] (do show not categorise; required to not pollute the categories with testpages)
- Format /test visuals, eg by making it a collapsible list.
- Optionally, set [[COLON:Category:Category name|Label To Show]] (shows wl label).
Diff
- compare (pages: Template:Chembox parametercheck/test, Template:Chembox parametercheck/sandbox)
- compare (pages: Template:Chembox parametercheck/test, Template:Chembox parametercheck)
See also
| The above documentation is transcluded from Template:Chembox parametercheck/test/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |