Difference between revisions of "Template:Metrics/Speed/doc"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 29: Line 29:
 
| H || Health ([[Soldier]])<br>Heads taken ([[Demoman]])
 
| H || Health ([[Soldier]])<br>Heads taken ([[Demoman]])
 
|-
 
|-
| T || Triggered Ability ([[Heavy]] and [[Engineer]])
+
| T || Triggered Ability ([[Heavy]] and [[Engineer]])<br>Healing Target ([[Medic]])
 +
|-
 +
| D || Disguise ([[Spy]])
 
|}
 
|}
  
Line 37: Line 39:
 
! class = "header" | C
 
! class = "header" | C
 
! class = "header" | A
 
! class = "header" | A
 +
! class = "header" | W
 
! class = "header" | P
 
! class = "header" | P
 
! class = "header" | S
 
! class = "header" | S
Line 45: Line 48:
 
! class = "header" | H
 
! class = "header" | H
 
! class = "header" | T
 
! class = "header" | T
 +
! class = "header" | D
 
|-
 
|-
| scout || rowspan="9" | ''omitted''<br>back<br>crouch<br>swim || baby face's blaster || crit-a-cola || || || ''Positive real''<br>0-99 inclusive || || ||
+
| scout  
 +
| rowspan="9" |  
 +
''One of''
 +
*''omitted''
 +
*back
 +
*crouch
 +
*swim
 +
| rowspan="9" | ''Any value for True,''<br>''omitted for False''
 +
            |baby face's blaster||crit-a-cola ||||||''Positive real''<br>0-99 inclusive||||||||
 
|-
 
|-
| soldier || cow mangler 5000 || || escape plan || || || || ''Positive integer''<br>0-200 inclusive ||
+
| soldier ||cow mangler 5000||||escape plan||||||||''Positive integer''<br>0-200 inclusive||||
 
|-
 
|-
| pyro || || || || gas jockey's gear || || || ||
+
| pyro     ||||||||gas jockey's gear||||||||||
 
|-
 
|-
| demoman || colspan="8" | ''Not Yet Implemented''
+
| demoman ||colspan="9"|''Not Yet Implemented''
 
|-
 
|-
| heavy || colspan="8" | ''Not Yet Implemented''
+
| heavy   ||colspan="9"|''Not Yet Implemented''
 
|-
 
|-
| engineer || || || || || || || || haul
+
| engineer ||||||||||||||||haul||
 
|-
 
|-
| medic || overdose || quick-fix || || || || ''Positive real''<br>0-100 inclusive || ||
+
| medic   ||overdose||quick-fix||||||||''Positive real''<br>0-100 inclusive||||''Class name''||
 
|-
 
|-
| sniper || colspan="8" | ''Not Yet Implemented''
+
| sniper   ||colspan="9"|''Not Yet Implemented''
 
|-
 
|-
| spy || || || || || || || ||
+
| spy     ||||||||||||||||||''Class name''
 
|}
 
|}
  

Revision as of 06:27, 12 August 2012

This template drops in a class's speed, modified by settings that determine what the class has equipped (where appropriate). The C argument is the only one required. The A argument indicates the action the player is taking, and other arguments and values depend on the class. The W argument, if defined, means the value returned is modified by being under the Disciplinary Action effect.

Template defaults to 0 if the C argument is unknown, to avoid causing downstream parsing failures if used in an equation.

Arguments

Argument Meaning
C Class name
A Action
W If under Disciplinary Action effect
P Primary weapon
S Secondary weapon
M Melee weapon
G Item set (G stands for Group, synonym of set)
B Boost amount (Scout)
U ÜberCharge amount (Medic)
H Health (Soldier)
Heads taken (Demoman)
T Triggered Ability (Heavy and Engineer)
Healing Target (Medic)
D Disguise (Spy)

Valid argument settings

C A W P S M G B U H T D
scout

One of

  • omitted
  • back
  • crouch
  • swim
Any value for True,
omitted for False
baby face's blaster crit-a-cola Positive real
0-99 inclusive
soldier cow mangler 5000 escape plan Positive integer
0-200 inclusive
pyro gas jockey's gear
demoman Not Yet Implemented
heavy Not Yet Implemented
engineer haul
medic overdose quick-fix Positive real
0-100 inclusive
Class name
sniper Not Yet Implemented
spy Class name

Sub-templates The speed values for each class are stored in sub-templates, due to overall complexity.