Difference between revisions of "Template:WynnIcon/pos"

From Wynncraft Wiki
Jump to: navigation, search
m (added some items)
 
Line 163: Line 163:
 
|pumpkin seeds=63
 
|pumpkin seeds=63
 
|melon seeds=64
 
|melon seeds=64
  +
|archaic medallion
 
|ender pearl=65
 
|ender pearl=65
 
|ender eye
 
|ender eye
Line 247: Line 248:
 
|corrupted ichor
 
|corrupted ichor
 
|cursed venom sac
 
|cursed venom sac
  +
|ancient heart
 
|fermented spider eye=117
 
|fermented spider eye=117
 
|active fireball
 
|active fireball

Latest revision as of 01:41, 20 October 2020

Description

WynnIcon/pos is a support template for the WynnIcon template.

It's job is to simply convert the 'name' of an item into a valid position number on the Sprite Grid PNG.

By default, this template will return 196 (the last icon on the grid).

The parameter should be spelled naturally, i.e. with spaces between words. Capitalization does not matter.

Usage

{{WynnIcon/pos|itemname}}

Examples

Usage Returns
{{WynnIcon/pos|Earth Powder IV}} 2
{{WynnIcon/pos|Yahya's Stained Bowl}} 400
{{WynnIcon/pos|Quest Book}} 15
{{WynnIcon/pos|spawn chicken}} 400
{{WynnIcon/pos|unrecognised_text_here}} 400