Difference between revisions of "Template:Iconbar"
(Initial Paste) |
(Pulled a lang) |
||
Line 39: | Line 39: | ||
[[Category:Image templates|I]] | [[Category:Image templates|I]] | ||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 19:32, 1 July 2018
This template creates a bar made of icons.
{{iconbar |value= |title= |size= |icon_full= |icon_half= |icon_empty= |reverse= }}
Parameter | Function | Default value |
---|---|---|
value |
Integer value between 0 and 20. Half icon = 1, full icon = 2, full icon + half icon = 3 and so on. | 0 |
title |
Mouseover text. If this parameter isn't specified, it falls back to value . |
None |
size |
Width of each icon in CSS units like "px" or "em". | None |
full |
Icon used for even values like 2, 4, 6, etc. | None |
half |
Icon used at the end of the bar for uneven values like 1, 3, 5, etc. | None |
empty |
Icon used if value is 0 | None |
reverse |
Set to 1 to display half images on the left instead of the right | 0 |
See also
The above documentation is transcluded from Template:Iconbar/doc. (edit | history)