Template:Infobox/Meter

From Inkipedia, the Splatoon wiki
Revision as of 23:51, 20 August 2017 by GuyPerfect (talk | contribs) (Adjusting darkness again)

Displays a "progress bar" style meter for an infobox.

Parameters

percent Unnamed. The percentage, from 0 to 100, of the meter to be filled up.
contents Unnamed, optional. Content to appear inside the meter. Belongs to the outermost element, overlapping the bar graphic. If absent, the text "percent / 100" will be used.
color Optional. An RGB triplet for the base color to use for formatting. The default value is 0, 153, 255, defined in SiteColor as "Generic".
style Optional. A list of CSS values to apply to the outermost container. By default, the meter takes up 100% of the width of its parent container.

Example

Markup

{{Infobox/Meter
|style = width: 250px;
|color = {{SiteColor|Splatoon 2}}
|55
}}

Output

55 / 100