Template:Icon: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
Line 5: Line 5:
{{Icon|<name>}}
{{Icon|<name>}}


{{Icon|<name>|alias=<page name>}}
{{Icon|<name>|link=<page name>}}
</pre>
</pre>


== Usage ==
== 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.
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 a bulleted list item showing the icon and a text link use {{tl|Icon Bullet}}.
For a bulleted list item showing the icon and a text link use {{tl|Icon Bullet}}.

Revision as of 19:49, 21 April 2010

Related topics: Wiki Templates, {{Icon Bullet}}

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 a bulleted list item showing the icon and a text link use {{Icon Bullet}}.

For example:

{{Icon|Pyreal Mote}}

displays as:

leave blank for an icon that isn't yet available:

{{Icon|}}

displays as: