Template:Icon Bullet: Difference between revisions
From Drunkapedia
imported>Tlosk No edit summary |
imported>Tlosk No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>* [[Image:{{{1|}}} Icon.png|link={{#ifeq:{{{ | <includeonly>* [[Image:{{{1|}}} Icon.png|link={{#ifeq:{{{link|}}}||{{{1|Icon Needed}}}|{{{link|}}}}}]] [[{{#ifeq:{{{link|}}}||{{{1|Icon Needed}}}|{{{link|}}}}}]]</includeonly><noinclude> | ||
{{Related|Wiki Templates|{{mtl|Icon}}}} | {{Related|Wiki Templates|{{mtl|Icon}}}} | ||
== Syntax == | == Syntax == | ||
Line 5: | Line 5: | ||
{{Icon Bullet|<item name>}} | {{Icon Bullet|<item name>}} | ||
{{Icon Bullet|<item name>| | {{Icon Bullet|<item name>|link=<page name>}} | ||
</pre> | </pre> | ||
Line 11: | Line 11: | ||
<font color=red>Note: This template has been deprecated and you should use {{tl|Icon Link}} instead (including the asterisk for the list bullet in the template creates confusion for new wiki contributors).</font> | <font color=red>Note: This template has been deprecated and you should use {{tl|Icon Link}} instead (including the asterisk for the list bullet in the template creates confusion for new wiki contributors).</font> | ||
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 | 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 "link" 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 21: | Line 21: | ||
{{Icon Bullet|Pyreal Sliver}} | {{Icon Bullet|Pyreal Sliver}} | ||
{{Icon Bullet|Pyreal Nugget}} | {{Icon Bullet|Pyreal Nugget}} | ||
{{Icon Bullet|Pyreal Bar| | {{Icon Bullet|Pyreal Bar|link=Trophies by Creature/Golem}} | ||
</pre> | </pre> | ||
Line 29: | Line 29: | ||
{{Icon Bullet|Pyreal Sliver}} | {{Icon Bullet|Pyreal Sliver}} | ||
{{Icon Bullet|Pyreal Nugget}} | {{Icon Bullet|Pyreal Nugget}} | ||
{{Icon Bullet|Pyreal Bar| | {{Icon Bullet|Pyreal Bar|link=Trophies by Creature/Golem}} | ||
[[Category:Wiki Template]] | [[Category:Wiki Template]] | ||
</noinclude> | </noinclude> |
Revision as of 19:55, 21 April 2010
Related topics: Wiki Templates, {{Icon}}
Syntax
{{Icon Bullet|<item name>}} {{Icon Bullet|<item name>|link=<page name>}}
Usage
Note: This template has been deprecated and you should use {{Icon Link}} instead (including the asterisk for the list bullet in the template creates confusion for new wiki contributors).
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 "link" 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|link=Trophies by Creature/Golem}}
displays as: