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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 2: Line 2:
 
| title      = Test: categories (identifiers)
 
| title      = Test: categories (identifiers)
 
| bullets    = yes
 
| bullets    = yes
| framestyle = background:#baeefa; font-weight:normal; text-align:left; border:none; font-size:90%;
+
| framestyle = background:#baeefa; font-weight:normal; text-align:left; border:none; font-size:90%;<!--
  
 
  Supercountings
 
  Supercountings
  -->|2={{#switch:{{#expr:2}}|[[:Category:Chemical articles with multiple compound IDs]]
+
  -->|2={{#switch:{{#expr:2}}
 
|0=<!-- ~no identifiers... -->
 
|0=<!-- ~no identifiers... -->
 
|1=
 
|1=
|2=[[:Category:Category:Chemical articles with multiple compound IDs|Bmulti]]
+
|2=[[:Category:Chemical articles with multiple compound IDs|Bmulti]]
|3=[[:Category:Category:Chemical articles with multiple compound IDs|Cmulti]]
+
|3=[[:Category:Chemical articles with multiple compound IDs|Cmulti]]
|4=[[:Category:Category:Chemical articles with multiple compound IDs|Dmulti]]
+
|4=[[:Category:Chemical articles with multiple compound IDs|Dmulti]]
|5=[[:Category:Category:Chemical articles with multiple compound IDs|Emulti]]
+
|5=[[:Category:Chemical articles with multiple compound IDs|Emulti]]
|6=[[:Category:Category:Chemical articles with multiple compound IDs|Fmulti]]
+
|6=[[:Category:Chemical articles with multiple compound IDs|Fmulti]]
 
|#default=<!-- other/err = no tracking -->
 
|#default=<!-- other/err = no tracking -->
 
}}
 
}}

Revision as of 14:08, 7 March 2017

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