Wynncraft Wiki
m
m (moved items previously on "beetroot seeds" to "melon seeds")
Line 137: Line 137:
 
|zhight money
 
|zhight money
 
|seeds=61
 
|seeds=61
|decay grain
 
|decay grains
 
|sorghum grain
 
|sorghum grains
 
|dernic grain
 
|dernic grains
 
|brown grain
 
|brown grains
 
|paralyzing spores
 
|toxic spores
 
 
|reptile scales
 
|reptile scales
 
|beetroot seeds=62
 
|beetroot seeds=62
Line 165: Line 155:
 
|fungi spores
 
|fungi spores
 
|pumpkin seeds=63
 
|pumpkin seeds=63
 
|decay grain
 
|decay grains
 
|sorghum grain
 
|sorghum grains
 
|dernic grain
 
|dernic grains
 
|brown grain
 
|brown grains
 
|paralyzing spores
 
|toxic spores
 
|melon seeds=64
 
|melon seeds=64
 
|archaic medallion
 
|archaic medallion

Revision as of 14:39, 27 July 2021

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