Difference between revisions of "Template:Metrics/Speed/doc"
(Documentation for Metrics/Speed) |
Cooper Kid (talk | contribs) (Minor wording changes.) |
||
Line 1: | Line 1: | ||
− | This template drops in a | + | This template drops in a class's speed, 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. The <code>W</code> argument, if defined, means the value returned is modified by the [[Disciplinary Action]]. |
+ | |||
+ | Template defaults to <code>0</code> if the <code>C</code> argument is unknown, to avoid causing downstream parsing failures if used in an equation. | ||
'''Arguments''' | '''Arguments''' |
Revision as of 23:46, 17 July 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, and other arguments and values depend on the class. The W
argument, if defined, means the value returned is modified by the Disciplinary Action.
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 |
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) |
H | Health (Soldier) Heads taken (Demoman) |
Valid argument settings
C | P | S | M | G | B | H |
---|---|---|---|---|---|---|
scout | baby face's blaster | crit-a-cola | Positive real | |||
soldier | Not Yet Implemented | |||||
pyro | Not Yet Implemented | |||||
demoman | Not Yet Implemented | |||||
heavy | Not Yet Implemented | |||||
engineer | Not Yet Implemented | |||||
medic | Not Yet Implemented | |||||
sniper | Not Yet Implemented | |||||
spy | Not Yet Implemented |
Sub-templates The speed values for each class are stored in sub-templates, due to overall complexity.