Difference between revisions of "Template:Metrics/Health/doc"
m (fix) |
m |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | This template drops in a classes health, modified by settings that determine what the class has equipped (where appropriate). The <code>C</code> argument is the only one required, and other arguments and values depend on the class. Defaults to generating <code>0</code> if the <code>C</code> argument is unknown, to avoid causing downstream parsing failures, if used in a equation (such as [[Template:Math/Overheal]]. | + | This template drops in a classes health, modified by settings that determine what the class has equipped (where appropriate). The <code>C</code> argument is the only one required, and other arguments and values depend on the class. Defaults to generating <code>0</code> if the <code>C</code> argument is unknown, to avoid causing downstream parsing failures, if used in a equation (such as [[Template:Math/Overheal]]). |
'''Arguments''' | '''Arguments''' | ||
Line 14: | Line 14: | ||
|- | |- | ||
| M || Melee weapon | | M || Melee weapon | ||
− | |||
− | |||
|- | |- | ||
| H || Heads taken | | H || Heads taken | ||
Line 27: | Line 25: | ||
! class = "header" | S | ! class = "header" | S | ||
! class = "header" | M | ! class = "header" | M | ||
− | |||
! class = "header" | H | ! class = "header" | H | ||
|- | |- | ||
− | | scout || || || sandman | + | | scout || || || sandman || |
|- | |- | ||
− | | soldier || || | + | | soldier || || battalion's backup || || |
|- | |- | ||
− | | pyro | + | | pyro || || || || |
|- | |- | ||
− | | demoman || ali baba's wee booties <br> bootlegger || || eyelander <br> horseless headless horsemann's headtaker <br> nessie's nine iron | + | | demoman || ali baba's wee booties <br> bootlegger || || eyelander <br> horseless headless horsemann's headtaker <br> nessie's nine iron || ''Positive integer'' |
|- | |- | ||
− | | heavy || || dalokohs bar <br> fishcake | + | | heavy || || dalokohs bar <br> fishcake || || |
|- | |- | ||
− | | engineer || || || gunslinger | + | | engineer || || || gunslinger || |
|- | |- | ||
− | | medic || || || vita-saw | + | | medic || || || vita-saw || |
|- | |- | ||
− | | sniper || | + | | sniper || || || || |
|- | |- | ||
− | | spy || || || conniver's kunai <br> big earner | + | | spy || || || conniver's kunai <br> big earner || |
|} | |} |
Latest revision as of 01:11, 25 October 2017
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 | sandman | |||
soldier | battalion's backup | |||
pyro | ||||
demoman | ali baba's wee booties bootlegger |
eyelander horseless headless horsemann's headtaker nessie's nine iron |
Positive integer | |
heavy | dalokohs bar fishcake |
|||
engineer | gunslinger | |||
medic | vita-saw | |||
sniper | ||||
spy | conniver's kunai big earner |