Template:WeaponIcon/doc

From Wynncraft Wiki
Jump to navigation Jump to search
Template-info.svg 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
{{WeaponIcon|unidentified_unique}}

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.