Difference between revisions of "Template:Chembox headerbar"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(Minor adjustments; improve formatting; use parameter check. See Talk)
imported>DePiep
(Chembox: add parameter sets "index_label" and "index_comment", listformatting, tracking, tech improvements. See talk)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
! colspan=2 style="background:#f8eaba; text-align:center;" {{!}}<!--
+
! colspan=2 style="background: #f8eaba; text-align: center;" {{!}}<!--
-->{{trim|1={{{header|}}}}}<!--
+
-->{{trim|1={{{header|}}}{{{ref|}}}}}<!--
-->{{trim|1={{main other|1={{{addcats|}}}}}}}<!--
+
-->{{trim|1={{main other|1={{{addMainCategories|}}} |2={{{addTestCategories|}}} }}}}<!--
 
-->{{trim|1={{{templatepar|}}}}}
 
-->{{trim|1={{{templatepar|}}}}}
  

Latest revision as of 22:07, 19 March 2017

! colspan=2 style="background: #f8eaba; 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]]}}