Difference between revisions of "Template:Chembox headerbar"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 1: Line 1:
 
! colspan=2 style="background:#f8eaba; border-top:2px solid transparent; border-bottom:2px solid transparent; text-align:center;" {{!}} {{{header|}}}<!--
 
! colspan=2 style="background:#f8eaba; border-top:2px solid transparent; border-bottom:2px solid transparent; text-align:center;" {{!}} {{{header|}}}<!--
-->{{main other |{{{addcats|}}}{{#if:{{{header|}}}||[[Category:Chemical infoboxes with tracked parameters|Q*]]}} }}
+
-->{{main other |{{{addcats|}}} |{{{addcats_TEST|}}}<!-- see documentation: do not pollute article categories with test pages. -->}}
 
<!-- -->
 
<!-- -->
{{!}}-<noinclude>{{documentation}}</noinclude>
+
|-<noinclude>
 +
{{documentation}}
 +
 
 +
</noinclude>

Revision as of 23:45, 7 June 2015

! colspan=2 style="background:#f8eaba; border-top:2px solid transparent; border-bottom:2px solid transparent; text-align:center;" | |-

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