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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>Andrybak
m (fix category wikilink)
 
(2 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}}
::{{para|addTESTdata|Chembox parametercheck/test}}
+
:{{para|addMAINdata|<blank>}}
:: {{para|addMAINdata|<blank>}}
+
::This sets  <nowiki>{{main other|1=|2=(all categories to test)}}</nowiki> for all returned input ({{tlf|Chembox headerbar}})
:This sets  <nowiki>{{main other|1=|2=(all categories to test)}}</nowiki> for all returned input ({{tlf|Chembox headerbar}})
 
 
 
In this /test:
 
  
* Set <nowiki>[[COLON:Category:Category name]]</nowiki> (show not categorise; required to not pollute the categories with testpages)
+
* In /test:
* Format /test visuals, eg by making it a collapsible list.
+
: Set <nowiki>[[COLON:Category:Category name]]</nowiki> (do show not categorise; required to not pollute the categories with testpages)
* Optionally, set <nowiki>[[COLON:Category:Category name|Label To Show]]</nowiki> (shows wl label).
+
: 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===
 
===Diff===
Line 19: Line 18:
  
 
===See also===
 
===See also===
* [[Category:Wikipedia formatting and function templates]]
+
* [[:Category:Wikipedia formatting and function templates]]
</noinclude>
 
==See also==
 
* {{t links|Chembox parametercheck|sandboxlinks=yes}}
 
 
 
* {{t links|Chembox Identifiers|sandboxlinks=yes}}
 
 
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Usage ==
 
 
 
 
 
 
<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