Difference between revisions of "Template:Damage table/doc"
(+ hatnote parameter) |
|||
Line 29: | Line 29: | ||
* '''Preserve all previous values''' unless specified. | * '''Preserve all previous values''' unless specified. | ||
− | |||
* Remove any unused parameter lines. | * Remove any unused parameter lines. | ||
− | |||
* Add the unit {{code|s}} after timing values. | * Add the unit {{code|s}} after timing values. | ||
− | |||
* Adjust the section title to reflect contents (e.g. ''Damage and function times'' or just ''Function times''). | * Adjust the section title to reflect contents (e.g. ''Damage and function times'' or just ''Function times''). | ||
Line 54: | Line 51: | ||
:; ''effect'' | :; ''effect'' | ||
:: A description of the weapon's effect (for example, "Gives the drinker Mini-Crits for the next 6 seconds"). | :: A description of the weapon's effect (for example, "Gives the drinker Mini-Crits for the next 6 seconds"). | ||
+ | |||
+ | :; ''hatnote'' | ||
+ | :: Set this parameter to hide the {{tl|see also}} template and the 'Identical to:' hatnote (if shown). Useful when the damage table is used multiple times on the same page and the hatnote links become duplicated several times. | ||
:; Damage parameters | :; Damage parameters |
Revision as of 03:38, 18 July 2011
{{Damage table}}
stores damage and function time measurements on weapon pages.
Copy and paste example
You can add lines as needed from the parameter descriptions below.
== Damage and function times == {{Damage table | type = | damage = yes | base = | fall off = | ramp up = | point blank = | medium range = | long range = | crit = | minicrit = | function times = yes | attack interval = | reload = }}
Usage notes:
- Preserve all previous values unless specified.
- Remove any unused parameter lines.
- Add the unit
s
after timing values. - Adjust the section title to reflect contents (e.g. Damage and function times or just Function times).
Parameters
Note: if a weapon has a different damage statistic that isn't present in the template, please post on the talk page and it will be added.
- identical
- For reskins: display a link to weapon(s) with identical statistics. The rest of the values will still have to be filled in.
- damage
- function times
- healing
- splash damage
- Set each to
yes
if attributes in that section will be used. If the weapon does no damage, for example, remove the line (setting tono
will display it anyway).
- type
- The "shot type". Among common shot types are hitscan, projectile and particle.
- effect
- A description of the weapon's effect (for example, "Gives the drinker Mini-Crits for the next 6 seconds").
- hatnote
- Set this parameter to hide the
{{see also}}
template and the 'Identical to:' hatnote (if shown). Useful when the damage table is used multiple times on the same page and the hatnote links become duplicated several times.
- Damage parameters
- All are optional.
- effect range
- ramp up
ramp up %
(defaults to 150)- base
- fall off
fall off %
(defaults to 50)bullet count
(miniguns)pellet count
(shotguns)- point blank
- medium range
- long range
- flame close
- flame far
- flame far %
- bodyshot
- crit
- minicrit
- afterburn
- afterburn minicrit
- bleeding
- bleeding minicrit
- damage repaired
- upgrade amount
- metal cost repairing
- metal cost reloading
- selfdamage
selfdamage jump
(use for rocket launchers)charge fill dmg
(use for buff weapons)
splash damage
(set toyes
if any below are needed)- splash radius
- splash min %
- splash reduction
healing
(set toyes
if any below are needed)- selfheal
- heal amt
heal combat
(use this and the following ones for mediguns)- heal noncombat
heal noncombat %
- Function time parameters
- All are optional.
- attack interval
- ammo interval
- taunt duration
- windup time
- reload
reload first
(shotguns, rocket launchers, etc.)- reload more
- consumption time
- cloak duration
- cloak fade
- decloak fade
- recharge
- recharge duration ratio
- effect time
- drop expiry
- afterburn time
- bleeding time
- airblast cooldown
- max charge time
- zoom charge delay
- zoom headshot delay
- spread recovery
- charge fill speed
activation time