Difference between revisions of "Template:Chembox parametercheck/test"
Jump to navigation
Jump to search
imported>DePiep m (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 |
||
| Line 17: | Line 17: | ||
INDEX_LABEL needed? | INDEX_LABEL needed? | ||
| − | -->{{#ifexpr:({{#invoke:math|max|-1 |{{{_countCASNo|0}}} |{{{_countPubChemCID|0}}} |{{{_countChemSpiderID|0}}} |{{{_countChEBI|0}}} |{{{_countInChI|0}}} |{{{_countInChIKey|0}}} |{{{_countSMILES|0}}} }}>1) | + | -->|3={{#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|needs label_indexes]] | |[[:Category:Multiple chemicals in an infobox that need indexing|needs label_indexes]] | ||
Revision as of 10:58, 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. |