Template:Icon: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
Line 1: Line 1:
<includeonly>[[Image:{{{1|}}} Icon.png|link={{{1|Icon Needed}}}|{{{1|}}}|alt={{{1|}}}]]</includeonly><noinclude>
<includeonly>[[Image:{{{1|}}} Icon.png|link={{#ifeq:{{{alias|}}}||{{{1|Icon Needed}}}|{{{alias|}}}]]</includeonly><noinclude>
{{Related|Wiki Templates|{{mtl|Icon Bullet}}}}
{{Related|Wiki Templates|{{mtl|Icon Bullet}}}}
== Usage ==
== Usage ==

Revision as of 02:31, 5 November 2009

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

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.

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: