Difference between revisions of "Template:5e Racial Traits"
From Dungeons and Dragons Wiki
m |
m |
||
Line 12: | Line 12: | ||
:{{5e Ability|Size|{{#if: {{{sizedesc|}}}|{{{sizedesc}}}<nowiki> </nowiki>|}} Your size is {{ucfirst:{{{size|medium}}}}}{{#set: Size={{{size}}}}}. }} | :{{5e Ability|Size|{{#if: {{{sizedesc|}}}|{{{sizedesc}}}<nowiki> </nowiki>|}} Your size is {{ucfirst:{{{size|medium}}}}}{{#set: Size={{{size}}}}}. }} | ||
:{{5e Ability|Speed|Your base {{{speedtype|walking}}} speed is {{{speed|30}}} feet. {{{additionalspeeds|}}} }}{{#if: {{{darkvisionfluff|}}} | | :{{5e Ability|Speed|Your base {{{speedtype|walking}}} speed is {{{speed|30}}} feet. {{{additionalspeeds|}}} }}{{#if: {{{darkvisionfluff|}}} | | ||
− | :{{5e Darkvision|fluff={{#ifeq: {{{darkvisionfluff}}}| | + | :{{5e Darkvision|fluff={{#ifeq: {{{darkvisionfluff}}}|true|<!--skip-->|{{{darkvisionfluff}}}|}}|dist={{#if:{{{darkvisiondist|}}}|{{{darkvisiondist}}}{{#set: Features=Darkvision {{{darkvisiondist}}}}}|60{{#set: Features=Darkvision 60}}}}|color={{#if: {{{darkvisioncolor|}}}|{{{darkvisioncolor}}}|gray}}}}<!--close darkvision template-->|}}<!--endif fluff-->{{#if: {{{trait1name|}}} | |
:{{5e Ability|{{{trait1name}}}|{{{trait1desc|No trait1desc written.}}} }}{{#set: Features={{{trait1name}}}}} }}{{#if: {{{trait2name|}}} | | :{{5e Ability|{{{trait1name}}}|{{{trait1desc|No trait1desc written.}}} }}{{#set: Features={{{trait1name}}}}} }}{{#if: {{{trait2name|}}} | | ||
:{{5e Ability|{{{trait2name}}}|{{{trait2desc|No trait2desc written.}}} }}{{#set: Features={{{trait2name}}}}} }}{{#if: {{{trait3name|}}} | | :{{5e Ability|{{{trait2name}}}|{{{trait2desc|No trait2desc written.}}} }}{{#set: Features={{{trait2name}}}}} }}{{#if: {{{trait3name|}}} | |
Revision as of 23:18, 5 May 2022
Template documentation (for the above template, sometimes hidden or invisible)
Contents
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
Visit Template:5e Racial Traits/doc to edit this text! (How does this work?)
- ↑ p. 33. Licensed: Public Domain.