Hearthstone Wiki
(Created page with "<onlyinclude><includeonly>{{#if:{{{1|}}}|[[File:{{{1}}}.png|baseline|{{#if:{{{2|}}}|{{{2}}}|x16px}}|link=]]|}}</includeonly></onlyinclude>{{doc}} [[Category:General wiki templ...")
 
Line 1: Line 1:
<onlyinclude><includeonly>{{#if:{{{1|}}}|[[File:{{{1}}}.png|baseline|{{#if:{{{2|}}}|{{{2}}}|x16px}}|link=]]|}}</includeonly></onlyinclude>{{doc}}
+
<onlyinclude><includeonly>{{#if:{{{1|}}}|[[File:{{{1}}} icon.png|baseline|{{#if:{{{2|}}}|{{{2}}}|x16px}}|link=]]|}}</includeonly></onlyinclude>{{doc}}
 
[[Category:General wiki templates]]
 
[[Category:General wiki templates]]

Revision as of 05:22, 3 April 2013

This template is used for displaying an icon inline. It assumes icons are uploaded in PNG format.

Usage

{{icon|name|optional size|optional link|tooltip}}
  • Name is the filename of the icon. Usually minus the " icon.png" part.
  • An optional size can be provided in standard MediaWiki syntax. Default: 16px

Notes

  • Do not use this template with table templates that involve semantics.