Difference between revisions of "Template:Chembox headerbar"

From blackwiki
Jump to navigation Jump to search
imported>MusikAnimal
m (Protected "Template:Chembox headerbar": Highly visible template ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
imported>DePiep
(Minor adjustments; improve formatting; use parameter check. See Talk)
Line 1: Line 1:
! colspan=2 style="background:#f8eaba; text-align:center;" {{!}} {{trim|1={{{header|}}}<!--
+
! colspan=2 style="background:#f8eaba; text-align:center;" {{!}}<!--
-->{{main other |{{{addcats|}}} |{{{addcats_TEST|}}}}}<!-- see documentation: do not pollute article categories with test pages. -->}}
+
-->{{trim|1={{{header|}}}}}<!--
 +
-->{{trim|1={{main other|1={{{addcats|}}}}}}}<!--
 +
-->{{trim|1={{{templatepar|}}}}}
  
|-<noinclude>
+
|-<!--
{{documentation}}
 
  
</noinclude>
+
--><noinclude>{{documentation}}</noinclude>

Revision as of 11:48, 31 October 2015

! colspan=2 style="background:#f8eaba; text-align:center;" |

|-

Template documentation[view] [edit] [history] [purge]

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]]}}