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

 Actions

Template

I

From Dragon Mania Legends 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}}

Template parameters

ParameterDescriptionTypeStatus
Icon Name1

Enter the Icon Name (without the word "Icon", see Category:Images:Icons for a list of available icons/names)

Example
Attack
Stringrequired
Link Display / link override2

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

Example
i
Stringsuggested
Size / linking target3

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

Default
20
Example
30
Stringsuggested
Icon Width in case of link override4

If you want to override the default link text, enter the width override here in pixel, otherwise leave this blank for the default size.

Numbersuggested

Examples

  • Link to name from Icon: {{i|Attack}} Attack Icon.png
  • Same but with different width: {{i|Daily Tasks||30}} Daily Tasks Icon.png
  • No link (just icon): {{i|Bronze League|i}} Bronze League Icon.png
  • Link to category: {{i|Common (classification)|1}} Common (classification) Icon.png
  • Text with link too, width: {{i|Daily Tasks|2|10}} Daily Tasks Daily Tasks Icon.png
  • Text, links to category, width: {{i|Boss Dragons|c|10}} Boss Dragons Boss Dragons Icon.png
  • Same with standard width: {{i|Boss Dragons|c}} Boss Dragons Boss Dragons Icon.png
  • Link override: {{i|Clan Event MVP|link|Clans|30}} Clan Event MVP Icon.png