Difference between revisions of "Template:Damage table"

From Team Fortress Wiki
Jump to: navigation, search
m
m (Added some strings from the dictionary.)
Line 2: Line 2:
 
| {{ns:0}}
 
| {{ns:0}}
 
| {{#if:{{{damage|}}}
 
| {{#if:{{{damage|}}}
  | {{see also|1=Damage{{if lang}}|l1={{lang
+
  | {{see also|1=Damage{{if lang}}|l1={{common string|damage}}
  | cs = Poškození
 
  | de = Schaden
 
  | es = Daño
 
  | ar = الضرر
 
  | en = Damage
 
  | fr = Dégâts
 
  | hu = Sebzés
 
  | it = Danno
 
  | nl = Schade
 
  | pl = Obrażenia
 
  | pt-br = Dano
 
  | ro = Pagube
 
  | ru = Урон
 
  | sv = Skada
 
  | tr = Hasar
 
  | zh-hans = 伤害
 
  | zh-hant = 傷害
 
  | ja = ダメージ
 
  | fi = Vahinko
 
  | ko = 피해량
 
  }}
 
 
   }}
 
   }}
 
  }}{{#if:{{{identical|}}}
 
  }}{{#if:{{{identical|}}}
Line 222: Line 201:
 
  |
 
  |
 
   <tr>
 
   <tr>
   <td colspan="3" style="background:#FFBD7E">{{lang
+
   <td colspan="3" style="background:#FFBD7E">{{common string|damage}}
    | cs = Poškození
 
    | de = Schaden
 
    | es = Daño
 
    | ar = الضرر
 
    | en = Damage
 
    | fr = Dégâts
 
    | hu = Sebzés
 
    | it = Danno
 
    | nl = Schade
 
    | pl = Obrażenia
 
    | pt-br = Dano
 
    | ro = Pagube
 
    | ru = Урон
 
    | sv = Skada
 
    | tr = Hasar
 
    | zh-hans = 伤害
 
    | zh-hant = 傷害
 
    | ja = ダメージ
 
    | fi = Vahinko
 
    | ko = 피해량
 
    }}
 
 
   </td>
 
   </td>
 
   </tr>
 
   </tr>
Line 392: Line 350:
 
   {{#if:{{{point blank|}}}
 
   {{#if:{{{point blank|}}}
 
   | <tr>
 
   | <tr>
     <td colspan="2" style="background:#FFDDAD;">{{lang
+
     <td colspan="2" style="background:#FFDDAD;">{{common string|point blank}}
    | cs = Z přímé blízkosti
 
    | de = Kurze Distanz
 
    | es = Quemarropa
 
    | ar = مدى القريب
 
    | en = Point blank
 
    | fr = À bout portant
 
    | hu = Közvetlen közel
 
    | it = Bruciapelo
 
    | nl = Op de man af
 
    | pl = Krótki zasięg
 
    | pt-br = Queima-roupa
 
    | ru = Вблизи
 
    | sv = Kärnskott
 
    | tr = Sıfır mesafe
 
    | zh-hans = 近距离
 
    | zh-hant = 近距離
 
    | ja = 近距離
 
    | fi = Lyhyt etäisyys
 
    | ko = 근접
 
    }}
 
 
     </td>
 
     </td>
 
     <td style="text-align:right;">{{{point blank}}}</td>
 
     <td style="text-align:right;">{{{point blank}}}</td>
Line 421: Line 359:
 
   | <tr>
 
   | <tr>
 
     <td colspan="2" style="background:#FFDDAD;">{{tooltip
 
     <td colspan="2" style="background:#FFDDAD;">{{tooltip
     | 1 = {{lang
+
     | 1 = {{common string|medium range}}
      | cs = Na střední vzdálenost
 
      | de = Mittlere Distanz
 
      | es = Distancia Media
 
      | ar = متوسط المدى
 
      | en = Medium range
 
      | nl = Gemiddelde afstand
 
      | fr = À moyenne portée
 
      | hu = Középtáv
 
      | it = Media distanza
 
      | pl = Średni zasięg
 
      | pt-br = Alcance médio
 
      | ru = Средняя дистанция
 
      | sv = Mellan-distans
 
      | tr = Orta mesafe
 
      | zh-hans = 中距离
 
      | zh-hant = 中距離
 
      | ja =中距離
 
      | fi = Keskipitkä etäisyys
 
      | ko = 중거리
 
      }}
 
 
     | 2 = {{lang
 
     | 2 = {{lang
 
       | cs = Vzdálenost od dveří hlavní dopňovací místnosti k protější zdi v horním patře mapy 2Fort.
 
       | cs = Vzdálenost od dveří hlavní dopňovací místnosti k protější zdi v horním patře mapy 2Fort.
Line 471: Line 389:
 
   | <tr>
 
   | <tr>
 
     <td colspan="2" style="background:#FFDDAD;">{{tooltip
 
     <td colspan="2" style="background:#FFDDAD;">{{tooltip
     | 1 = {{lang
+
     | 1 = {{common string|long range}}
      | cs = Dlouhá vzdálenost
 
      | de = Weite Distanz
 
      | es = Larga Distancia
 
      | ar = بعيد المدى
 
      | en = Long range
 
      | fr = À longue portée
 
      | hu = Hosszú táv
 
      | it = Lunga distanza
 
      | nl = Lange afstand
 
      | pl = Daleki zasięg
 
      | pt-br = Longo alcance
 
      | ru = Дальняя дистанция
 
      | sv = Lång-distans
 
      | tr = Uzak mesafe
 
      | zh-hans = 远距离
 
      | zh-hant = 遠距離
 
      | ja = 遠距離
 
      | fi = Pitkä etäisyys
 
      | ko = 장거리
 
      }}
 
 
     | 2 = {{lang
 
     | 2 = {{lang
 
       | cs = Vzdálenost od balkónu k balkónu na mapě 2Fort.
 
       | cs = Vzdálenost od balkónu k balkónu na mapě 2Fort.
Line 622: Line 520:
 
   {{#if:{{{backstab|}}}
 
   {{#if:{{{backstab|}}}
 
   | <tr>
 
   | <tr>
     <td colspan="2" style="background:#FFDDAD;">{{lang
+
     <td colspan="2" style="background:#FFDDAD;">{{common string|backstab}}
    | es = Puñalada
 
    | en = Backstab
 
    | fr = Poignardage
 
    | hu = Hátbadöfés
 
    | it = Pugnalata alle spalle
 
    | nl = Rugsteek
 
    | pl = Dźgnięcie w plecy
 
    | pt-br = Backstab
 
    | zh-hans = 背刺
 
    | zh-hant = 背刺
 
    | ru = Удар в спину
 
    | sv = Rygghugg
 
    | tr = Arkadan bıçaklama
 
    | ja = バックスタブ
 
    | fi = Selkäänpuukotus
 
    | ko = 백스탭
 
    }}
 
 
     </td>
 
     </td>
 
     <td style="text-align:right;">{{{backstab}}}</td>
 
     <td style="text-align:right;">{{{backstab}}}</td>
Line 788: Line 669:
 
   {{#if:{{{bleeding|}}}
 
   {{#if:{{{bleeding|}}}
 
   | <tr>
 
   | <tr>
     <td colspan="2" style="background:#FFDDAD;">{{lang
+
     <td colspan="2" style="background:#FFDDAD;">{{common string|bleeding}}
    | cs = Krvácení
 
    | de = Bluten
 
    | es = Hemorragia
 
    | ar = البليدينج
 
    | en = Bleeding
 
    | fr = Saignement
 
    | hu = Vérzés
 
    | it = Sanguinamento
 
    | nl = Bloeden
 
    | pl = Krwawienie
 
    | pt-br = Sangramento
 
    | ru = Кровотечение
 
    | sv = Blöda
 
    | tr = Kanama
 
    | zh-hans = 流血
 
    | zh-hant = 流血
 
    | ja = 流血
 
    | fi = Verenvuoto
 
    | ko = 출혈
 
    }}
 
 
     </td>
 
     </td>
 
     <td style="text-align:right;">{{{bleeding}}}</td>
 
     <td style="text-align:right;">{{{bleeding}}}</td>
Line 1,412: Line 1,273:
 
   {{#if:{{{attack interval|}}}
 
   {{#if:{{{attack interval|}}}
 
   | <tr>
 
   | <tr>
     <td colspan="2" style="background:#FFDDAD;">{{lang
+
     <td colspan="2" style="background:#FFDDAD;">{{common string|attack interval}}
    | cs = Interval útoku
 
    | de = Angriffsintervall
 
    | es = Decadencia de Ataque
 
    | ar = فاصل الهجوم
 
    | en = Attack interval
 
    | fr = Intervalle d'attaque
 
    | hu = Támadási gyakoriság
 
    | it = Intervallo d’attacco
 
    | nl = Aanvalsinterval
 
    | pl = Odstęp czasowy ataków
 
    | pt-br = Intervalo de ataque
 
    | ru = Интервал атаки
 
    | sv = Attackintervall
 
    | tr = Saldırı süresi
 
    | zh-hans = 攻击间隔
 
    | zh-hant = 攻擊間隔
 
    | ja = 攻撃間隔
 
    | fi = Hyökkäysväli
 
    | ko = 공격 간격
 
    }}
 
 
     </td>
 
     </td>
 
     <td style="text-align:right;">{{{attack interval}}}</td>
 
     <td style="text-align:right;">{{{attack interval}}}</td>

Revision as of 16:12, 6 January 2012

Function times (in seconds)
Values are approximate and determined by community testing.

Template documentation [view] [edit] [history] [purge]

{{Damage table}} stores damage and function time measurements on weapon pages.

Examples

Add in parameter as needed from the lists below.

{{Damage table
| type               = [[Hitscan]]
| damagetype         = Bullet
| rangetype          = Ranged
| damage             = yes
|  ramp up           = {{tooltip|10.5|Point blank}} / pellet
|  base              = 6 / pellet
|  fall off          = {{tooltip|3|Long range}} / pellet
|  pellet count      = 10
|  pellet spread    = 30
|  ramp up %         = 175
|  point blank       = 90-105
|  medium range      = 10-40
|  long range        = 3-10
|  crit              = 18 / pellet
|  minicrit          = {{tooltip|8.1|Long range}} - {{tooltip|14.2|Point blank}} / pellet

| function times     = yes
|  attack interval   = 0.625 s
|  reload first      = 0.76 s
|  reload more       = 0.56 s
}}

generates:

See also: Damage
Damage and function times
Shot type Hitscan
Damage type Bullet
Ranged or Melee damage? Ranged
Damage
Maximum ramp-up 175% 10.5 / pellet
Base damage 100% 6 / pellet
Maximum fall-off 52.8% 3 / pellet
Pellet count 10
Point blank 90-105
Medium range 10-40
Long range 3-10
Pellet spread 30:1
Critical 18 / pellet
Mini-crit 8.1 - 14.2 / pellet
Function times
Attack interval 0.625 s
Reload (first) 0.76 s
Reload (consecutive) 0.56 s
Values are approximate and determined by community testing.


{{Damage table
| type              = [[Projectile]]
| damagetype        = Explosive
| rangetype         = Ranged

| damage            = yes
|  base             = 90
|  ramp up %        = 125
|  ramp up          = 112
|  fall off         = 48
|  fall off %       = 53
|  point blank      = 105-112
|  medium range     = 50-90
|  long range       = 45-60
|  minicrit         = 122-151
|  crit             = 270
|  splash damage    = yes
|   splash min %     = 50
|   splash radius    = {{Tooltip|9.1 ft|146 HU}}
|   splash reduction = 1% / {{Tooltip|2.88|Hammer units}}
|   selfdamage       = 27-89
|   selfdamage jump  = 27-46

| function times   = yes
|  attack interval = 0.8 s
|  reload first    = 0.92 s
|  reload more     = 0.8 s
}}

generates:

See also: Damage
Damage and function times
Shot type Projectile
Damage type Explosive
Ranged or Melee damage? Ranged
Damage
Maximum ramp-up 125% 112
Base damage 100% 90
Maximum fall-off 53% 48
Point blank 105-112
Medium range 50-90
Long range 45-60
Critical 270
Mini-crit 122-151
Splash damage
Minimum splash 50% 9.1 ft
Damage reduction 1% / 2.88
Self-damage 27-89
Self damage (rocket jump) 27-46
Function times
Attack interval 0.8 s
Reload (first) 0.92 s
Reload (consecutive) 0.8 s
Values are approximate and determined by community testing.

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 to no will display it anyway).
type
The "shot type". Among common shot types are hitscan, projectile and particle.
damagetype
rangetype
The type of damage dealt by the weapon. Common values for damage type are bullet, explosive, and fire; rangetype should be ranged, melee, or untyped.
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 damage parameters are optional.

Parameter name Notes
effect range
ramp up
ramp up % defaults to 150
base
fall off
fall off % defaults to 52.8
bullet count for miniguns
pellet count for shotguns
point blank
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 for rocket launchers
charge fill dmg for buff weapons
splash damage Set to yes if any below are needed
splash radius
splash min %
splash reduction
healing Set to yes 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 function time parameters are also optional.

Parameter name Notes
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
beamconnect mediguns
beamdisconnect mediguns