No edit summary |
No edit summary |
||
Line 373: | Line 373: | ||
|cobweb |
|cobweb |
||
|web=193 |
|web=193 |
||
+ | |alga |
||
|vines=194 |
|vines=194 |
||
|lily pad=195 |
|lily pad=195 |
Revision as of 23:03, 18 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 |