Join The Fan Lab, a private Fandom research community for users in the US and UK where you will be asked to share your opinions on all things gaming and entertainment! Click here to see if you qualify

Template:GCIcon/pos

From Wynncraft Wiki
Jump to: navigation, search

4

Description[edit source]

GCIcon/pos is a support template for the GCIcon 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 4 (the last icon on the grid).

Usage[edit source]

{{WynnIcon/pos|itemname}}

Examples[edit source]

Usage Returns
{{GCIcon/pos|2}} 2
{{GCIcon/pos|330}} 2
{{GCIcon/pos|330GC}} 2
{{GCIcon/pos|900GC}} 3
{{GCIcon/pos|unrecognised_text_here}} 4