Template:Icon Link: Difference between revisions
From Drunkapedia
imported>Tlosk (added optional link parameter if the article link differs from the icon name) |
imported>Arkalor No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[ | <includeonly>[[File:{{{1|}}} Icon.png|link=]] [[{{{1|}}}|<span class="ajaxttlink">{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}</span>]]</includeonly><noinclude>[[Category:Wiki Templates]]{{Documentation}}</noinclude> | ||
[[Category:Wiki | |||
</noinclude> |
Latest revision as of 16:39, 26 May 2015
Template Documentation: | Link| |_}}/Doc?action=edit Edit Documentation |
---|
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: