Difference between revisions of "Template:Chembox headerbar/doc"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(Created page with '{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> == Usage == <includeonly>{{#ifeq:{{SUBPAGENAME}}|san...')
 
imported>DePiep
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 +
  
 
== Usage ==
 
== Usage ==
 +
{{para|header|Identifiers}} (header text)
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
{{para|addcats}} allows adding a maintenance category. Usually checks a condition. Will only work in mainspace.
<!-- Categories go here, and interwikis go in Wikidata -->
+
<pre>
[[Category:Chembox templates|header]]
+
|addcats = <nowiki>{{#if:{{{OldParameter|}}}|[[Category:Bad parameter used]]}}</nowiki>
[[Category:WikiProject Chemicals]]
+
</pre>
  
[[ar:قالب:Chembox header]]
+
<includeonly>{{sandbox other||
[[br:Patrom:Boestkim penn]]
+
[[Category:Chembox templates|{{PAGENAME}}]]
[[hr:Predložak:Chembox header]]
 
[[ml:ഫലകം:Chembox header]]
 
[[nl:Sjabloon:Chembox header]]
 
[[sl:Predloga:Začetek kemijskega infopolja]]
 
[[zh:Template:Chembox header]]
 
  
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 22:02, 8 November 2019


Usage

|header=Identifiers (header text)

|addcats= allows adding a maintenance category. Usually checks a condition. Will only work in mainspace.

|addcats = {{#if:{{{OldParameter|}}}|[[Category:Bad parameter used]]}}