Wynncraft Wiki
Advertisement

Description[]

The GCIcon template allows the quick and easy insertion of a GC icon onto a page just by specifying it's name.

If a name doesn't work, you can specify the position number, but this is not recommended, as the image may change. It is better to look up your item in the WynnIcon/pos list, and check the spelling of the name.

NOTE[]

Following any update to the CSS icon grid, it may take a up to a couple of days for the cached image to become updated, which can cause errors on pages that use this, especially if the icon grid size was changed. If you see errors, please be patient, and they should resolve themselves in a day or two... Note that when editing a page, the 'Preview' will display with the latest version of the image, even when the page doesn't.

Sprite Grid[]

This template uses the following sprite grid:

GCIcon Sprites

Usage[]

{{GCIcon|itemname}}
{{GCIcon|position_number}}

Examples[]

Usage Returns
{{GCIcon|100}}
{{GCIcon|100GC}}
{{GCIcon|1}}
{{GCIcon|330GC}}
{{GCIcon|900GC}}
{{GCIcon|1600GC}}
{{GCIcon|unrecognised_text_here}}

Support Templates[]

Template Description
GCIcon/pos Takes the item name, and returns it's position value on the grid.
Sprite Outputs the actual sprite image
Sprite/pos Converts the position number to co-ordinates and outputs them
FileUrl Allows the sprite grid to be used in CSS
Advertisement