Template:Infobox Weapon
From Dofus
Infobox Weapon
Contents |
Documentation
Template maintained by User:Cizagna.
This template is an Infobox for weapons.
For other items see.
Parameters
- id
- (Numeric) Used by core Dofus Wiki community users to help track changes as certain items are very similar to others. Ignore if you don't know.
- episode
- (Numeric) Episode from which item is available (for episode-based servers).
- damage
- (Alphanumeric) Effects of the weapon when used in close combat. Every line must start with a *.
- effects
- (Alphanumeric) Effects when wearing. Every line must start with a *.
- conditions
- (Alphanumeric) Requirements to wear the weapon. Every line must start with a *.
-
image - (Alphabetic) (Deprecated - now automatic: template checks whether the image has been uploaded, using a file extension in the following order : SVG->PNG->JPG->GIF)
- level
- (Numeric) Level required to wear the weapon.
- hand
- (Numeric) 1 or 2, according to whether the weapon is one-handed or two-handed.
- type
- (Alphabetic) Type of weapon (also used as a category).
- ap
- (Numeric) AP consumed when the weapon is used in close combat.
- range
- (Numeric) Range of the weapon. Either 1 or a min-max range (e.g. "2-7") if the weapon can shoot from a distance (wands and bows).
- bonus
- (Numeric) Extra damage dealt in case of a Critical hit.
- crit
- (Numeric) Probability of getting a Critical hit. If crit rate is eg. "1/30", put "30".
- fail
- (Numeric) Probability of getting a Critical failure, If crit fail rate is eg. "1/50", put "50".
- value
- (Numeric) Price you'll get for selling the weapon to any NPC with a Sell option. "Kama(s)" is automatically appended.
- weight
- (Numeric) Weight of the weapon. "Pod(s)" is automatically appended.
- description
- (Alphanumeric). Official description of the weapon.
Damage and Effects that are detrimental to the wearer must use the following syntax:
* {{Red|effect}}
- Examples:
* {{Red|+50 [[Air weakness]]}}* {{Red|-50 [[Wisdom]]}}
Usage instructions
Add the following code.
{{Infobox Weapon
|id =
|episode =
|damage =
*
*
|effects =
*
*
* {{Red|}}
|conditions =
*
*
|level =
|hand =
|type =
|ap =
|range =
|bonus =
|crit =
|fail =
|value =
|weight =
|description =
}}
Example
| Code example | Display | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Infobox Weapon
|id =
|episode =
|damage =
* 11~15 ([[Neutral]])
|effects =
* +1 [[AP]]
* +40 [[life]]
* +25 [[Wisdom]]
* +1 [[Critical hit]]s
* {{Red|-40 [[Agility]]}}
|conditions =
* [[Intelligence]] > 60
* [[Vitality]] > 10
* [[Wisdom]] > 10
|level =67
|hand =1
|type =Staff
|ap =3
|range =1
|bonus =10
|crit =30
|fail =30
|value =
|weight =23
|description =Shorten for this example.
}}
|
Infobox Weapon
| ||||||||||||||||||||||||||||||||||||||||
