Template:DamageMult/doc

来自Don't Starve Wiki
跳转到导航 跳转到搜索
Description
This template is used to display damage of weapons for specific character (Normal, Wes and Wendy, Wigfrid, Wolfgang)
Syntax
Use the following code as reference when using this template. Note that one does not need all of these parameters in order to use this template.
{{DamageMult
|damage
|note=
|damageAsWes=
|damageAsWigfrid=
|damageAsWolfgang=
}}
Notes
  • If damage is a numeric value the multiplier are compute automaticaly.
  • note is optional
  • damageAsWes, damageAsWigfrid, and damageAsWolfgang overwrite the value computed automatically based on damage.
Examples
  • {{DamageMult|100}} gives
100
(75 Wendy Portrait.png Wes Portrait.png)
(125 Wigfrid Portrait.png)
(50-200 Wolfgang Portrait.png)


  • {{DamageMult|100|note=melee}} gives
100 melee
(75 Wendy Portrait.png Wes Portrait.png)
(125 Wigfrid Portrait.png)
(50-200 Wolfgang Portrait.png)


  • {{DamageMult|50-100|damageAsWigfrid=62.5-125}} gives
50-100
(62.5-125 Wigfrid Portrait.png)