Template:Icon Bullet: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Arkalor's Bot
(Redirected page to Template:Icon Link)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>* [[Image:{{{1|}}} Icon.png|link={{#ifeq:{{{alias|}}}||{{{1|Icon Needed}}}|{{{alias|}}}}}]] [[{{#ifeq:{{{alias|}}}||{{{1|Icon Needed}}}|{{{alias|}}}}}]]</includeonly><noinclude>
#REDIRECT[[Template:Icon Link]]
{{Related|Wiki Templates|{{mtl|Icon}}}}
== Syntax ==
<pre>
{{Icon Bullet|<item name>}}
 
{{Icon Bullet|<item name>|alias=<page name>}}
</pre>
 
== Usage ==
<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 alias parameter.
 
If an icon isn't available, or to display the icon alone (no bullet and no text link, use {{tl|Icon}}.
 
For example:
 
<pre>
{{Icon Bullet|Pyreal Mote}}
{{Icon Bullet|Pyreal Sliver}}
{{Icon Bullet|Pyreal Nugget}}
{{Icon Bullet|Pyreal Bar|alias=Trophies by Creature/Golem}}
</pre>
 
displays as:
 
{{Icon Bullet|Pyreal Mote}}
{{Icon Bullet|Pyreal Sliver}}
{{Icon Bullet|Pyreal Nugget}}
{{Icon Bullet|Pyreal Bar|alias=Trophies by Creature/Golem}}
 
[[Category:Wiki Template]]
</noinclude>

Latest revision as of 18:26, 10 April 2015

Redirect to: