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

 Actions

Template

EStars

From Dragon Mania Legends (DML) Wiki


This template displays the number of given Enchantment Stars in the given color.

Up to 4 stars can be displayed.

In comparison to the {es} template it does NOT display them in superscript.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Color1

Color of the star(s) that should be displayed (NO SPACES).

Default
1
Example
Yellow
Stringrequired
Number2

Number of Stars to display (1-4).

Default
1
Example
2
Numberoptional
Width3

The width of the star(s) to display in pixel (without the "px").

Default
11
Example
15
Numberoptional

Examples


{{eStars |Yellow}} gives "Enchantment Star.png"
{{eStars |Red| 3 | 15}}{{eStars |Gray|1|15}} gives "Enchantment Star (Red).pngEnchantment Star (Red).pngEnchantment Star (Red).pngEnchantment Star (Gray).png"
{{eStars |Rainbow| 5}} gives " 1 2"