Template:Icon Link: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
(Created page with '<includeonly>[[Image:{{{1|}}} Icon.png|link={{{1|}}}]] [[{{{1|}}}]]</includeonly><noinclude> {{Documentation}} Category:Wiki Template </noinclude>')
 
imported>Arkalor
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>[[Image:{{{1|}}} Icon.png|link={{{1|}}}]] [[{{{1|}}}]]</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 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:

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