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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
 
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 +
  
 
== Usage ==
 
== Usage ==
 +
{{para|header|Identifiers}} (header text)
 +
 +
{{para|addcats}} allows adding a maintenance category. Usually checks a condition. Will only work in mainspace.
 +
<pre>
 +
|addcats = <nowiki>{{#if:{{{OldParameter|}}}|[[Category:Bad parameter used]]}}</nowiki>
 +
</pre>
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
[[Category:Chembox templates|0]]
+
[[Category:Chembox templates|{{PAGENAME}}]]
  
 
}}</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]]}}