Please remember to make use of the DML Wiki Manual of Style and Code of Conduct during your stay.

 Actions

Template

Template:CountBar/doc

From Dragon Mania Legends (DML) Wiki

< Template:CountBar
Documentation subpage
View this documentation's related template:
Template:CountBar

Example(s)

  • {{CountBar|Gems}} gives:

Gems Icon.png50+ Button.png

  • This is an inline {{CountBar|Gems}} example, with text. gives:

This is an inline Gems Icon.png50+ Button.png example, with text.

  • {{CountBar|VIP Dragons|10}} gives:

VIP Dragons Icon.png10+ Button.png

  • {{CountBar|Gold}} gives:

Gold Icon.png50+ Button.png

  • {{CountBar|Food}} gives:

Food Icon.png50+ Button.png

  • {{CountBar|Sigil Trinket}} gives:

Sigil Trinket Icon.png50+ Button.png

  • {{CountBar||4|left={{i|Arena Energy|i|16}}|bg=#3787FA|px=8}} gives:

Arena Energy Icon.png4+ Button.png

See Also

Creates an interface counter bar, based on the type specified. For use in-paragraph, not for use in bulleted lists.

Template parameters

ParameterDescriptionTypeStatus
Counter type1

no description

Default
gems
Example
gold
Stringoptional
Counter Value2

no description

Default
50
Example
1.5M
Stringoptional
(Override contents) leftleft

To override left contents (including icon formatting) enter a value.

Stringoptional
(Override contents) rightright

To override right contents (including icon formatting) enter a value.

Default
{{button|+|22}}
Stringoptional
(Override left offset) pxpx

To override left offset, specify a number.

Example
10
Numberoptional
(Override color) bgbg

To override the background color, specify a color name or hex color code.

Example
#CCC
Stringoptional
This Wiki is created by players for other players and is not maintained by, or affiliated with, the game maker (Gameloft).
Cookies help us deliver our services. By using our services, you agree to our use of cookies.