Changes

Jump to: navigation, search

Template:Item icon/doc

179 bytes added, 15:21, 3 April 2021
m
no edit summary
__NOTOC__
==Description==
This accepts an item name as input and returns the in-game icon. Be aware that icons have various sizesThis is not specifically a function of this template, and but you can then use CSS to easily resize them. 99% of the timeicon to 16x16, you'll want 32x32, or 64x64. If you do NEED 64x64, remember Remember that some icons are not inherently that big so you'll may lose image quality. See , see the 64x64 Ice Core in the Examples section below.
==Syntax==
; <name>
: The name of the item. It must match exactly what is displayed in-game (e.g. "Red Apple", not "Apple" or "red apple")
: If omitted or empty, template returns a blank icon image.
: If no match is found, template returns an error.
== Examples ==
=== Basic Standard Use ===<pre>{{Item icon|Glowy Yellow Crystal}} {{Item icon|Ice Core}} {{Item icon}} {{Item icon|FakeItemReturnsError}}</pre>
{{Item icon|Glowy Yellow Crystal}} {{Item icon|Ice Core}}
 
{{Item icon}} {{Item icon|FakeItemReturnsError}}
1,690
edits

Navigation menu