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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(Created page with '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 setti...')
 
imported>Andrybak
m (fix category wikilink)
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{Documentation subpage}}
 
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.
 
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:
+
Difference with live, when developing:
Developing:
+
* In {{tlf|Chembox Identifers/sandbox}}, set
* {{tlf|Chembox Identifers/sandbox}}, set {{para|addTESTdata|Chembox parametercheck/test}}, {{addMAINdata|<blank>}}.
+
:{{para|addTESTdata|Chembox parametercheck/test}}
:In this /test:
+
:{{para|addMAINdata|<blank>}}
* Set <nowiki>{{main other||2=(all categories to test)}}</nowiki>
+
::This sets  <nowiki>{{main other|1=|2=(all categories to test)}}</nowiki> for all returned input ({{tlf|Chembox headerbar}})
* Set <nowiki>[[COLON:Category:Category name]]</nowiki> (show not categorise)
 
* Optionally, set <nowiki>[[COLON:Category:Category name|Label To Show]]</nowiki> (shows wl label).
 
 
 
==See also==
 
* {{t links|Chembox parametercheck|sandboxlinks=yes}}
 
 
 
* {{t links|Chembox Identifiers|sandboxlinks=yes}}
 
  
{{Documentation subpage}}
+
* In /test:
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
+
: Set <nowiki>[[COLON:Category:Category name]]</nowiki> (do show not categorise; required to not pollute the categories with testpages)
== Usage ==
+
: Format /test visuals, eg by making it a collapsible list.
 +
: Optionally, set <nowiki>[[COLON:Category:Category name|Label To Show]]</nowiki> (shows wl label).
  
 +
===Diff===
 +
* {{DiffPages|page2=Template:Chembox parametercheck/sandbox|page1=Template:Chembox parametercheck/test|listpages=yes}}
 +
* {{DiffPages|page2=Template:Chembox parametercheck|page1=Template:Chembox parametercheck/test|listpages=yes}}
  
 +
===See also===
 +
* [[:Category:Wikipedia formatting and function templates]]
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
+
[[Category:Subtemplates of chembox in development]]
  
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 20:43, 17 April 2020

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