Difference between revisions of "Template:5e Racial Traits"

From Dungeons and Dragons Wiki
Jump to: navigation, search
(lineage)
Line 5: Line 5:
 
[[Template:5e Subrace Traits]]
 
[[Template:5e Subrace Traits]]
 
|}</noinclude>--><includeonly>{{#set: Is Race=true}}[[Category:5e Races]][[Category:Race]]
 
|}</noinclude>--><includeonly>{{#set: Is Race=true}}[[Category:5e Races]][[Category:Race]]
:'''Ability Score Increase.''' <!--{{#if: {{{abilityscores|}}}|{{{abilityscores}}}|}}abilityscores is deprecated-->{{#if: {{{lineage|}}}| Increase one {{srd5lc|Ability Score}} by 2 and another one by 1, or increase three different ability scores by 1{{#set: Ability Mods=Increase one ability score by 2 and another one by 1, or increase three different ability scores by 1}}|<!--not lineage-->{{#if: {{{abilitynote|}}}|{{{abilitynote}}}&ensp;{{#set: Ability Mods={{{abilitynote}}}}}|}}{{5e First Ability Mod|str={{{str}}}|dex={{{dex}}}|con={{{con}}}|int={{{int}}}|wis={{{wis}}}|cha={{{cha}}}}}|}}
+
:'''Creature Type.''' {{#if: {{{creaturetype|}}}|{{5e Creature Type Line|{{{creaturetype}}}}}|{{SRD5|Humanoid}}{{#set: Type=Humanoid}}|}}
 +
:'''Ability Score Increase.''' {{#if: {{{lineage|}}}|Increase one {{srd5lc|Ability Score}} by 2 and another one by 1, or increase three different ability scores by 1{{#set: Ability Mods=Increase one {{srd5lc|Ability Score}} by 2 and another one by 1, or increase three different ability scores by 1}}|<!--not lineage-->{{#if: {{{abilitynote|}}}|{{{abilitynote}}}&ensp;{{#set: Ability Mods={{{abilitynote}}}}}|}}{{5e First Ability Mod|str={{{str}}}|dex={{{dex}}}|con={{{con}}}|int={{{int}}}|wis={{{wis}}}|cha={{{cha}}}}}|}}
 
:{{5e Ability|Age|{{{age|}}} }}{{#if: {{{lineage|}}}|<!--skip-->|<nowiki />
 
:{{5e Ability|Age|{{{age|}}} }}{{#if: {{{lineage|}}}|<!--skip-->|<nowiki />
 
:{{5e Ability|Alignment|{{{alignment|}}} }} |}}
 
:{{5e Ability|Alignment|{{{alignment|}}} }} |}}
Line 31: Line 32:
 
:{{5e Ability|{{{trait19name}}}|{{{trait19desc|No trait19desc written.}}} }}{{#set: Features={{{trait19name}}}}} }}{{#if: {{{trait20name|}}} |&nbsp;
 
:{{5e Ability|{{{trait19name}}}|{{{trait19desc|No trait19desc written.}}} }}{{#set: Features={{{trait19name}}}}} }}{{#if: {{{trait20name|}}} |&nbsp;
 
:{{5e Ability|{{{trait20name}}}|{{{trait20desc|No trait20desc written.}}} }}{{#set: Features={{{trait20name}}}}} }}
 
:{{5e Ability|{{{trait20name}}}|{{{trait20desc|No trait20desc written.}}} }}{{#set: Features={{{trait20name}}}}} }}
:{{5e Ability|Languages|You can speak, read, and write {{#if: {{{lineage|}}}|Common and one other language of choice.|{{{languages|Common}}}.|}} {{{languagedesc|}}} }}{{#if: {{{subrace|}}} |<!--&nbsp;
+
:{{5e Ability|Languages|You can speak, read, and write {{#if: {{{lineage|}}}|{{SRD5|Common}} and one other language of choice.|{{{languages|Common}}}.|}} {{{languagedesc|}}} }}{{#if: {{{subrace|}}} |<!--&nbsp;
 
:{{5e Ability|Subrace|{{{subrace}}} }}-->{{#set: Subrace=true}} }}
 
:{{5e Ability|Subrace|{{{subrace}}} }}-->{{#set: Subrace=true}} }}
 
</includeonly><noinclude>{{documentation}}
 
</includeonly><noinclude>{{documentation}}
 
[[Category:5e Templates|Racial Traits Template 5e]]</noinclude>
 
[[Category:5e Templates|Racial Traits Template 5e]]</noinclude>

Revision as of 02:02, 15 March 2021

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

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

Syntax

 
{{5e Racial Traits
|name=
|sorttext=
|refs=
|creaturetype=
|lineage= <!--blank, or true if lineage-->
|abilitynote= <!--blank, note such as Choice of-->
|str=
|dex=
|con=
|int=
|wis=
|cha=
|age=<!-- the age that the race reaches adulthood, and life expectancy -->
|alignment=<!-- the most common alignments of the race, and a short reason why -->
|sizedesc=<!-- the average height of the race -->
|size=<!-- size category of the race, like "Medium" -->
|speed=<!-- base speed of the race, as a number like "30" -->
|speedtype=<!-- blank; or movement type if not walking -->
|additionalspeeds=<!-- any additional movement types that the race has -->
|darkvisionfluff=<!-- blank=no darkvision; true=std.fluff, or the reason why your race has darkvision.-->
|darkvisiondist=<!-- blank=30 feet; or distance of darvision -->
|darkvisioncolor=<!-- blank=gray; or color of darkvision -->
|trait1name=<!-- the name of the first custom racial trait of the race -->
|trait1desc=<!-- mechanics and rules of the associated custom racial trait -->

|trait2name=<!-- as 1 above -->
|trait2desc=<!-- as 1 above -->

|trait3name=<!-- as 1 above -->
|trait3desc=<!-- as 1 above -->

|trait4name=<!-- as 1 above -->
|trait4desc=<!-- as 1 above -->

<!-- this template supports additional traits, up to trait20name and trait20desc. add as many as you need -->

|languages=<!-- languages that you can speak, read, and write. defaults to "Common"-->
|languagedesc=<!-- a description of the racial language, options or descriptions -->
|subrace=<!-- y or blank -->
}}

Example

{{5e Racial Traits
|name=Foo
|sorttext=
|refs=<ref name="fgtn.33">{{Cite Pub|Foo's Guide to Nothing|pages=33}} Licensed: [[Public Domain]].</ref>
|creaturetype=
|lineage=
|abilitynote= <!--blank, note such as Choice of-->
|str=+1
|dex=+2
|con=
|int=
|wis=
|cha=
|age=The foo mature at 100 and live an average of 1 year past that.
|alignment=Foos tend toward neutrality.
|size={{SRD5|Medium}} <!--size of your race (small, medium, large)-->
|sizedesc= Foos are slightly shorter and broader than humans.
|speed=30<!-- base speed of the race, as a number like "30" -->
|speedtype=<!-- blank; or movement type if not walking -->
|additionalspeeds=<!-- any additional movement types that the race has -->
|darkvisionfluff=<!-- blank=no darkvision; nofluff=skip fluff; or the reason why your race has darkvision.-->
|darkvisiondist=<!-- blank=30 feet; or distance of darvision -->
|darkvisioncolor=<!-- blank=gray; or color of darkvision -->
|trait1name=Fooishness <!--name of 1st trait-->
|trait1desc=A foo may reroll any {{SRD5|Wisdom}} check or save.
|trait2name=Barrishness <!--name of 2nd trait-->
|trait2desc=The foo can use a {{srd5lc|Bonus Action}} to bar any creature from approaching within 10 feet of it. The target creatures may make a {{SRD5|Wisdom}} {{srd5lc|Saving Throw}} ({{SRD5|DC}} 14) to overcome this effect.
|languages={{SRD5|Common}} and Fooishness
|languagedesc=<!-- a description of the racial language, options or descriptions -->
|subrace=y
}}

produces:
Foo[1]

Creature Type. Humanoid
Ability Score Increase. Strength +1, Dexterity +2
Age. The foo mature at 100 and live an average of 1 year past that.
Alignment. Foos tend toward neutrality.
Size. Foos are slightly shorter and broader than humans. Your size is Medium.
Speed. Your base speed is 30 feet.  
Fooishness. A foo may reroll any Wisdom check or save. 
Barrishness. The foo can use a bonus action to bar any creature from approaching within 10 feet of it. The target creatures may make a Wisdom saving throw (DC 14) to overcome this effect.
Languages. You can speak, read, and write Common and Fooishness




Template Attribution

Template is modified from dnd-wiki.com

Any categories for the template itself


  1. p. 33. Licensed: Public Domain.