Template:Icon: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk's Bot
No edit summary
imported>Arkalor
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[Image:{{{1|}}} Icon.png|{{{1|Icon Needed}}}|link={{{1|}}}|{{{1|}}}|alt={{{1|}}}]]</includeonly><noinclude>
<includeonly><div class="creatureitems"><span><span>[[{{{1|}}}|<span class="ajaxttlink">&nbsp;&nbsp;&nbsp;&nbsp;</span>]]</span></span>[[File:{{{1|}}} Icon.png]]</div></includeonly><noinclude>[[Category:Wiki Templates]]{{Documentation}}</noinclude>
{{Related|Wiki Templates}}
== 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 example:
 
<pre>
{{Icon|Pyreal Mote}}
</pre>
 
displays as:
 
{{Icon|Pyreal Mote}}
 
[[Category:Wiki Template]]
</noinclude>

Latest revision as of 17:04, 26 May 2015

Template Documentation: |_}}/Doc?action=edit Edit Documentation

Syntax

{{Icon|<name>}}

{{Icon|<name>|link=<page name>}}

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. A link to a specific page other than the icon name may be specified using the optional "link" parameter.

For example:

{{Icon|Pyreal Mote}}

displays as:

Use smallicon parameter to display a smaller icon. For example:

{{Icon|smallicon=true|Pyreal Mote}}

displays as:

See Also