Template:GCIcon/pos/doc
< Template:GCIcon | pos
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 |
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.