Plantilla:Infobox/Meter

De Inkipedia
< Plantilla:Infobox
Revisión del 23:49 20 ago 2017 de en>GuyPerfect (Adjusting default behavior of contents)

InfoboxMeter.svg InfoboxMeter.svg InfoboxMeter.svg

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 192, 192, 192, 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