(Created page with "{{Documentation}} <includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}} | cyclops = 310 | dryad = 120 | dwarf = 120 | elf = 190 | fomori = 280 | giant = 350 | gnome = 110 | hobgoblin = 180 | human = 170 | koborokuru = 110 | menehune = 110 | minotaur = 230 | nocturna = 190 | ogre = 170 | oni = 190 | ork = 190 | satyr = 160 | troll = 280 | wakyambi = 280 }}</onlyinclude></includeonly>") |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}} | <includeonly><onlyinclude>{{#expr:{{#switch:{{lc:{{{1|}}}}} | ||
| cyclops = 310 | | cyclops = 310 | ||
| dryad = 120 | | dryad = 120 | ||
| Line 20: | Line 20: | ||
| troll = 280 | | troll = 280 | ||
| wakyambi = 280 | | wakyambi = 280 | ||
}}</onlyinclude></includeonly> | }} * {{#if:{{{f|false}}}|1|{{#switch:{{lc:{{{1|}}}}} | ||
| cyclops = 1 | |||
| dryad = 1 | |||
| dwarf = 1 | |||
| elf = 0.92 | |||
| fomori = 1 | |||
| giant = 0.92 | |||
| gnome = 0.92 | |||
| hobgoblin = 0.96 | |||
| human = 0.92 | |||
| koborokuru = 1 | |||
| menehune = 1 | |||
| minotaur = 1 | |||
| nocturna = 0.92 | |||
| ogre = 0.96 | |||
| oni = 0.96 | |||
| ork = 0.96 | |||
| satyr = 1 | |||
| troll = 1 | |||
| wakyambi = 0.92 | |||
}}}}</onlyinclude></includeonly> | |||
Revision as of 17:09, 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: {{#expr:110 * 1
Meanwhile, {{meta-ht|gnome|f}} returns: {{#expr:110 * 1
The documentation above was transcluded from Template:Meta-ht/Documentation. [edit]
