Template:Icon: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[ | <includeonly>{{#if:{{{smallicon|}}}|[[File:{{{1|}}} Icon.png|20x20px|link={{#if:{{{link|}}}|{{{link|}}}|{{{1|}}}}}]]|[[File:{{{1|}}} Icon.png|link={{#if:{{{link|}}}|{{{link|}}}|{{{1|}}}}}]]}}</includeonly><noinclude>{{Documentation}}[[Category:Wiki Templates]]</noinclude> | ||
= | |||
{{ | |||
{{ | |||
{{ | |||
</ | |||
{{ | |||
[[Category:Wiki | |||
</noinclude> |
Revision as of 11:07, 11 April 2015
Template Documentation: | |_}}/Doc?action=edit Edit Documentation |
---|
Syntax
{{Icon|<name>}} {{Icon|<name>|link=<page name>}}
Usage
Enforces Naming Conventions, sets the Icon popup caption to the item name rather than the full item name, and links to the item's article page. A link to a specific page other than the icon name may be specified using the optional "link" parameter.
For example:
{{Icon|Pyreal Mote}}
displays as:
Use smallicon parameter to display a smaller icon. For example:
{{Icon|smallicon=true|Pyreal Mote}}
displays as:
See Also
- For a bulleted list item showing the icon and a text link use {{Icon Link}}.
- For an item tooltip link, use {{Itemlink}}.