No edit summary |
No edit summary |
||
| Line 20: | Line 20: | ||
| troll = 280 | | troll = 280 | ||
| wakyambi = 280 | | wakyambi = 280 | ||
}} * {{#if:{{{ | }} * {{#if:{{{2|m}}}|1|{{#switch:{{lc:{{{1|}}}}} | ||
| cyclops = 1 | | cyclops = 1 | ||
| dryad = 1 | | dryad = 1 | ||
Revision as of 17:54, 22 November 2022
Template:meta-ht is used with other Character Templates when working with character height and weight.
Usage
It accepts one mandatory string parameter, a metatype, and one optional string parameter.
1must be a valid metatype or metavariant name from Table:Metahuman Height & Weight (Average Male) or Table:Metahuman Height & Weight (Average Female).2(default:m) — if set to any other value (typicallyf) it applies the gender- and metatype-based height adjustment factors fromTemplate:meta-ht-x.
Return
If the second parameter is excluded, it returns the metatype's male average height in centimeters, e.g.{{meta-ht|gnome}} and {{meta-ht|gnome|m}} both return: 110
Meanwhile, {{meta-ht|gnome|f}} returns: 110
The documentation above was transcluded from Template:Meta-ht/Documentation. [edit]
