Template:Box-header
{{{title}}}
Template documentation (for the above template, sometimes hidden or invisible)
Subpages of this template:
{{Box-header}} creates a colored second-level heading surrounded by a bordered column-width box. It is primarily used in timeline pages (Category:Years).
Usage
{{Box-header | title = | titleforeground = | titlebackground = | titleborder = | class = }}
- title (required)
- The heading's text.
- titleforeground (optional)
- The heading text's color, as a CSS color. Defaults to black (#000000).
- titlebackground (optional)
- The box's background color, as a CSS color. Defaults to gray (#bcbcbc).
- titleborder or border (optional)
- The box's border color, as a CSS color. Defaults to gray (#ababab).
- class (optional)
- Any additional CSS classes to apply to the box. The box-header class is always applied.
Example
{{Box-header | title = This year in politics | titleborder = #fa9223 | titleforeground = #c7741c | titlebackground = #ffcc96 | class = bh-politics }}