Wynncraft Wiki
(Updated with more info and image)
(→‎Sprite Grid: Fixed typo)
Line 9: Line 9:
 
==Sprite Grid==
 
==Sprite Grid==
 
This template uses the following sprite grid:
 
This template uses the following sprite grid:
  +
 
[[File:WynnIconCSS.png|360px]]
 
[[File:WynnIconCSS.png|360px]]
   

Revision as of 15:24, 27 August 2014

Description

The WynnIcon template is a powerful tool for wiki editors. It allows the quick and easy insertion of an WynnCraft 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

The list of items in the WynnIcon/pos template is still incomplete. I'll update this list as I go along, but the majority of icons are now done.

Sprite Grid

This template uses the following sprite grid:

WynnIconCSS

Usage

{{WynnIcon|itemname}} {{WynnIcon|position_number}}

Examples

Usage Returns
{{WynnIcon|diamondtunic}}
{{WynnIcon|Diamond Tunic}}
{{WynnIcon|diamond_tunic}}
{{WynnIcon|24}}
{{WynnIcon|bow}}
{{WynnIcon|Ghost Cap}}
{{WynnIcon|Mashed Insect}}
{{WynnIcon|unrecognised_text_here}}


Support Templates

Template Description
WynnIcon/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