Template:Icon Bullet: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
Created page with '<includeonly>* [[Image:{{{1|}}} Icon.png|link={{{1|Icon Needed}}}|{{{1|}}}|alt={{{1|}}}]] [[{{{1|}}}]]</includeonly><noinclude> {{Related|Wiki Templates}} == Usage == List bullet...'
 
imported>Tlosk
No edit summary
 
(3 intermediate revisions by the same user not shown)
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:{{{link|}}}||{{{1|Icon Needed}}}|{{{link|}}}}}]] [[{{#ifeq:{{{link|}}}||{{{1|Icon Needed}}}|{{{link|}}}}}]]</includeonly><noinclude>
{{Related|Wiki Templates}}
{{Related|Wiki Templates|{{mtl|Icon}}}}
== Syntax ==
<pre>
{{Icon Bullet|<item name>}}
 
{{Icon Bullet|<item name>|link=<page name>}}
</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.
<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 "link" parameter.
 
If an icon isn't available, or to display the icon alone (no bullet and no text link, use {{tl|Icon}}.


For example:
For example:
Line 10: Line 21:
{{Icon Bullet|Pyreal Sliver}}
{{Icon Bullet|Pyreal Sliver}}
{{Icon Bullet|Pyreal Nugget}}
{{Icon Bullet|Pyreal Nugget}}
{{Icon Bullet|Pyreal Bar|link=Trophies by Creature/Golem}}
</pre>
</pre>


Line 17: Line 29:
{{Icon Bullet|Pyreal Sliver}}
{{Icon Bullet|Pyreal Sliver}}
{{Icon Bullet|Pyreal Nugget}}
{{Icon Bullet|Pyreal Nugget}}
{{Icon Bullet|Pyreal Bar|link=Trophies by Creature/Golem}}


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

Latest revision as of 01:55, 22 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: