Template:5e Racial Traits: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(categorize multiple creature types) |
||
(47 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|Sort_Text = String | |Sort_Text = String | ||
|Race_Name = String | |Race_Name = String | ||
|Race_Ability_Mod= Wikitext | |Creature_Type = List (, ) of String | ||
|Race_Ability_Note = Wikitext | |Lineage = Boolean | ||
|Race_Ability_Mod= Wikitext String | |||
|Race_Ability_Note = Wikitext String | |||
|Race_Str = String | |Race_Str = String | ||
|Race_Dex = String | |Race_Dex = String | ||
Line 15: | Line 17: | ||
|Race_Size = String | |Race_Size = String | ||
|Race_Walking_Speed = String | |Race_Walking_Speed = String | ||
|Race_Other_Speeds = String | |Race_Other_Speeds = Wikitext String | ||
|Race_Darkvision = String | |Race_Darkvision = String | ||
| | |Race_Features = List (, ) of String | ||
|Race_Summary = Wikitext | |Race_Summary = Wikitext | ||
}} | }} | ||
Line 27: | Line 26: | ||
[[Template:5e Race Pointer]]<br /> | [[Template:5e Race Pointer]]<br /> | ||
[[Template:5e Subrace Traits]] | [[Template:5e Subrace Traits]] | ||
</div></noinclude><includeonly> | </div></noinclude><includeonly>{{#if: {{{name|}}}|'''<big>{{{name}}}</big>|name missing|}}''' {{{refs|}}} <br /> | ||
:'''{{anchor|Ability Score Increase}}.''' {{#if: {{{abilitynote|}}}|{{{abilitynote}}} |}}{{5e First Ability Mod|table=5e_Race|str={{{str|}}}|dex={{{dex|}}}|con={{{con|}}}|int={{{int|}}}|wis={{{wis|}}}|cha={{{cha|}}}}} | :'''{{anchor|Creature Type}}.''' {{#if: {{{creaturetype|}}}|{{5e Creature Type|{{{creaturetype}}}}}|{{#if: {{{ccreaturetype|}}}|{{{ccreaturetype}}}|{{SRD5|Humanoid}}|}}}} | ||
:'''''{{anchor|Age}}.''''' {{{age|}}} | :'''{{anchor|Ability Score Increase}}.''' {{#if: {{{lineage|}}}|Increase one {{srd5lc|Ability Score}} by 2{{#if: {{{subrace|}}}|, or two different ability scores by 1.|<!--no subrace--> and another one by 1, or increase three different ability scores by 1.}}|<!--not lineage-->{{#if: {{{abilitynote|}}}|{{{abilitynote}}} |}}{{5e First Ability Mod|table=5e_Race|str={{{str|}}}|dex={{{dex|}}}|con={{{con|}}}|int={{{int|}}}|wis={{{wis|}}}|cha={{{cha|}}}}}|}}{{#if: {{{age|}}}|<br /> | ||
:'''''{{anchor|Alignment}}.''''' {{{alignment|}}} | :'''''{{anchor|Age}}.''''' {{{age}}}|}}{{#if: {{{lineage|}}}|<!--skip-->|{{#if: {{{alignment|}}}|<br /> | ||
:'''''{{anchor|Alignment}}.''''' {{{alignment|}}}|}}|}} | |||
:'''''{{anchor|Size}}.''''' {{#if: {{{sizedesc|}}}|{{{sizedesc}}}<nowiki> </nowiki>|}} Your size is {{ucfirst:{{{size|medium}}}}}. | :'''''{{anchor|Size}}.''''' {{#if: {{{sizedesc|}}}|{{{sizedesc}}}<nowiki> </nowiki>|}} Your size is {{ucfirst:{{{size|medium}}}}}. | ||
:'''''{{anchor|Speed}}.''''' Your base {{{speedtype|walking}}} speed is {{{speed|30}}} feet. {{{additionalspeeds|}}}{{#if: {{{darkvisionfluff|}}} | | :'''''{{anchor|Speed}}.''''' Your base {{{speedtype|walking}}} speed is {{{speed|30}}} feet. {{{additionalspeeds|}}}{{#if: {{{darkvisionfluff|}}} | | ||
:{{5e Darkvision|fluff={{{darkvisionfluff}}}|dist={{#if:{{{darkvisiondist|}}}|{{{darkvisiondist}}}|60}}|color={{{darkvisioncolor|}}}}}<!--close darkvision template-->|}}<!--endif | :{{#ifeq: {{{darkvisionfluff}}}|true| | ||
:{{5e Ability|{{{trait1name}}}|{{{trait1desc | {{5e Darkvision|dist={{{darkvisiondist|}}}|color={{{darkvisioncolor|}}}}}<!--close darkvision template-->|<!--fluff ≠ true-->{{5e Darkvision|fluff={{{darkvisionfluff}}}|dist={{#if:{{{darkvisiondist|}}}|{{{darkvisiondist}}}|60}}|color={{{darkvisioncolor|}}}}}<!--close darkvision template-->|}}|}}<!--endif dvfluff-->{{#if: {{{trait1name|}}}|<nowiki /> | ||
:{{5e Ability|{{{trait2name}}}|{{{trait2desc | :{{5e Ability|{{{trait1name}}}|{{{trait1desc|}}}|nodb=true}}|}}{{#if: {{{trait2name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait3name}}}|{{{trait3desc | :{{5e Ability|{{{trait2name}}}|{{{trait2desc|}}}|nodb=true}}|}}{{#if: {{{trait3name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait4name}}}|{{{trait4desc | :{{5e Ability|{{{trait3name}}}|{{{trait3desc|}}}|nodb=true}}|}}{{#if: {{{trait4name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait5name}}}|{{{trait5desc | :{{5e Ability|{{{trait4name}}}|{{{trait4desc|}}}|nodb=true}}|}}{{#if: {{{trait5name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait6name}}}|{{{trait6desc | :{{5e Ability|{{{trait5name}}}|{{{trait5desc|}}}|nodb=true}}|}}{{#if: {{{trait6name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait7name}}}|{{{trait7desc | :{{5e Ability|{{{trait6name}}}|{{{trait6desc|}}}|nodb=true}}|}}{{#if: {{{trait7name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait8name}}}|{{{trait8desc | :{{5e Ability|{{{trait7name}}}|{{{trait7desc|}}}|nodb=true}}|}}{{#if: {{{trait8name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait9name}}}|{{{trait9desc | :{{5e Ability|{{{trait8name}}}|{{{trait8desc|}}}|nodb=true}}|}}{{#if: {{{trait9name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait10name}}}|{{{trait10desc | :{{5e Ability|{{{trait9name}}}|{{{trait9desc|}}}|nodb=true}}|}}{{#if: {{{trait10name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait11name}}}|{{{trait11desc | :{{5e Ability|{{{trait10name}}}|{{{trait10desc|}}}|nodb=true}}|}}{{#if: {{{trait11name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait12name}}}|{{{trait12desc | :{{5e Ability|{{{trait11name}}}|{{{trait11desc|}}}|nodb=true}}|}}{{#if: {{{trait12name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait13name}}}|{{{trait13desc | :{{5e Ability|{{{trait12name}}}|{{{trait12desc|}}}|nodb=true}}|}}{{#if: {{{trait13name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait14name}}}|{{{trait14desc | :{{5e Ability|{{{trait13name}}}|{{{trait13desc|}}}|nodb=true}}|}}{{#if: {{{trait14name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait15name}}}|{{{trait15desc | :{{5e Ability|{{{trait14name}}}|{{{trait14desc|}}}|nodb=true}}|}}{{#if: {{{trait15name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait16name}}}|{{{trait16desc | :{{5e Ability|{{{trait15name}}}|{{{trait15desc|}}}|nodb=true}}|}}{{#if: {{{trait16name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait17name}}}|{{{trait17desc | :{{5e Ability|{{{trait16name}}}|{{{trait16desc|}}}|nodb=true}}|}}{{#if: {{{trait17name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait18name}}}|{{{trait18desc | :{{5e Ability|{{{trait17name}}}|{{{trait17desc|}}}|nodb=true}}|}}{{#if: {{{trait18name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait19name}}}|{{{trait19desc | :{{5e Ability|{{{trait18name}}}|{{{trait18desc|}}}|nodb=true}}|}}{{#if: {{{trait19name|}}} |<nowiki /> | ||
:{{5e Ability|{{{trait20name}}}|{{{trait20desc | :{{5e Ability|{{{trait19name}}}|{{{trait19desc|}}}|nodb=true}}|}}{{#if: {{{trait20name|}}} |<nowiki /> | ||
:'''''{{anchor|Languages}}.'''''You can speak, read, and write {{{languages|Common}}}. {{{languagedesc|}}} | :{{5e Ability|{{{trait20name}}}|{{{trait20desc|}}}|nodb=true}}|}} | ||
:'''''{{anchor|Languages}}.''''' You can speak, read, and write {{#if: {{{languages}}}|{{{languages}}}|{{#if: {{{lineage|}}}|{{5elang|Common}} and 1 other {{srd5lc|language}} of your choice.|<!--not lineage-->{{5elang|Common}}.|}} {{{languagedesc|}}}|}} | |||
<!-- store data --> | <!-- store data --> | ||
{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store: | {{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store: | ||
_table = 5e_Race | _table = 5e_Race | ||
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}}{{#if: {{{ | |Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}} {{NAMESPACE}}|{{PAGENAME}} {{NAMESPACE}}|}} | ||
| | |Race_Name = {{{name|}}} | ||
|Creature_Type = {{#if: {{{creaturetype|}}}|{{#arraymap: {{{1|}}}|,|xtypex|xtypex}}|{{#if: {{{ccreaturetype|}}}|{{{ccreaturetype}}}|Humanoid|}}}} | |||
|Lineage = {{#if: {{{lineage|}}}|1|0|}} | |||
|Race_Ability_Note = {{{abilitynote|}}} | |Race_Ability_Note = {{{abilitynote|}}} | ||
|Race_Str = {{{str|}}} | |Race_Str = {{{str|}}} | ||
Line 67: | Line 70: | ||
|Race_Wis = {{{wis|}}} | |Race_Wis = {{{wis|}}} | ||
|Race_Cha = {{{cha|}}} | |Race_Cha = {{{cha|}}} | ||
|Race_Ability_Mod={{#if: {{{abilitynote|}}}|{{{abilitynote}}} |}}{{5e First Ability Mod|table=5e_Race|str={{{str|}}}|dex={{{dex|}}}|con={{{con|}}}|int={{{int|}}}|wis={{{wis|}}}|cha={{{cha|}}}}} | |Race_Ability_Mod={{#if: {{{lineage|}}}|Increase one {{srd5lc|Ability Score}} by 2{{#if: {{{subrace|}}}|, or two different ability scores by 1.|<!--no subrace--> and another one by 1, or increase three different ability scores by 1.}}|<!--not lineage-->{{#if: {{{abilitynote|}}}|{{{abilitynote}}} |}}{{5e First Ability Mod|table=5e_Race|str={{{str|}}}|dex={{{dex|}}}|con={{{con|}}}|int={{{int|}}}|wis={{{wis|}}}|cha={{{cha|}}}}}}} | ||
|Race_Size = {{{size|}}} | |Race_Size = {{{size|}}} | ||
|Race_Walking_Speed = {{{speed|}}} | |Race_Walking_Speed = {{{speed|}}} | ||
|Race_Other_Speeds = {{{additionalspeeds|}}} | |Race_Other_Speeds = {{{additionalspeeds|}}} | ||
|Race_Darkvision = {{#if: {{{darkvisionfluff|}}}| | |Race_Darkvision = {{#if: {{{darkvisionfluff|}}}|{{#if: {{{darkvisiondist|}}}|{{{darkvisiondist}}}|60|}} feet|}} | ||
|Race_Summary = {{{summary|}}} | |Race_Summary = {{{summary|}}} | ||
}}}} | |Race_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}}}|}} | ||
}}<!-- | |||
--Categories--> | |||
{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} {{NAMESPACE}}}}|{{DEFAULTSORTKEY:{{PAGENAME}} {{NAMESPACE}}}}|}}[[Category:5e]][[Category:5e {{Type Array|{{{name}}}}}]][[Category:5e Races]][[Category:DnD Races]]{{#if: {{{creaturetype|}}}|[[Category:5e {{#arraymap: {{{1|}}}|,|xtypex|{{Array Type|xtypex}}}}]]|{{#if: {{{ccreaturetype|}}}|<!-- skip Manually Categorize-->|[[Category:5e Humanoids]]|}}}} | |||
}} | |||
</includeonly><noinclude>{{documentation}} | </includeonly><noinclude>{{documentation}} | ||
[[Category:5e Templates|Racial Traits Template 5e]]</noinclude> | [[Category:5e Templates|Racial Traits Template 5e]]</noinclude> |
Latest revision as of 06:05, 19 November 2022
This template defines the table "5e_Race". View table.
Related Templates:
Template:5e Race Pointer
Template:5e Subrace Traits
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= <!--references--> |creaturetype= |lineage= <!--blank, 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=<!-- blank if lineage; 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; 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 trait. NOTE: pointers will not have trait descriptions --> |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=<!-- blank if lineage, 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 --> |summary= }}
Add'l Parameters
|canon= <!--blank, true if published by [[WotC]]--> |ccreaturetype= <!--creature types w/ choice --> |pointer= <!--blank, only used in pointers--> |hidden= <!--blank, admin use only--> |ua= <!--blank, true if unearthed arcana-->
Example
{{5e Racial Traits |name=Foo |sorttext= |refs=<ref name="fgtn.188">{{Cite Pub|Foo's Guide to Nothing|pages=188}} 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=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=Due to the foo heritage<!-- blank=no darkvision; or the reason why your race has darkvision.--> |darkvisiondist=<!-- blank=30 feet; or distance of darvision --> |darkvisioncolor=<!-- blank=gray; or color of darkvision --> |languages=Foos speak {{SRD5|Common}} and one other language of their choice. |languagedesc=<!-- a description of the racial language, options or descriptions --> |subrace=y |summary=Race of Foos. |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. }}
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.
- Darkvision. Due to the foo heritage 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.
- 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 Foos speak Common and one other language of their choice.
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?)
- Foo's Guide to Nothing p. 188. Licensed: Public Domain. ↑