Template:5e Height Weight: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 18: Line 18:
}}
}}
</noinclude><includeonly>{| style="border-radius:0.5em; text-align:center; font-size:9pt; background: lightgray;"
</noinclude><includeonly>{| style="border-radius:0.5em; text-align:center; font-size:9pt; background: lightgray;"
!{{#if: {{{6|}}}|colspan="6"|colspan="5"|}}|Height & Weight
!{{#if: {{{refs|}}}|colspan="5"|colspan="6"|}}|Height & Weight{{#if: {{{refs|}}}|<nowiki />
!style="text-align:right;"{{!}}{{{refs}}}|}}
|-
|-
!Species
!Species
Line 56: Line 57:


==Syntax==
==Syntax==
<pre>{{5e Height Weight|Race|baseHeight|hightMod|baseWeight|weightMod|optAvg}}</pre>
<pre>{{5e Height Weight|Race|baseHeight|hightMod|baseWeight|weightMod|Avg|optRefs}}</pre>


==Example==
==Example==
<pre>{{5e Height Weight|Foo|5'0"|1d8|130|2d6}}</pre>
<pre>{{5e Height Weight|Foo|5'0"|1d8|130|2d6|5' 5" 165 lbs.}}</pre>


or
or


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


produces:
produces:


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


or
or


{{5e Height Weight|Foo|5'0"|1d8|130|2d6|5' 5" 165 lbs.|nodb=true}}
{{5e Height Weight|Foo|5'0"|1d8|130|2d6|5' 5" 165 lbs.|refs=<ref name="foo10">{{Cite Pub|Foo's Guide to Nothing|pages=10}}</ref>|nodb=true}}


{{DEFAULTSORTKEY: Height Weight 5e}}
{{DEFAULTSORTKEY: Height Weight 5e}}

Revision as of 09:38, 1 July 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|Avg|optRefs}}

Example

{{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.|refs=<ref name="foo10">{{Cite Pub|Foo's Guide to Nothing|pages=10}}</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.