Template:Bubblebar/doc
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
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.