Template:Colored bar
Appearance
Template documentation
Produces a colored bar that may then be decorated with text and/or an icon.
Example:
{{Colored bar|title=This is just an example.|title-color=green|link=Cat|style = text-align: center;
font-size:20px;|background=#abcdef|icon=smile.svg}}
A template that produces a coloured bar spanning the width of the page; may have text.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title-background-color | title-background-color | no description | Unknown | optional |
background-color | background-color | no description | Unknown | optional |
Background Color | background | Controls the background color of the entire bar. Use HTML color names, hex color code, or HSL/HSLA.
| Unknown | optional |
style | style | Additional CSS to format.
| Unknown | optional |
icon | icon | Adds a small image to the left of the text. Type the image name without an Image: or File: prefix.
| File | optional |
link | link | Creates a link in the title text. | Unknown | optional |
Text Color | title-color | The color you want the text in the bar to be.
| Unknown | optional |
Text | title | The text you want to appear in the bar, displays in bold text.
| Unknown | optional |