Template:Icon Link/Doc: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:


{{Icon Link|Pyreal Mote}}
{{Icon Link|Pyreal Mote}}
<noinclude>





Latest revision as of 19:32, 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:

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