Difference between revisions of "Template:Metrics/Health/doc"
(Documentation for Template:Metrics/Health) |
(The demoman's boots are Primary's, i'm an idiot.) |
||
Line 8: | Line 8: | ||
|- | |- | ||
| C || Class name | | C || Class name | ||
+ | |- | ||
+ | | P || Primary weapon | ||
|- | |- | ||
| S || Secondary weapon | | S || Secondary weapon | ||
Line 22: | Line 24: | ||
|- | |- | ||
! class = "header" | C | ! class = "header" | C | ||
+ | ! class = "header" | P | ||
! class = "header" | S | ! class = "header" | S | ||
! class = "header" | M | ! class = "header" | M | ||
Line 27: | Line 30: | ||
! class = "header" | H | ! class = "header" | H | ||
|- | |- | ||
− | | scout || || sandman || special delivery || | + | | scout || || || sandman || special delivery || |
|- | |- | ||
− | | 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 04:09, 25 February 2012
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:Overheal.
Arguments
Argument | Meaning |
---|---|
C | Class name |
P | Primary weapon |
S | Secondary weapon |
M | Melee weapon |
G | Item set (G stands for Group, synonym of set) |
H | Heads taken |
Valid argument settings
C | P | S | M | G | H |
---|---|---|---|---|---|
scout | sandman | special delivery | |||
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 |