Template:5e Height Weight: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{| style="border-radius:0.5em; text-align:center; font-size:9pt; background: lightgray;"
<noinclude>
{{#cargo_declare:
_table = 5e_Height_Weight
|Species = String
|Base_Height = String
|BH_Inches = Integer
|Base_Weight = String
|BW_Pounds = Integer
|Height_Mod = String
|H_Mod = Integer
|H_Mod_Die = Integer
|Weight_Mod = String
|W_Mod = Integer
|W_Mod_Die = Integer
|Avg_HW = String
|Avg_H = Integer
|Avg_W = Integer
}}
</noinclude><includeonly>{| style="border-radius:0.5em; text-align:center; font-size:9pt; background: lightgray;"
!{{#if: {{{6|}}}|colspan="6"|colspan="5"|}}|Height & Weight
!{{#if: {{{6|}}}|colspan="6"|colspan="5"|}}|Height & Weight
|-
|-
Line 15: Line 33:
| {{#if: {{{5|}}}|{{{5}}}[[Weight Mod:: x({{{5}}}) lbs.| ]]|! error|}}{{#if: {{{6|}}}|<nowiki/>
| {{#if: {{{5|}}}|{{{5}}}[[Weight Mod:: x({{{5}}}) lbs.| ]]|! error|}}{{#if: {{{6|}}}|<nowiki/>
{{!}}{{{6}}}|}}
{{!}}{{{6}}}|}}
|}</includeonly><noinclude>
|}<!--
Cargo Store
-->{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
_table = 5e_Height_Weight
|Species = {{{1|}}}
|Base_Height = {{{2|}}}
|BH_Inches = Integer
|Base_Weight = {{{4|}}}
|BW_Pounds = Integer
|Height_Mod = {{{3|}}}
|H_Mod = Integer
|H_Mod_Die = Integer
|Weight_Mod = {{{5|}}}
|W_Mod = Integer
|W_Mod_Die = Integer
|Avg_HW = {{{6|}}}
|Avg_H = Integer
|Avg_W = Integer
}}}}</includeonly><noinclude>
==Use==
==Use==
Standard height and Weight table to be placed on 5th edition race articles.
Standard height and Weight table to be placed on 5th edition race articles.

Revision as of 20:24, 28 June 2020

This template defines the table "5e_Height_Weight". View table.

Use

Standard height and Weight table to be placed on 5th edition race articles.

Syntax

{{5e Height Weight|Race|baseHeight|hightMod|baseWeight|weightMod|optAvg}}

Example

{{5e Height Weight|Foo|5'0"|1d8|130|2d6}}

or

{{5e Height Weight|Foo|5'0"|1d8|130|2d6|5' 5" 165 lbs.}}

produces:

Height & Weight
Race Base Height Height Mod Base Weight Weight Mod
Foo 5' 0" 1d8 130 2d6

or

Height & Weight
Race Base Height Height Mod Base Weight Weight Mod Average
Foo 5'0" 1d8 130 2d6 5' 5" 165 lbs.