No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 2: | Line 2: | ||
<includeonly><onlyinclude>{{#expr:({{meta-wt|{{{m}}}|{{{g}}}}} * ({{{h|{{#var:height}}}}} / {{meta-ht|{{{m}}}|{{{g}}}}})^3 * (1+{{{i}}}/100) * (1+{{{a}}}/100) ) round 1}}<br /> | <includeonly><onlyinclude>{{#expr:({{meta-wt|{{{m}}}|{{{g}}}}} * ({{{h|{{#var:height}}}}} / {{meta-ht|{{{m}}}|{{{g}}}}})^3 * (1+{{{i}}}/100) * (1+{{{a}}}/100) ) round 1}}<br /> | ||
{{code|<nowiki>{{meta-wt|{{{m}}}|{{{g}}}}}</nowiki>}} = {{meta-wt|{{{m}}}|{{{g}}}}} | {{code|<nowiki>{{meta-wt|{{{m}}}|{{{g}}}}}</nowiki>}} = {{meta-wt|{{{m}}}|{{{g}}}}} | ||
{{code|<nowiki>{{meta-ht|{{{m}}}|{{{g}}}}}</nowiki>}} = {{meta-ht|{{{m}}}|{{{g}}}}} | {{code|<nowiki>{{meta-ht|{{{m}}}|{{{g}}}}}</nowiki>}} = {{meta-ht|{{{m}}}|{{{g}}}}} | ||
{{code|h}} = {{{h}}}</onlyinclude></includeonly> | {{code|h}} = {{{h}}}</onlyinclude></includeonly> | ||
Revision as of 17:14, 24 January 2023
Template:meta-wt-adj calculates a character's weight based on a number of parameters.
Usage
It has multiple mandatory parameters:
height — the character's height in centimeters.metatype — the character's metatype, a valid metatype or metavariant name from Table:Metahuman Height & Weight (Average Male) or Table:Metahuman Height & Weight (Average Female).gender — eithermale orfemale.body — the character's adjusted Body attribute.strength — the character's Strength attribute.implant — the percentage adjustments calculated as directed in How Much Did You Say He Weighed?arbitrary — a free-form percentage adjustment.
Return
An average human male,{{meta-wt-adj|h=170|m=human|g=m|b=3|s=3|i=0|a=0}} is: 70
A muscular and fit human male, {{meta-wt|{{{m}}}|{{{g}}}}} = 70
{{meta-ht|{{{m}}}|{{{g}}}}} = 170
h = 170{{meta-wt-adj|h=170|m=human|g=m|b=4|s=5|i=0|a=0}} is: 70
An average ork female, {{meta-wt|{{{m}}}|{{{g}}}}} = 70
{{meta-ht|{{{m}}}|{{{g}}}}} = 170
h = 170{{meta-wt-adj|h=182.4|m=ork|g=f|b=6|s=5|i=0|a=0}} is: 110.6
For example, Shirayuri is a 174 cm (5 ft 9 in) elven female, with four cyberlimbs, each customized to Strength 6 with two ranks of Enhanced Strength and Enhanced Agility beyond that. So, {{meta-wt|{{{m}}}|{{{g}}}}} = 110.59
{{meta-ht|{{{m}}}|{{{g}}}}} = 182.4
h = 182.4{{meta-wt-adj|h=174|m=elf|g=f|b=3|s=6|i=12|a=0}} returns: 67.1
{{meta-wt|{{{m}}}|{{{g}}}}} = 60.74
{{meta-ht|{{{m}}}|{{{g}}}}} = 174.8
h = 174The documentation above was transcluded from Template:Meta-wt-adj/Documentation. [edit]
