No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
{{Template|meta-ht}} is used with other {{Category|Character Template}}s when working with character height and weight. | {{Template|meta-ht}} is used with other {{Category|Character Template}}s when working with character height and weight. | ||
==Usage== | ==Usage== | ||
It accepts one {{Parameter|mandatory|string}}, a metatype, and one {{parameter|optional| | It accepts one {{Parameter|mandatory|string}}, a metatype, and one {{parameter|optional|string}}. | ||
* {{code|1}} must be a valid metatype or metavariant name. | |||
* {{code|f}} (default: {{code|false}}) — if set to true, applies a gender- and metatype-based height adjustment factor. | * {{code|f}} (default: {{code|false}}) — if set to true, applies a gender- and metatype-based height adjustment factor. | ||
==Return== | ==Return== | ||
It returns the metatype's male average height in centimeters, e.g. {{Code|<nowiki>{{meta-ht|gnome}}</nowiki>}} returns: {{Code|{{meta-ht|gnome}}}} | It returns the metatype's male average height in centimeters, e.g. {{Code|<nowiki>{{meta-ht|gnome}}</nowiki>}} returns: {{Code|{{meta-ht|gnome}}}} | ||
Revision as of 17:55, 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.f(default:false) — if set to true, applies a gender- and metatype-based height adjustment factor.
Return
It returns the metatype's male average height in centimeters, e.g. {{meta-ht|gnome}} returns: 110
