Jump to content

Template:Simple bar/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
{{Simple bar
| number
| max        = 
| width      = 
| height     = 
| text-size  = 
| text-color = 
| bar-color  = 
}}
{{Simple bar|number|width= |height= |max= |text-size= |text-color= |bar-color=}}
Parameter name Description Default Notes
The value to display. 50 REQUIRED
max The maximum value for the bar. 100
width The width of the bar, in pixels. 200
height The height of the bar, in pixels. 15
text-size If set to a non-zero value, it causes the value to be displayed over the bar. The font size of the text is the value of text-size. 0
text-color The color of the text. #000000
bar-color The color of the bar. #ffa500

Example

[edit]

{{Simple bar|500|width=400|max=1000|height=20|text-size=12|text-color=white|bar-color=red}}

500