1,690
edits
Changes
m
Various edits
__NOTOC__
==Description==
This accepts an item name as input and returns the in-game icon. Be aware that icons have various sizes, and you should can use CSS to easily resize them. 99% of the time, you'll want 32x32. If you do NEED 64x64, remember that some icons are not inherently that big so you'll lose image quality. See the Examples section below.
==Syntax==
=== Basic Use ===
<pre>{{Item icon|Glowy Yellow Crystal}} {{Item icon|Ice Core}}</pre>{{Item icon|Glowy Yellow Crystal}} {{Item icon|Ice Core}}
=== Forcing 32x32 size ===
<pre><div span class="extimage32px">{{Item icon||Glowy Yellow Crystal}}</divspan></pre><div span class="extimage32px">{{Item icon|Glowy Yellow Crystal}}</divspan>
=== Forcing 64x64 size ===
<pre><div span class="extimage64px">{{Item icon|Glowy Yellow CrystalIce Core}}</divspan></pre><div span class="extimage64px">{{Item icon|Glowy Yellow CrystalIce Core}}</divspan>