Template:5e Height Weight: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|Species = String | |Species = String | ||
|Base_Height = String | |Base_Height = String | ||
|Base_Weight = String | |Base_Weight = String | ||
|Height_Mod = String | |Height_Mod = String | ||
|Weight_Mod = String | |Weight_Mod = String | ||
|Avg_HW = String | |Avg_HW = String | ||
| | |Refs = Wikitext | ||
}} | }} | ||
</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: {{{ | !{{#if: {{{refs|}}}|colspan="5"|colspan="6"|}}|Height & Weight{{#if: {{{refs|}}}|<nowiki /> | ||
!style="text-align:right;"{{!}}{{{refs}}}|}} | |||
|- | |- | ||
! | !Species | ||
!Base Height | !Base Height | ||
!Height Mod | !Height Mod | ||
Line 28: | Line 22: | ||
|- 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}}} | |{{#if: {{{2|}}}|{{{2}}}|}} <!--base height--> | ||
|{{#if: {{{3|}}}| | |{{#if: {{{3|}}}|+{{{3}}}|}} | ||
|{{#if: {{{4|}}}| | |{{#if: {{{4|}}}|{{{4}}} lbs.|}} | ||
| {{#if: {{{5|}}}| | | {{#if: {{{5|}}}|x ({{{5}}}) lbs.|}}{{#if: {{{6|}}}|<nowiki/> | ||
{{!}}{{{6}}}|}} | {{!}}{{{6}}}|}} | ||
|}<!-- | |}<!-- | ||
Line 39: | Line 33: | ||
|Species = {{{1|}}} | |Species = {{{1|}}} | ||
|Base_Height = {{{2|}}} | |Base_Height = {{{2|}}} | ||
|Base_Weight = {{{4|}}} | |Base_Weight = {{{4|}}} | ||
|Height_Mod = {{{3|}}} | |Height_Mod = {{{3|}}} | ||
|Weight_Mod = {{{5|}}} | |Weight_Mod = {{{5|}}} | ||
|Avg_HW = {{{6|}}} | |Avg_HW = {{{6|}}} | ||
| | |Refs = {{{refs|}}} | ||
| | |||
}}}}</includeonly><noinclude> | }}}}</includeonly><noinclude> | ||
==Use== | ==Use== | ||
Line 56: | Line 43: | ||
==Syntax== | ==Syntax== | ||
<pre>{{5e Height Weight|Race|baseHeight|hightMod|baseWeight|weightMod| | <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}} | {{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.}} | {{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}} |
Latest revision as of 08:46, 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. |
- Foo's Guide to Nothing p. 10. ↑