Template:WeaponInfobox
Template Test | |
---|---|
![]() | |
Type | Undefined |
Level | 1 |
Value | 0 Gold |
Rarity | Common |
Stats:
| |
Requirements:
|
Purpose
This infobox is meant to be use in the weapon items pages. It summarizes the basic information about them.
Behavior
It is a very basic template for now. It displays the information passed in its attributes.
However, the image can be found automatically : if a File:<item_name>.png exists in the wiki, it will display it. This behavior can be overstepped by specifying another image in the img field.
Attributes
Followings are all these template's attributes. Use it to change the information displayed in the template.
Basic Attributes
These attributes should be defined for all weapons:
- name : name of the weapon.
- type : Either Sword, Greatsword or Heavy weapon ; the weapon's type.
- level : The weapon's level.
- value : The weapon's worth in Gold.
- rarity : Either Common, Uncommon, Rare or Epic ; the weapon's rarity.
Stats Attributes
These attributes don't have to be all defined. They are used to give the weapon's statistics, so only define the relevant ones depending of the weapon you're working with.
- damage
- max health
- heavy hit
- critical strike chance
- cooldown reduction
- buff power
- defense rating
Requirements Attributes
These attributes are optional. They are used to define the item requirements. Every requirement is connected to one of the player's skills. These attributes are basically "r_nameOfTheSkill" all in lowercase.
- r_strength : defines the Strength requirement of the item.
- r_foraging : defines the Foraging requirement of the item.
- r_fishing
and so on...
This works with the Infobox/Requirements template.
Other Attributes
The following attributes don't have to be defined. They are used to overstep the template normal behaviors or to add information.
- img : The name of the wiki file to use as the image of the weapon.