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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 94: Line 94:
 
-->|23={{#if:{{{_hasKEGG|unk}}}      ||[[:Category:Articles without KEGG source]]}}<!--
 
-->|23={{#if:{{{_hasKEGG|unk}}}      ||[[:Category:Articles without KEGG source]]}}<!--
 
-->|24={{#if:{{{_hasUNII|unk}}}      ||[[:Category:Articles without UNII source]]}}<!--
 
-->|24={{#if:{{{_hasUNII|unk}}}      ||[[:Category:Articles without UNII source]]}}<!--
 +
-->|24={{#if:{{{_hasStdInChI|unk}}}{{#ifexpr:{{{_countInChI|0}}}<=0|yes|}} }}      ||[[:Category:Articles without InChI source]]}}<!--
  
 
  check if any data to be shown (else: idle Identifiers header)
 
  check if any data to be shown (else: idle Identifiers header)

Revision as of 14:50, 7 March 2017

|28=|30=|31=|32=}}

Template documentation[view] [edit] [history] [purge]

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

See also