Template:I
From Dragon Mania Legends (DML) Wiki
Template documentation |
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this template's documentation. (About template documentation) |
Alias
The following is an alias for this template:
Example(s)
No Links:
Link to:
- Page by icon only:
{{i|Attack}}
- Page by text (in second position):
{{i|Daily Tasks|2}}
Daily Tasks - Page by text (in second position, icon resized):
{{i|Daily Tasks|2|10}}
Daily Tasks - Page, by text (in first position):
{{i|VIP Status|1}}
VIP Status - Category by text only:
{{i|Boss Dragons|c}}
Boss Dragons - Category, by text only, override width:
{{i|Boss Dragons|c|10}}
Boss Dragons - Manual link (page or category, used if icon is named differently than link):
See Also
- Image link templates, for other templates that insert images or images with links.
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}}. This template passes values to Template:Icon.
- {{template|Icon}}
Parameter | Description | Type | Status | |
---|---|---|---|---|
(Icon Name) 1 | 1 | Enter the Icon Name (without the word "Icon", see Category:Images:Icons for a list of available icons/names)
| String | required |
(Override link display) 2 | 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 page text-first, 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 |
(Override, size / link target) 3 | 3 px | 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 |
(Override size if link override) 4 | 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 |