Template:5e Subrace Traits: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<noinclude>
[[Category:5e]][[Category:Subrace]]<!--{{#switch: {{{raceNS|}}}
{{#cargo_declare:
| = <span style="color:red">'''Error Race Missing'''</span>[[Template Error::Race Missing| ]]
_table = 5e_Subrace
|Subrace = String
|Sort_Text = String
|Race = String
|Race_NS = String
|Ability_Mods = Wikitext String
|Size = String
|Speed = String
|Alignment = String
|Darkvision = String <!--range number i.e. "60"-->
|Features = List (, ) of Wikitext String
|Summary = Wikitext
}}
</noinclude><includeonly>
{{#if: {{{subrace|}}}|<big>'''{{{subrace|}}}'''</big> {{{refs|}}}[[Category:5e]][[Category:Subrace]][[Category:5e {{Type Array|{{{subrace}}}}}]]|}}
:'''Parent Race.''' {{#switch: {{{raceNS|}}}
| = <span style="color:red">'''Error Race Missing'''</span>
| s = {{SRD5|{{{race}}}}}
| s = {{SRD5|{{{race}}}}}
| u = [[{{{race}}} (5e Race)]]
| u = {{5ed|{{{race}}}}}
| p = {{5ep|{{{race}}}}}
| p = {{5ep|{{{race}}}}}
}}-->{{#if: {{{race|}}}|[[Race::{{{race}}}| ]][[Category:5e {{Type Array|{{{race}}}}}]]| }}
| [[{{{raceNS}}}:{{{race}}}]]
:'''Ability Score Increase.''' {{#if: {{{abilitynote|}}}|{{{abilitynote}}}&ensp;[[Subrace Ability Mods::{{{abilitynote}}}| ]]|}}{{5e First Ability Mod Subrace|str={{{str}}}|dex={{{dex}}}|con={{{con}}}|int={{{int}}}|wis={{{wis}}}|cha={{{cha}}}}}{{#if: {{{age|}}}|<nowiki />
}}{{#if: {{{race|}}}|[[Category:5e {{Type Array|{{{race}}}}}]]|}}
:{{5e Ability|Age|{{{age|}}}|nodb={{{nodb|}}}}}|}}{{#if: {{{alignment|}}}|<nowiki />
:'''Ability Score Increase.''' {{#if: {{{abilitynote|}}}|{{{abilitynote}}},&ensp;|}}{{5e First Ability Mod Subrace|str={{{str|}}}|dex={{{dex|}}}|con={{{con|}}}|int={{{int|}}}|wis={{{wis|}}}|cha={{{cha|}}}}}{{#if: {{{age|}}}|<nowiki />
:{{5e Ability|Alignment|{{{alignment|}}}|nodb={{{nodb|}}}}}|}}{{#if: {{{size|}}}|<nowiki />
:'''Age.''' {{{age}}}|}}{{#if: {{{alignment|}}}|<nowiki />
:{{5e Ability|Size|{{#if: {{{sizedesc|}}}|{{{sizedesc}}}<nowiki> </nowiki>|}} Your size is {{ucfirst:{{{size|Medium}}}}}.|nodb={{{nodb|}}}}}|}}{{#if: {{{speed|}}}|<nowiki />
:'''Alignment.''' {{{alignment}}}|}}{{#if: {{{size|}}}|<nowiki />
:{{5e Ability|Speed|Your base {{{speedtype|walking}}} speed is {{{speed|30}}} feet.{{{additionalspeeds|}}}|nodb={{{nodb|}}}}}|}}{{#if: {{{darkvisionfluff|}}} |&nbsp;
:'''Size.''' {{#if: {{{sizedesc|}}}|{{{sizedesc}}}|}} Your size is {{SRD5|{{ucfirst:{{{size}}}}}}}|}}{{#if: {{{speed|}}}|<nowiki />
:{{5e Darkvision|fluff={{{darkvisionfluff}}}|dist={{#if:{{{darkvisiondist|}}}|{{{darkvisiondist}}}|60}}|color={{#if: {{{darkvisioncolor|}}}|{{{darkvisioncolor}}}|gray}}|nodb={{{nodb|}}}}}<!--close darkvision template-->|}}<!--endif fluff-->{{#if: {{{trait1name|}}} |&nbsp;
:'''Speed.''' Your base {{{speedtype|walking}}} speed is {{{speed|30}}} feet.{{{additionalspeeds|}}}|}}{{#if: {{{darkvisionfluff|}}}|<nowiki />
:{{5e Ability|{{{trait1name}}}|{{{trait1desc|No trait1desc written.}}}|nodb={{{nodb|}}}}}[[Subrace Features::{{{trait1name}}}| ]] }}{{#if: {{{trait2name|}}} |&nbsp;
:{{#ifeq: {{{darkvisionfluff|}}}|true|'''Darkvision:''' {{{darkvisiondist|60}}} ft.|{{5e Darkvision|fluff={{{darkvisionfluff}}}|dist={{{darkvisiondist|60}}}|color={{{darkvisioncolor|gray}}}}}<!--close darkvision template-->|}}|}}<!--endif fluff-->{{#if: {{{trait1name|}}} |&nbsp;
:{{5e Ability|{{{trait2name}}}|{{{trait2desc|No trait2desc written.}}}|nodb={{{nodb|}}}}}[[Subrace Features::{{{trait2name}}}| ]] }}{{#if: {{{trait3name|}}} |&nbsp;
:{{5e Ability|{{{trait1name}}}|{{{trait1desc|}}}|nodb={{{nodb|}}}}} }}{{#if: {{{trait2name|}}} |&nbsp;
:{{5e Ability|{{{trait3name}}}|{{{trait3desc|No trait3desc written.}}}|nodb={{{nodb|}}}}}[[Subrace Features::{{{trait3name}}}| ]] }}{{#if: {{{trait4name|}}} |&nbsp;
:{{5e Ability|{{{trait2name}}}|{{{trait2desc|}}}|nodb={{{nodb|}}}}} }}{{#if: {{{trait3name|}}} |&nbsp;
:{{5e Ability|{{{trait4name}}}|{{{trait4desc|No trait4desc written.}}}|nodb={{{nodb|}}}}}[[Subrace Features::{{{trait4name}}}| ]] }}{{#if: {{{trait5name|}}} |&nbsp;
:{{5e Ability|{{{trait3name}}}|{{{trait3desc|}}}|nodb={{{nodb|}}}}} }}{{#if: {{{trait4name|}}} |&nbsp;
:{{5e Ability|{{{trait5name}}}|{{{trait5desc|No trait5desc written.}}}|nodb={{{nodb|}}}}}[[Subrace Features::{{{trait5name}}}| ]] }}{{#if: {{{trait6name|}}} |&nbsp;
:{{5e Ability|{{{trait4name}}}|{{{trait4desc|}}}|nodb={{{nodb|}}}}} }}{{#if: {{{trait5name|}}} |&nbsp;
:{{5e Ability|{{{trait6name}}}|{{{trait6desc|No trait6desc written.}}}|nodb={{{nodb|}}}}}[[Subrace Features::{{{trait6name}}}| ]] }}{{#if: {{{trait7name|}}} |&nbsp;
:{{5e Ability|{{{trait5name}}}|{{{trait5desc|}}}|nodb={{{nodb|}}}}} }}{{#if: {{{trait6name|}}} |&nbsp;
:{{5e Ability|{{{trait7name}}}|{{{trait7desc|No trait7desc written.}}}|nodb={{{nodb|}}}}}[[Subrace Features::{{{trait7name}}}| ]] }}{{#if: {{{trait8name|}}} |&nbsp;
:{{5e Ability|{{{trait6name}}}|{{{trait6desc|}}}|nodb={{{nodb|}}}}} }}{{#if: {{{trait7name|}}} |&nbsp;
:{{5e Ability|{{{trait7name}}}|{{{trait7desc|}}}|nodb={{{nodb|}}}}} }}{{#if: {{{trait8name|}}} |&nbsp;
:{{5e Ability|{{{trait8name}}}|{{{trait8desc|No trait8desc written.}}}|nodb={{{nodb|}}}}}[[Subrace Features::{{{trait8name}}}| ]] }}{{#if: {{{trait9name|}}} |&nbsp;
:{{5e Ability|{{{trait8name}}}|{{{trait8desc|No trait8desc written.}}}|nodb={{{nodb|}}}}}[[Subrace Features::{{{trait8name}}}| ]] }}{{#if: {{{trait9name|}}} |&nbsp;
:{{5e Ability|{{{trait9name}}}|{{{trait9desc|No trait9desc written.}}}|nodb={{{nodb|}}}}}[[Subrace Features::{{{trait9name}}}| ]] }}{{#if: {{{trait10name|}}} |&nbsp;
:{{5e Ability|{{{trait9name}}}|{{{trait9desc|}}}|nodb={{{nodb|}}}}} }}{{#if: {{{trait10name|}}} |&nbsp;
:{{5e Ability|{{{trait10name}}}|{{{trait10desc|No trait10desc written.}}}|nodb={{{nodb|}}} }}[[Subrace Features::{{{trait10name}}}| ]] }}{{#if: {{{trait11name|}}} |&nbsp;
:{{5e Ability|{{{trait10name}}}|{{{trait10desc|}}}|nodb={{{nodb|}}} }} }}{{#if: {{{trait11name|}}} |&nbsp;
:{{5e Ability|{{{trait11name}}}|{{{trait11desc|No trait11desc written.}}}|nodb={{{nodb|}}} }}[[Subrace Features::{{{trait11name}}}| ]] }}{{#if: {{{trait12name|}}} |&nbsp;
:{{5e Ability|{{{trait11name}}}|{{{trait11desc|}}}|nodb={{{nodb|}}} }} }}{{#if: {{{trait12name|}}} |&nbsp;
:{{5e Ability|{{{trait12name}}}|{{{trait12desc|No trait12desc written.}}}|nodb={{{nodb|}}} }}[[Subrace Features::{{{trait12name}}}| ]] }}{{#if: {{{trait13name|}}} |&nbsp;
:{{5e Ability|{{{trait12name}}}|{{{trait12desc|}}}|nodb={{{nodb|}}} }} }}{{#if: {{{trait13name|}}} |&nbsp;
:{{5e Ability|{{{trait13name}}}|{{{trait13desc|No trait13desc written.}}}|nodb={{{nodb|}}} }}[[Subrace Features::{{{trait13name}}}| ]] }}{{#if: {{{trait14name|}}} |&nbsp;
:{{5e Ability|{{{trait13name}}}|{{{trait13desc|}}}|nodb={{{nodb|}}} }} }}{{#if: {{{trait14name|}}} |&nbsp;
:{{5e Ability|{{{trait14name}}}|{{{trait14desc|No trait14desc written.}}}|nodb={{{nodb|}}} }}[[Subrace Features::{{{trait14name}}}| ]] }}{{#if: {{{trait15name|}}} |&nbsp;
:{{5e Ability|{{{trait14name}}}|{{{trait14desc|}}}|nodb={{{nodb|}}} }} }}{{#if: {{{trait15name|}}} |&nbsp;
:{{5e Ability|{{{trait15name}}}|{{{trait15desc|No trait15desc written.}}}|nodb={{{nodb|}}} }}[[Subrace Features::{{{trait15name}}}| ]] }}{{#if: {{{trait16name|}}} |&nbsp;
:{{5e Ability|{{{trait15name}}}|{{{trait15desc|}}}|nodb={{{nodb|}}} }} }}{{#if: {{{trait16name|}}} |&nbsp;
:{{5e Ability|{{{trait16name}}}|{{{trait16desc|No trait16desc written.}}}|nodb={{{nodb|}}} }}[[Subrace Features::{{{trait16name}}}| ]] }}{{#if: {{{trait17name|}}} |&nbsp;
:{{5e Ability|{{{trait16name}}}|{{{trait16desc|}}}|nodb={{{nodb|}}} }} }}{{#if: {{{trait17name|}}} |&nbsp;
:{{5e Ability|{{{trait17name}}}|{{{trait17desc|No trait17desc written.}}}|nodb={{{nodb|}}} }}[[Subrace Features::{{{trait17name}}}| ]] }}{{#if: {{{trait18name|}}} |&nbsp;
:{{5e Ability|{{{trait17name}}}|{{{trait17desc|}}}|nodb={{{nodb|}}} }} }}{{#if: {{{trait18name|}}} |&nbsp;
:{{5e Ability|{{{trait18name}}}|{{{trait18desc|No trait18desc written.}}}|nodb={{{nodb|}}} }}[[Subrace Features::{{{trait18name}}}| ]] }}{{#if: {{{trait19name|}}} |&nbsp;
:{{5e Ability|{{{trait18name}}}|{{{trait18desc|}}}|nodb={{{nodb|}}} }} }}{{#if: {{{trait19name|}}} |&nbsp;
:{{5e Ability|{{{trait19name}}}|{{{trait19desc|No trait19desc written.}}}|nodb={{{nodb|}}} }}[[Subrace Features::{{{trait19name}}}| ]] }}{{#if: {{{trait20name|}}} |&nbsp;
:{{5e Ability|{{{trait19name}}}|{{{trait19desc|}}}|nodb={{{nodb|}}} }} }}{{#if: {{{trait20name|}}} |&nbsp;
:{{5e Ability|{{{trait20name}}}|{{{trait20desc|No trait20desc written.}}|nodb={{{nodb|}}}} }}[[Subrace Features::{{{trait20name}}}| ]] }}{{#if: {{{languages|}}} |&nbsp;
:{{5e Ability|{{{trait20name}}}|{{{trait20desc|}}|nodb={{{nodb|}}}} }} }}{{#if: {{{languages|}}} |&nbsp;
:{{5e Ability|Languages|You can also speak, read, and write {{{languages}}}. {{{languagedesc|}}}|nodb={{{nodb|}}}}} }}
:'''Languages:''' You can also speak, read, and write {{{languages|Common}}}. {{{languagedesc|}}}|}}<!--
cargo store
-->{{#if: {{{nodb|}}}|&ensp;<!--skip-->|{{#cargo_store:
_table = 5e_Subrace
|Subrace = {{#if: {{{subrace|}}}|{{{subrace}}}|{{PAGENAME}}}}
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{PAGENAME}} 5e}}
|Race = {{{race|}}}
|Race_NS = {{#switch: {{{raceNS|}}}
| s = SRD5
| p = 5e
| u = 5e
| d = 5e
| {{{raceNS|}}}
}}
|Ability_Mods = {{#if: {{{abilitynote|}}}|{{{abilitynote}}}&ensp;|}}{{5e First Ability Mod Subrace|str={{{str}}}|dex={{{dex}}}|con={{{con}}}|int={{{int}}}|wis={{{wis}}}|cha={{{cha}}}}}
|Size = {{{size|Medium}}}
|Speed = {{#if: {{{speed|}}}|{{{speed}}} ft.}}
|Alignment = {{{alignment|}}}
|Darkvision = {{#if: {{{darkvisionfluff|}}}|{{{darkvisiondist|60}}}|}}
|Features = {{{trait1name|}}}{{#if: {{{trait2name|}}}|, {{{trait2name}}}{{#if: {{{trait3name|}}}|, {{{trait3name}}}{{#if: {{{trait4name|}}}|, {{{trait4name}}}{{#if: {{{trait5name|}}}|, {{{trait5name}}}{{#if: {{{trait6name|}}}|, {{{trait6name}}}{{#if: {{{trait7name|}}}|, {{{trait7name}}}{{#if: {{{trait8name|}}}|, {{{trait8name}}}{{#if: {{{trait9name|}}}|, {{{trait9name}}}{{#if: {{{trait10name|}}}|, {{{trait10name}}}{{#if: {{{trait11name|}}}|, {{{trait11name}}}{{#if: {{{trait12name|}}}|, {{{trait12name}}}{{#if: {{{trait13name|}}}|, {{{trait13name}}}{{#if: {{{trait14name|}}}|, {{{trait14name}}}{{#if: {{{trait15name|}}}|, {{{trait15name}}}{{#if: {{{trait16name|}}}|, {{{trait16name}}}{{#if: {{{trait17name|}}}|, {{{trait17name}}}{{#if: {{{trait18name|}}}|, {{{trait18name}}}{{#if: {{{trait19name|}}}|, {{{trait19name}}}{{#if: {{{trait20name|}}}|, {{{trait20name}}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}
|Summary = {{{summary|}}}
}}}}
</includeonly><noinclude>{{documentation}}
</includeonly><noinclude>{{documentation}}
[[Category:5e Templates|Subrace Traits Template 5e]]</noinclude>
[[Category:5e Templates|Subrace Traits Template 5e]]</noinclude>

Latest revision as of 18:26, 11 February 2022

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

Template documentation (for the above template, sometimes hidden or invisible)

Description The 5e Subrace Traits is used on articles that describe a playable subrace in 5th edition.

Syntax

 
{{5e Subrace Traits
|subrace=
|sorttext=
|race= 
|raceNS= <!-- s=SRD5, u=user creation -->
|abilityscores= <!--deprecated-->
|abilitynote= <!--blank, note such as Choice of-->
|str= <!-- +1, +2, etc. -->
|dex=
|con=
|int=
|wis=
|cha=
|age= <!--description of the lifespan of your race-->
|size= <!--size of your race (Small, Medium, Large)-->
|sizedesc= <!--description of size-->
|speed= <!--Your base walking speed is __ feet (25 or 30)-->
|alignment= <!--The alignment your race leans toward-->
|darkvisionfluff= <!--Description/reason for darkvision in your race (if it has darkvision)-->
|darkvisiondist= <!--number of feet that your darkvision is effective-->
|darkvisioncolor= <!--colors of darkvision-->
|trait1name= <!--name of 1st trait-->
|trait1desc= <!--description of 1st trait-->
|trait2name= <!--name of 2nd trait-->
|trait2desc= <!--description of 2nd trait--><!--

repeat for as many traits as your race has (max. 20)
-->
|trait20name= <!--name of 20th trait-->
|trait20desc= <!--description of 20th trait-->
|languages= <!--name of languages known by your race-->
|summary= <!--unplagiarized description-->
}}

Example

{{5e Subrace Traits
|subrace=Po
|sorttext=
|race=Foo
|raceNS=u <!-- s=SRD5, u=user creation -->
|abilityscores= <!--deprecated-->
|abilitynote= <!--blank, note such as Choice of-->
|str= <!-- +1, +2, etc. -->
|dex=
|con=
|int=+1
|wis=+2
|cha=
|age=The bar mature at 50 and live an average of 50 years past that.
|size= <!--size of your race (small, medium, large)-->
|sizedesc= <!--description of size-->
|speed=<!--Your base walking speed is __ feet (25 or 30)-->
|alignment= <!--The alignment your race leans toward-->
|darkvisionfluff=true <!--Description/reason for darkvision in your race (if it has darkvision)-->
|darkvisiondist= <!--number of feet that your darkvision is effective-->
|darkvisioncolor= <!--colors of darkvision-->
|trait1name=Poness <!--name of 1st trait-->
|trait1desc=A Po may reroll any {{SRD5|Constitution}} check or save.
|trait2name= <!--name of 2nd trait-->
|trait2desc=
|languages=Barbar
|summary=summary of bar
}}

produces:


Po

Parent Race. Foo
Ability Score Increase. Intelligence +1 Wisdom +2
Age. The bar mature at 50 and live an average of 50 years past that.
Darkvision. Because you like the dark. You can see in dim light within 60 feet of you as if it were bright light, and in darkness as if it were dim light. You can't discern color in darkness, only shades of gray. 
Poness. A Po may reroll any Constitution check or save. 
Languages: You can also speak, read, and write BarBar. 


Template Attribution

Template is modified from dnd-wiki.com

Any categories for the template itself