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

From Dungeons and Dragons Wiki
Jump to: navigation, search
m
m
 
Line 1: Line 1:
 
<includeonly>{| style="border:solid 1px Goldenrod; border-radius:0.5em; background:#eDdc9B; text-align:center; font-size:9pt;"
 
<includeonly>{| style="border:solid 1px Goldenrod; border-radius:0.5em; background:#eDdc9B; text-align:center; font-size:9pt;"
!{{#if: {{{7|}}}|colspan="5"|colspan="6"|}} style="background:#dDcc8B;"{{!}}Height & Weight{{#if: {{{7|}}}|<nowiki />
+
!{{#if: {{{refs|}}}|colspan="5"|colspan="6"|}}|Height & Weight{{#if: {{{refs|}}}|<nowiki />
!style="background:#dDcc8B; text-align:right;"{{!}}{{{7}}}|}}
+
!style="text-align:right;"{{!}}{{{refs}}}|}}
 
|-
 
|-
!Race
+
!Species
 
!Base Height
 
!Base Height
 
!Height Mod
 
!Height Mod
 
!Base Weight
 
!Base Weight
!Weight Mod
+
!Weight Mod{{#if: {{{6|}}}|<nowiki/>
!Average
+
!Average|}}
|-
+
|- style="background: ghostwhite;"
|style="background:#fdf9d3; text-align:left;"|{{#if: {{{1|}}}|'''{{{1}}}'''|! error|}}
+
|style="text-align:left;"|{{#if: {{{1|}}}|'''{{{1}}}'''|! error|}}
|style="background:#fdf9d3; text-align:center;"|{{#if: {{{2|}}}|[[Base Height::{{{2}}}]]|! error|}}
+
|{{#if: {{{2|}}}|{{{2}}}|}} <!--base height-->
|style="background:#fdf9d3; text-align:center;"|{{#if: {{{3|}}}|[[Height Mod::  &#43;{{{3}}}]]|! error|}}
+
|{{#if: {{{3|}}}|&#43;{{{3}}}|}}
|style="background:#fdf9d3; text-align:center;"|{{#if: {{{4|}}}|[[Base Weight::{{{4}}} lbs.]]|! error|}}
+
|{{#if: {{{4|}}}|{{{4}}} lbs.|}}
|style="background:#fdf9d3; text-align:center;"|{{#if: {{{5|}}}|[[Weight Mod:: x({{{5}}}) lbs.]]|! error|}}
+
| {{#if: {{{5|}}}|x ({{{5}}}) lbs.|}}{{#if: {{{6|}}}|<nowiki/>
|style="background:#fdf9d3; text-align:center;"|{{{6|}}}
+
{{!}}{{{6}}}|}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
==Use==
 
==Use==
Line 38: Line 38:
 
or
 
or
  
{{5e Height Weight|Foo|5'0"|1d8|130|2d6|5' 5" 165 lbs.|<ref>{{Cite Pub|Foo's Guide to Nothing}}</ref>}}
+
{{5e Height Weight|Foo|5'0"|1d8|130|2d6|5' 5" 165 lbs.|refs=<ref>{{Cite Pub|Foo's Guide to Nothing}}</ref>}}
  
 
[[Category:5e Templates]]
 
[[Category:5e Templates]]
 
[[Category:5e Races]]
 
[[Category:5e Races]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:01, 14 July 2020

Use[edit]

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

Syntax[edit]

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

Add'l Fields[edit]

|refs= <!--reference(s) for height & weight-->

Example[edit]

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

or

{{5e Height Weight|Foo|5'0"|1d8|130|2d6|5' 5" 165 lbs.|<ref>{{Cite Pub|Foo's Guide to Nothing}}</ref>}}

produces:

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.

or

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