Anonymous
×
Create a new article
Write your page title here:
We currently have 205 articles on Shadowrun Seattle Shutdown. Type your article name above or click on one of the titles below and start writing!



Shadowrun Seattle Shutdown

Template:Meta-ht/Documentation: Difference between revisions

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==
{{Table:Metahuman Height & Weight (Average Male)}}
It accepts one {{Parameter|mandatory|string}}, a metatype, and one {{parameter|optional|string}}.
It accepts one {{Parameter|mandatory|string}}, a metatype, and one {{parameter|optional|string}}.
* {{code|1}} must be a valid metatype or metavariant name from [[Table:Metahuman Height & Weight (Average Male)]] or [[Table:Metahuman Height & Weight (Average Female)]].
* {{code|1}} must be a valid metatype or metavariant name from [[Table:Metahuman Height & Weight (Average Male)]] or [[Table:Metahuman Height & Weight (Average Female)]].
* {{code|2}} (default: {{code|m}}) — if set to any other value (typically {{code|f}}) it applies the gender- and metatype-based height adjustment factors from {{template|meta-ht-x}}.
* {{code|2}} (default: {{code|m}}) — if set to any other value (typically {{code|f}}) it applies the gender- and metatype-based height adjustment factors from {{template|meta-ht-x}}.
==Return==
==Return==
If the second parameter is excluded, it returns the metatype's male average height in centimeters, e.g. {{Code|<nowiki>{{meta-ht|gnome}}</nowiki>}} and {{Code|<nowiki>{{meta-ht|gnome|m}}</nowiki>}} both returns: {{return|{{meta-ht|gnome}}}}
If the second parameter is excluded, it returns the metatype's male average height in centimeters, e.g. {{Code|<nowiki>{{meta-ht|gnome}}</nowiki>}} and {{Code|<nowiki>{{meta-ht|gnome|m}}</nowiki>}} both returns: {{return|{{meta-ht|gnome}}}}


Meanwhile, {{Code|<nowiki>{{meta-ht|gnome|f}}</nowiki>}} returns: {{return|{{meta-ht|gnome|f}}}}
Meanwhile, {{Code|<nowiki>{{meta-ht|gnome|f}}</nowiki>}} returns: {{return|{{meta-ht|gnome|f}}}}

Revision as of 14:13, 24 January 2023

Template:meta-ht is used with other Character Templates when working with character height and weight.

Usage

Metahuman Height & Weight (Average Male)
RaceHeightWeight
Cyclops310 cm (10 ft 2 in)713 kg (1,572 lb)
DryadN/AN/A
Dwarf120 cm (3 ft 11 in)44 kg (97 lb)
Elf190 cm (6 ft 3 in)78 kg (172 lb)
Fomori280 cm (9 ft 2 in)438 kg (966 lb)
Giant350 cm (11 ft 6 in)977 kg (2,154 lb)
Gnome110 cm (3 ft 7 in)23 kg (51 lb)
Hobgoblin180 cm (5 ft 11 in)103 kg (227 lb)
Human170 cm (5 ft 7 in)70 kg (150 lb)
Koborokuru110 cm (3 ft 7 in)34 kg (75 lb)
Menehune110 cm (3 ft 7 in)30 kg (66 lb)
Minotaur230 cm (7 ft 7 in)277 kg (611 lb)
Nocturna190 cm (6 ft 3 in)78 kg (172 lb)
Ogre170 cm (5 ft 7 in)119 kg (262 lb)
Oni190 cm (6 ft 3 in)125 kg (276 lb)
Ork190 cm (6 ft 3 in)125 kg (276 lb)
Satyr160 cm (5 ft 3 in)75 kg (165 lb)
Troll280 cm (9 ft 2 in)491 kg (1,082 lb)
Wakyambi280 cm (9 ft 2 in)235 kg (518 lb)

It accepts one mandatory string parameter, a metatype, and one optional string parameter.

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 returns:

110

Meanwhile, {{meta-ht|gnome|f}} returns:

101.2