Template:Icon Link/Doc: Difference between revisions
From Drunkapedia
imported>Tlosk (Created page with '{{Related|Wiki Templates|{{mtl|Icon}}|{{mtl|Icon Bullet}}}} == Syntax == <pre> {{Icon Link|<item name>}} </pre> == Usage == Displays the icon and link for an item. For example:…') |
imported>Tlosk No edit summary |
||
Line 5: | Line 5: | ||
</pre> | </pre> | ||
<pre> | |||
{{Icon Link|<icon name>|link=<link name>}} | |||
</pre> | |||
== Usage == | == Usage == | ||
Displays the icon and link for an item. | Displays the icon and link for an item. | ||
Line 17: | Line 20: | ||
{{Icon Link|Pyreal Mote}} | {{Icon Link|Pyreal Mote}} | ||
<noinclude> | |||
You may optionally specify a link parameter if the article you want to link to is different than the icon image you want to use. This means you don't have to upload a duplicate image with the same name as the article if you don't wish to. | |||
For example, while using the nugget icon both the image and the wiki link take you to Atlan Weapons: | |||
<pre> | |||
{{Icon Link|Pyreal Nugget|link=Atlan Weapons}} | |||
</pre> | |||
displays as: | |||
{{Icon Link|Pyreal Nugget|link=Atlan Weapons}} | |||
<noinclude> | <noinclude> | ||
[[Category:Template Documentation]] | [[Category:Template Documentation]] | ||
</noinclude> | </noinclude> |
Revision as of 19:30, 8 April 2010
Related topics: Wiki Templates, {{Icon}}, {{Icon Bullet}}
Syntax
{{Icon Link|<item name>}}
{{Icon Link|<icon name>|link=<link name>}}
Usage
Displays the icon and link for an item.
For example:
{{Icon Link|Pyreal Mote}}
displays as:
You may optionally specify a link parameter if the article you want to link to is different than the icon image you want to use. This means you don't have to upload a duplicate image with the same name as the article if you don't wish to.
For example, while using the nugget icon both the image and the wiki link take you to Atlan Weapons:
{{Icon Link|Pyreal Nugget|link=Atlan Weapons}}
displays as: