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

From Dungeons and Dragons Wiki
Jump to: navigation, search
m
m (property: Is Lineage)
Line 7: Line 7:
 
<span style="font-size:1.3em;">'''{{{name|}}}'''</span> {{{refs|}}}
 
<span style="font-size:1.3em;">'''{{{name|}}}'''</span> {{{refs|}}}
 
:'''Creature Type.''' {{#if: {{{creaturetype|}}}|{{5e Creature Type Line|{{{creaturetype}}}}}|{{SRD5|Humanoid}}{{#set: Type=Humanoid}}|}}
 
:'''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}}}}}|}}
+
:'''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}}{{#set: Is Lineage=true}}|<!--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|}}} }} |}}

Revision as of 16:28, 6 May 2022

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.