Template:WeaponIcon

From Wynncraft Wiki
Jump to: navigation, search
Template-info.png Documentation

Description

This template displays a 30px icon of the weapon with the given name.

Usage

{{WeaponIcon
| 1 = *
| align =
| link =
}}


Argument Description Default Value
1 * The item name from Template:WeaponIcon/pos
align Changes the vertical alignment of the icon. middle
link Makes the icon into a link to the specified page.

This uses the Template:WeaponIcon/pos to determine the sprite position in the following spritesheet: WeaponSprites.png

Examples

Code Result
{{WeaponIcon|dagger|link=Dodegar's Ultimate Weapon}}
{{WeaponIcon|wand_water3}}
{{WeaponIcon|bow|align=text-top}} text {{WeaponIcon|bow|align=middle}} text {{WeaponIcon|bow|align=text-bottom}
text
text