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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(→‎See also: not here)
imported>DePiep
(oops)
Line 4: Line 4:
  
 
== Usage ==
 
== Usage ==
1. Call from section template
+
{{para|header|Identifiers}} (header text)
  
2. Only call when there is a data
+
{{para|addcats}} allows adding a maintenance category. Usually checks a condition. Will only work in mainspace.
 
+
<pre>
3. If called , subHeader will wshow (no more checls)
+
|addcats = <nowiki>{{#if:{{{OldParameter|}}}|[[Category:Bad parameter used]]}}</nowiki>
 
+
</pre>
4. Eachdatarow: nodata -- no show.
 
 
 
5. To check: no ghost refs
 
 
 
==See also==
 
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
[[Category:Chembox templates]]
+
[[Category:Chembox templates|{{PAGENAME}}]]
  
 
}}</includeonly>
 
}}</includeonly>

Revision as of 21:57, 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]]}}