Template:Icon Bullet: 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|}}}]] [[{{{1|}}}]]</includeonly><noinclude>
<includeonly>* [[Image:{{{1|}}} Icon.png|link={{#ifeq:{{{alias|}}}||{{{1|Icon Needed}}}|{{{alias|}}}}}]] [[{{#ifeq:{{{alias|}}}||{{{1|Icon Needed}}}|{{{alias|}}}}}]]</includeonly><noinclude>
{{Related|Wiki Templates|{{mtl|Icon}}}}
{{Related|Wiki Templates|{{mtl|Icon}}}}
== Syntax ==
== Syntax ==
<pre>
<pre>
{{Icon Bullet|<Item Name>}}
{{Icon Bullet|<item name>}}


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


== Usage ==
== Usage ==
List bullet (*) with icon and named link to item. 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.  
List bullet (*) with icon and named link to item. 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.


If an icon isn't available, or to display the icon alone (no bullet and no text link, use {{tl|Icon}}.
If an icon isn't available, or to display the icon alone (no bullet and no text link, use {{tl|Icon}}.
Line 19: Line 19:
{{Icon Bullet|Pyreal Sliver}}
{{Icon Bullet|Pyreal Sliver}}
{{Icon Bullet|Pyreal Nugget}}
{{Icon Bullet|Pyreal Nugget}}
{{Icon Bullet|Pyreal Bar|alias=Trophies by Creature/Golem}}
</pre>
</pre>


Line 26: Line 27:
{{Icon Bullet|Pyreal Sliver}}
{{Icon Bullet|Pyreal Sliver}}
{{Icon Bullet|Pyreal Nugget}}
{{Icon Bullet|Pyreal Nugget}}
{{Icon Bullet|Pyreal Bar|alias=Trophies by Creature/Golem}}


[[Category:Wiki Template]]
[[Category:Wiki Template]]
</noinclude>
</noinclude>

Revision as of 03:52, 5 November 2009

Related topics: Wiki Templates, {{Icon}}

Syntax

{{Icon Bullet|<item name>}}

{{Icon Bullet|<item name>|alias=<page name>}}

Usage

List bullet (*) with icon and named link to item. 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.

If an icon isn't available, or to display the icon alone (no bullet and no text link, use {{Icon}}.

For example:

{{Icon Bullet|Pyreal Mote}}
{{Icon Bullet|Pyreal Sliver}}
{{Icon Bullet|Pyreal Nugget}}
{{Icon Bullet|Pyreal Bar|alias=Trophies by Creature/Golem}}

displays as: