Difference between revisions of "Template:Chembox headerbar"
Jump to navigation
Jump to search
imported>DePiep (Multiple changes. See Wikipedia_talk:Chemical_infobox#Template edits 7 June 2015) |
imported>DePiep (Adjust formatting and styling. See Wikipedia_talk:Chemical_infobox#Upcoming_presentation_changes) |
||
| Line 1: | Line 1: | ||
| − | ! colspan=2 style="background:#f8eaba | + | ! colspan=2 style="background:#f8eaba; text-align:center;" {{!}} {{trim|1={{{header|}}}<!-- |
| − | -->{{main other |{{{addcats|}}} |{{{addcats_TEST|}}}<!-- see documentation: do not pollute article categories with test pages. -->}} | + | -->{{main other |{{{addcats|}}} |{{{addcats_TEST|}}}}}<!-- see documentation: do not pollute article categories with test pages. -->}} |
| − | + | ||
|-<noinclude> | |-<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 11:13, 23 June 2015
! colspan=2 style="background:#f8eaba; text-align:center;" |
|-
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]]}}
| The above documentation is transcluded from Template:Chembox headerbar/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |