Template:Icon Link: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
Created page with '<includeonly>[[Image:{{{1|}}} Icon.png|link={{{1|}}}]] [[{{{1|}}}]]</includeonly><noinclude> {{Documentation}} Category:Wiki Template </noinclude>'
 
Created page with "<includeonly>[[Image:{{{1|}}} Icon.png|link={{#ifeq:{{{link|}}}||{{{1|}}}|{{{link|}}}}}]] [[{{#ifeq:{{{link|}}}||{{{1|}}}|{{{link|}}}}}]]</includeonly><noinclude> {{Documentation}} Category:Wiki Template </noinclude>"
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>[[Image:{{{1|}}} Icon.png|link={{{1|}}}]] [[{{{1|}}}]]</includeonly><noinclude>
<includeonly>[[Image:{{{1|}}} Icon.png|link={{#ifeq:{{{link|}}}||{{{1|}}}|{{{link|}}}}}]] [[{{#ifeq:{{{link|}}}||{{{1|}}}|{{{link|}}}}}]]</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Wiki Template]]
[[Category:Wiki Template]]
</noinclude>
</noinclude>

Latest revision as of 03:08, 17 January 2024

Template Documentation: 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:

Atlan Weapons