Template:Bubblebar
Jump to navigation
Jump to search
{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}
This template creates an bubble bar.
Parameter | Function | Default value |
---|---|---|
1 |
Integer health value between 0 and 32. No bubble = 0, bursting bubble = 1, full bubble = 2, see examples below. | 2 (1 bubble) |
2 |
Width of each icon in CSS units like "px" or "em". | 9px |
Code | Result |
---|---|
{{Bubblebar}} | File:Bubble.png |
{{Bubblebar|0}} | |
{{Bubblebar|1}} | File:Bursting Bubble.png |
{{Bubblebar|2}} | File:Bubble.png |
{{Bubblebar|5}} | File:Bubble.pngFile:Bubble.pngFile:Bursting Bubble.png |
{{Bubblebar|20}} | File:Bubble.pngFile:Bubble.pngFile:Bubble.pngFile:Bubble.pngFile:Bubble.pngFile:Bubble.pngFile:Bubble.pngFile:Bubble.pngFile:Bubble.pngFile:Bubble.png |
{{Bubblebar|10|5px}} | File:Bubble.pngFile:Bubble.pngFile:Bubble.pngFile:Bubble.pngFile:Bubble.png |
{{Bubblebar|7|30px}} | File:Bubble.pngFile:Bubble.pngFile:Bubble.pngFile:Bursting Bubble.png |
See also
The above documentation is transcluded from Template:Bubblebar/doc. (edit | history)