(added optional link parameter if the article link differs from the icon name)
No edit summary
 
Line 1: Line 1:
<includeonly>[[Image:{{{1|}}} Icon.png|link={{#ifeq:{{{link|}}}||{{{1|}}}|{{{link|}}}}}]] [[{{#ifeq:{{{link|}}}||{{{1|}}}|{{{link|}}}}}]]</includeonly><noinclude>
<includeonly>[[File:{{{1|}}} Icon.png|link=]] [[{{{1|}}}|<span class="ajaxttlink">{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}</span>]]</includeonly><noinclude>[[Category:Wiki Templates]]{{Documentation}}</noinclude>
{{Documentation}}
[[Category:Wiki Template]]
</noinclude>

Latest revision as of 22:39, 26 May 2015

Template Documentation: Link| |_}}/Doc?action=edit Edit Documentation

Related topics: Wiki Templates, {{Icon}}, {{Icon Bullet}}

Syntax Edit

{{Icon Link|<item name>}}
{{Icon Link|<icon name>|link=<link name>}}

Usage Edit

Displays the icon and link for an item.

For example:

{{Icon Link|Pyreal Mote}}

displays as:

Pyreal Mote


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:

Pyreal Nugget