I
From Dragon Mania Legends (DML) Wiki
[[File:{{{1}}} Icon.png|20px|link={{{1}}}]]
Links to an article in the mainspace by its icon. Syntax: {{i|Icon Name (without the word icon)|Autolink to|size|manual link}}. Examples: {{i|Attack}}, {{i|Bronze League||30}}, {{i|Breeding Token|i}}, {{i|Attack|1}}, {{i|Bronze League|2|30}}, {{i|Breeding Token|c|30}}, {{i|Attack|c}}, {{i|Clan Event MVP|link|Clans|30}}
Parameter | Description | Type | Status | |
---|---|---|---|---|
Icon Name | 1 | Enter the Icon Name (without the word "Icon", see Category:Images:Icons for a list of available icons/names)
| String | required |
Link Display / link override | 2 | Enter the value for how you want the link displayed. Allowed Values: (blank), 1, i, 2, c, link. blank = link to a page by icon-only, 1 = link to a category by icon-only, i = display an icon only (no link), 2 = link text to page + icon (at the end), c = link text to category + icon (at the end), link = link to {link} by icon-only
| String | optional |
Size / linking target | 3 | If you want to override the default icon size, enter a size (width in px) to display the icon at (without including the letters px). If you are overriding the automatic linking, enter the link target here
| String | optional |
Icon Width in case of link override | 4 | If you want to override the default link text, enter the width override here in pixel, otherwise leave this blank for the default size. | Number | optional |
Examples
- Link to name from Icon:
{{i|Attack}}
- Same but with different width:
{{i|Daily Tasks||30}}
- No link (just icon):
{{i|Bronze League|i}}
- Link to category:
{{i|Common (classification)|1}}
- Text with link too, width:
{{i|Daily Tasks|2|10}}
Daily Tasks - Text, links to category, width:
{{i|Boss Dragons|c|10}}
Boss Dragons - Same with standard width:
{{i|Boss Dragons|c}}
Boss Dragons - Link override:
{{i|Clan Event MVP|link|Clans|30}}
- Link to a Dragon:
{{i|Earth Dragon}}
- Icon, but no link to a Dragon:
{{i|Earth Dragon|i|30}}