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}}
Parameter | Description | Type | Status | |
---|---|---|---|---|
Dragon name (without the word 'Dragon') | 1 | Add the Dragon's name without the word "Dragon"
| String | required |
Text Placement | 2 | 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.
| String | suggested |
Override Width (number) DELETE if not using | 3 | Add the width in pixels without including "px" or "pixels"
| Unknown | optional |
Tests:
{{di|Earth|1}}
Earth Dragon{{di|Fire|2|25}}
Fire Dragon
{{di|Metal|i|40}}
{{di|Void}}
Void Dragon{{di|Light|px=30}}
Light Dragon{{di|Earth|n|40}}
Earth Dragon
{{di|Metal|in}}