Difference between revisions of "Template:Item icon"
Jump to navigation
Jump to search
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[File:{{{icon|{{{1|Missing}}}.png}}}| | + | <includeonly><span style="background-color:#2D2136;display:inline-block;width:32px;height:32px">[[File:{{#replace:{{{icon|{{{1|Missing}}}.png}}}|File:|}}|32px|link={{{link|{{{1|none}}}}}}]]</span> [[{{{1}}}|{{{2|{{{1}}}}}}]]</includeonly><noinclude> |
+ | |||
+ | == Usage == | ||
+ | <pre>{{item icon|<item name>}}</pre> | ||
+ | |||
+ | === Parameters === | ||
+ | ; ''parameter 1'' | ||
+ | : Item to link to | ||
+ | ; ''parameter 2'' | ||
+ | : Link text, defaults to the item name | ||
+ | ; icon | ||
+ | : Icon to use | ||
+ | |||
+ | == Examples == | ||
+ | |||
+ | * {{item icon|Sun Carp}} | ||
+ | * {{item icon|Facemask}} | ||
+ | * {{item icon|Snowflake}} | ||
+ | |||
+ | </noinclude> |