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

 Actions

Template

Di

From Dragon Mania Legends Wiki

[[{{{1}}} Dragon]] [[File:{{{1}}} Dragon Icon.png|22px|link={{{1}}} Dragon]]

Inserts a dragon icon (di) either after or before a text link to its dragon page, or just as an icon linked to its dragon page. Icons have a default size of 22px. Syntax examples: {{di|Earth|1}}, {{di|Fire|2|25}}, {{di|Metal|i|40}}, {{di|Void}}, {{di|Void|i}}

Template parameters

ParameterDescriptionTypeStatus
Dragon name (without the word 'Dragon')1

Add the Dragon's name without the word "Dragon"

Example
Fairy
Stringrequired
Text Placement2

Choose the text placement. Allowed values: 1, 2, i, (none). 1=text first. 2=text second, i=icon-only.

Default
(none, which places text in 1st position, icon 2nd)
Example
i
Stringsuggested
Override Width (number) DELETE if not using3

Add the width in pixels without including "px" or "pixels"

Default
22
Example
30
Unknownoptional

Tests:

Earth Dragon Earth Dragon Icon.png
Fire Dragon Icon.png Fire Dragon
Metal Dragon Icon.png
Void Dragon Void Dragon Icon.png
Light Dragon Light Dragon Icon.png