Wynncraft Wiki
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

4

Description

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

{{WynnIcon/pos|itemname}}

Examples

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