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

From Team Fortress Wiki
Jump to: navigation, search
m
(Updated documentation)
Line 14: Line 14:
 
|-
 
|-
 
| M || Melee weapon
 
| M || Melee weapon
|-
 
| G || Item set (G stands for Group, synonym of set)
 
 
|-
 
|-
 
| H || Heads taken
 
| H || Heads taken
Line 27: Line 25:
 
! class = "header" | S
 
! class = "header" | S
 
! class = "header" | M
 
! class = "header" | M
! class = "header" | G
 
 
! class = "header" | H
 
! class = "header" | H
 
|-
 
|-
| scout || || pretty boy's pocket pistol || sandman || special delivery ||
+
| scout || || pretty boy's pocket pistol || sandman ||
 
|-
 
|-
| soldier || || || || ||
+
| soldier || || || ||
 
|-
 
|-
| pyro || || || || ||
+
| pyro || || || ||
 
|-
 
|-
| demoman || ali baba's wee booties <br> bootlegger || || eyelander <br> horseless headless horsemann's headtaker <br> nessie's nine iron <br> claidheamh mòr ||  || ''Positive integer''
+
| demoman || ali baba's wee booties <br> bootlegger || || eyelander <br> horseless headless horsemann's headtaker <br> nessie's nine iron <br> claidheamh mòr || ''Positive integer''
 
|-
 
|-
| heavy || || dalokohs bar <br> fishcake || warrior's spirit || ||
+
| heavy || || dalokohs bar <br> fishcake || warrior's spirit ||
 
|-
 
|-
| engineer || || || gunslinger || ||
+
| engineer || || || gunslinger ||
 
|-
 
|-
| medic || || || vita-saw || ||
+
| medic || || || vita-saw ||
 
|-
 
|-
| sniper || || darwin's danger shield || || ||
+
| sniper || || darwin's danger shield || ||
 
|-
 
|-
| spy || || || conniver's kunai <br> big earner || ||
+
| spy || || || conniver's kunai <br> big earner ||
 
|}
 
|}

Revision as of 23:02, 10 July 2013

This template drops in a classes health, modified by settings that determine what the class has equipped (where appropriate). The C argument is the only one required, and other arguments and values depend on the class. Defaults to generating 0 if the C argument is unknown, to avoid causing downstream parsing failures, if used in a equation (such as Template:Math/Overheal).

Arguments

Argument Meaning
C Class name
P Primary weapon
S Secondary weapon
M Melee weapon
H Heads taken

Valid argument settings

C P S M H
scout pretty boy's pocket pistol sandman
soldier
pyro
demoman ali baba's wee booties
bootlegger
eyelander
horseless headless horsemann's headtaker
nessie's nine iron
claidheamh mòr
Positive integer
heavy dalokohs bar
fishcake
warrior's spirit
engineer gunslinger
medic vita-saw
sniper darwin's danger shield
spy conniver's kunai
big earner