|
|
| (13 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| <includeonly><span class="growsprite">{{#replace:{{filepath:{{{image|ItemSprites.png}}}}}|latest|latest/window-crop/width/{{{size|32}}}/x-offset/{{#expr:{{{pos|0}}} mod {{{rowlen|32}}} * {{{size|32}}}}}/y-offset/{{#expr:floor({{{pos|0}}}/{{{rowlen|32}}}) * {{{size|32}}}}}/window-width/{{{size|32}}}/window-height/{{{size|32}}}}}&fill=a</span></includeonly> | | <includeonly>{{#invoke:Item|Sprite|{{{1}}}}}</includeonly><noinclude>{{documentation}}</noinclude> |
| Template Documentation [Edit] [History] [Purge]
|
| This is the documentation of Template:Sprite.
|
Description:
Display the corresponding image of an item.
Usage:
{{Sprite|ItemName}}
Example: