Difference between revisions of "Template:5e Height Weight"

From Rlyehwiki
Jump to navigation Jump to search
m
m
(One intermediate revision by the same user not shown)
Line 28: Line 28:
 
|- style="background: ghostwhite;"
 
|- style="background: ghostwhite;"
 
|style="text-align:left;"|{{#if: {{{1|}}}|'''{{{1}}}'''|! error|}}
 
|style="text-align:left;"|{{#if: {{{1|}}}|'''{{{1}}}'''|! error|}}
|{{#if: {{{2|}}}|{{{2}}}[[Base Height::{{{2}}}| ]]|! error|}}
+
|{{#if: {{{2|}}}|{{{2}}}|}} <!--base height-->
|{{#if: {{{3|}}}|{{{3}}}[[Height Mod::  &#43;{{{3}}}| ]]|! error|}}
+
|{{#if: {{{3|}}}|&#43;{{{3}}}|}}
|{{#if: {{{4|}}}|{{{4}}}[[Base Weight::{{{4}}} lbs.| ]]|! error|}}
+
|{{#if: {{{4|}}}|{{{4}}} lbs.|}}
| {{#if: {{{5|}}}|{{{5}}}[[Weight Mod:: x({{{5}}}) lbs.| ]]|! error|}}{{#if: {{{6|}}}|<nowiki/>
+
| {{#if: {{{5|}}}|x ({{{5}}}) lbs.|}}{{#if: {{{6|}}}|<nowiki/>
 
{{!}}{{{6}}}|}}
 
{{!}}{{{6}}}|}}
 
|}<!--
 
|}<!--

Revision as of 13:43, 29 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
Species Base Height Height Mod Base Weight Weight Mod
Foo 5' 0" +1d8 130 lbs. x (2d6) lbs.

or

Height & Weight
Species Base Height Height Mod Base Weight Weight Mod Average
Foo 5'0" +1d8 130 lbs. x (2d6) lbs. 5' 5" 165 lbs.