No edit summary
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>[[Image:{{{1|}}} Icon.png|link={{#ifeq:{{{alias|}}}||{{{1|Icon Needed}}}|{{{alias|}}}}}]]</includeonly><noinclude>
<includeonly>
{{Related|Wiki Templates|{{mtl|Icon Bullet}}}}
[[File:{{{1|}}} Icon.png|32px|alt={{{1|}}}]]
== Syntax ==
</includeonly>
<pre>
<noinclude>
{{Icon|<name>}}
[[Category:Wiki Templates]]
 
{{Documentation}}
{{Icon|<name>|alias=<page name>}}
</pre>
 
== 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 alias parameter.
 
For a bulleted list item showing the icon and a text link use {{tl|Icon Bullet}}.
 
For example:
 
<pre>
{{Icon|Pyreal Mote}}
</pre>
 
displays as:
 
{{Icon|Pyreal Mote}}
 
leave blank for an icon that isn't yet available:
 
<pre>
{{Icon|}}
</pre>
 
displays as:
 
{{Icon|}}
 
[[Category:Wiki Template]]
</noinclude>
</noinclude>

Latest revision as of 03:02, 12 December 2025

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

Syntax Edit

{{Icon|<name>}}

{{Icon|<name>|link=<page name>}}

Usage Edit

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:


Pyreal Mote


Use smallicon parameter to display a smaller icon. For example:

{{Icon|smallicon=true|Pyreal Mote}}

displays as:


Pyreal Mote


See Also Edit