Following Update 6.2, multiple pages on this site are undergoing changes,
and so some information may be incorrect. Thank you for your patience!

 Actions

Template

Di

From Dragon Mania Legends Wiki

[[{{{1}}} Dragon]] [[File:{{{1}}} Dragon Icon.png|22 px|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. To insert icon and text without a link to the dragon page, use "n". Syntax examples: {{di|Earth|1}}, {{di|Fire|2|25}}, {{di|Metal|i|40}}, {{di|Void}}, {{di|Void|i}}, {{di|Earth|n}}

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, n, in, (none). 1=text first. 2=text second, i=icon-only+link, n=text 2nd, but no link, in=icon-only, no link.

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:

{{di|Earth|1}} Earth Dragon Earth Dragon Icon.png
{{di|Fire|2|25}} Fire Dragon Icon.png Fire Dragon
{{di|Metal|i|40}} Metal Dragon Icon.png
{{di|Void}} Void Dragon Void Dragon Icon.png
{{di|Light|px=30}} Light Dragon Light Dragon Icon.png
{{di|Earth|n|40}} Earth Dragon Icon.png Earth Dragon
{{di|Metal|in}} Metal Dragon Icon.png