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-wt-adj/Documentation: Difference between revisions

No edit summary
Line 3: Line 3:
==Usage==
==Usage==
It accepts multiple {{parameter|mandatory}}s, though the first three parameters ({{code|h}}, {{code|m}}, and {{code|g}}) are supplied by variable in {{template|Character}}, making them {{parameter|optional}}s in that context.
It accepts multiple {{parameter|mandatory}}s, though the first three parameters ({{code|h}}, {{code|m}}, and {{code|g}}) are supplied by variable in {{template|Character}}, making them {{parameter|optional}}s in that context.
* {{code|h}}eight — the character's height in centimeters. When used with {{Template|Character}}
* {{code|h}}'''eight''' — the character's height in centimeters. When used with {{Template|Character}}
* {{code|m}}etatype — the character's metatype, a valid metatype or metavariant name from [[Table:Metahuman Height & Weight (Average Male)]].
* {{code|m}}'''etatype''' — the character's metatype, a valid metatype or metavariant name from [[Table:Metahuman Height & Weight (Average Male)]].
* {{code|g}}ender — either {{code|m}}ale or {{code|f}}.
* {{code|g}}'''ender''' — either {{code|m}}ale or {{code|f}}.
* {{code|b}}ody — the character's adjusted Body attribute.
* {{code|b}}'''ody''' — the character's adjusted Body attribute.
* {{code|s}}trength — the character's Strength attribute.
* {{code|s}}'''trength''' — the character's Strength attribute.
* {{code|i}}mplant — the percentage adjustments calculated as directed in [[How Much Did You Say He Weighed?]]
* {{code|i}}'''mplant''' — the percentage adjustments calculated as directed in [[How Much Did You Say He Weighed?]]
* {{code|a}}rbitrary — a free-form percentage adjustment.
* {{code|a}}'''rbitrary''' — a free-form percentage adjustment.
==Return==
==Return==
For example, [[Shirayuri]] is a {{convert|174|cm|ftin}} {{category|elf|elven}} {{category|female|lc}}, with four cyberlimbs, each with two ranks of Enhanced Strength and Enhanced Agility. So, {{code|<nowiki>{{meta-wt-x|h=174|m=elf|g=f|b=3|s=3|i=16|a=0}}</nowiki>}} returns: {{return|{{meta-wt-x|h=174|m=elf|g=f|b=3|s=3|i=8|a=0}}}}
For example, [[Shirayuri]] is a {{convert|174|cm|ftin}} {{category|elf|elven}} {{category|female|lc}}, with four cyberlimbs, each with two ranks of Enhanced Strength and Enhanced Agility. So, {{code|<nowiki>{{meta-wt-x|h=174|m=elf|g=f|b=3|s=3|i=16|a=0}}</nowiki>}} returns: {{return|{{meta-wt-x|h=174|m=elf|g=f|b=3|s=3|i=8|a=0}}}}

Revision as of 16:58, 24 January 2023

Template:meta-wt-x calculates a character's weight based on a number of parameters.

Usage

It accepts multiple mandatory parameters, though the first three parameters (h, m, and g) are supplied by variable in Template:Character, making them optional parameters in that context.

  • height — the character's height in centimeters. When used with Template:Character
  • metatype — the character's metatype, a valid metatype or metavariant name from Table:Metahuman Height & Weight (Average Male).
  • gender — either male or f.
  • 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

For example, Shirayuri is a 174 cm (5 ft 9 in) elven female, with four cyberlimbs, each with two ranks of Enhanced Strength and Enhanced Agility. So, {{meta-wt-x|h=174|m=elf|g=f|b=3|s=3|i=16|a=0}} returns: