Template:5e Subrace Traits: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <noinclude> | ||
{{#cargo_declare: | |||
_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> | |||
[[Category:5e]][[Category:Subrace]]<!--{{#switch: {{{raceNS|}}} | [[Category:5e]][[Category:Subrace]]<!--{{#switch: {{{raceNS|}}} | ||
| = <span style="color:red">'''Error Race Missing'''</span> | | = <span style="color:red">'''Error Race Missing'''</span> | ||
| s = {{SRD5|{{{race}}}}} | | s = {{SRD5|{{{race}}}}} | ||
| u = | | u = {{5ed|{{{race}}}}} | ||
| p = {{5ep|{{{race}}}}} | | p = {{5ep|{{{race}}}}} | ||
}}-->{{#if: {{{race|}}}| | }}-->{{#if: {{{race|}}}|[[Category:5e {{Type Array|{{{race}}}}}]]|}} | ||
:'''Ability Score Increase.''' {{#if: {{{abilitynote|}}}|{{{abilitynote}}}  | :'''Ability Score Increase.''' {{#if: {{{abilitynote|}}}|{{{abilitynote}}} {{5e First Ability Mod Subrace|str={{{str}}}|dex={{{dex}}}|con={{{con}}}|int={{{int}}}|wis={{{wis}}}|cha={{{cha}}}}}{{#if: {{{age|}}}|<nowiki /> | ||
: | :'''Age.''' {{{age}}}|}}{{#if: {{{alignment|}}}|<nowiki /> | ||
: | :'''Alignment.''' {{{alignment}}}|}}<nowiki /> | ||
: | :'''Size.''' {{#if: {{{sizedesc|}}}|{{{sizedesc}}}|}} Your size is {{ucfirst:{{{size|Medium}}}}}<nowiki /> | ||
:'''Speed.''' {{#if: {{{speed|}}}|Your base {{{speedtype|walking}}} speed is {{{speed|30}}} feet.{{{additionalspeeds|}}}|}}{{#if: {{{darkvisionfluff|}}} | | |||
:{{5e Darkvision|fluff={{{darkvisionfluff}}}|dist={{#if:{{{darkvisiondist|}}}|{{{darkvisiondist}}}|60}}|color={{#if: {{{darkvisioncolor|}}}|{{{darkvisioncolor}}}|gray | :{{5e Darkvision|fluff={{{darkvisionfluff}}}|dist={{#if:{{{darkvisiondist|}}}|{{{darkvisiondist}}}|60}}|color={{#if: {{{darkvisioncolor|}}}|{{{darkvisioncolor}}}|gray}}}}<!--close darkvision template-->|}}<!--endif fluff-->{{#if: {{{trait1name|}}} | | ||
:{{5e Ability|{{{trait1name}}}|{{{trait1desc|No trait1desc written.}}}|nodb={{{nodb|}}}}}[[Subrace Features::{{{trait1name}}}| ]] }}{{#if: {{{trait2name|}}} | | :{{5e Ability|{{{trait1name}}}|{{{trait1desc|No trait1desc written.}}}|nodb={{{nodb|}}}}}[[Subrace Features::{{{trait1name}}}| ]] }}{{#if: {{{trait2name|}}} | | ||
:{{5e Ability|{{{trait2name}}}|{{{trait2desc|No trait2desc written.}}}|nodb={{{nodb|}}}}}[[Subrace Features::{{{trait2name}}}| ]] }}{{#if: {{{trait3name|}}} | | :{{5e Ability|{{{trait2name}}}|{{{trait2desc|No trait2desc written.}}}|nodb={{{nodb|}}}}}[[Subrace Features::{{{trait2name}}}| ]] }}{{#if: {{{trait3name|}}} | | ||
Line 32: | Line 47: | ||
:{{5e Ability|{{{trait19name}}}|{{{trait19desc|No trait19desc written.}}}|nodb={{{nodb|}}} }}[[Subrace Features::{{{trait19name}}}| ]] }}{{#if: {{{trait20name|}}} | | :{{5e Ability|{{{trait19name}}}|{{{trait19desc|No trait19desc written.}}}|nodb={{{nodb|}}} }}[[Subrace Features::{{{trait19name}}}| ]] }}{{#if: {{{trait20name|}}} | | ||
:{{5e Ability|{{{trait20name}}}|{{{trait20desc|No trait20desc written.}}|nodb={{{nodb|}}}} }}[[Subrace Features::{{{trait20name}}}| ]] }}{{#if: {{{languages|}}} | | :{{5e Ability|{{{trait20name}}}|{{{trait20desc|No trait20desc written.}}|nodb={{{nodb|}}}} }}[[Subrace Features::{{{trait20name}}}| ]] }}{{#if: {{{languages|}}} | | ||
:{{5e Ability|Languages|You can also speak, read, and write {{{languages}}}. {{{languagedesc|}}}|nodb={{{nodb|}}}}} }} | :{{5e Ability|Languages|You can also speak, read, and write {{{languages}}}. {{{languagedesc|}}}|nodb={{{nodb|}}}}} }}<!-- | ||
cargo store | |||
-->{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store: | |||
_table = 5e_Subrace | |||
|Subrace = {{{subrace|}}} | |||
|Sort_Text = {{sorttext|}}} | |||
|Race = {{{race|}}} | |||
|Race_NS = {{{raceNS|SRD5}}} | |||
|Ability_Mods = {{#if: {{{abilitynote|}}}|{{{abilitynote}}} {{5e First Ability Mod Subrace|str={{{str}}}|dex={{{dex}}}|con={{{con}}}|int={{{int}}}|wis={{{wis}}}|cha={{{cha}}}}} | |||
|Size = {{{size|Medium}}} | |||
|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> |
Revision as of 19:09, 7 June 2020
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:
- Ability Score Increase. {{#if: | Intelligence +1 , Wisdom +2
- Age. The bar mature at 50 and live an average of 50 years past that.
- Size. Your size is
- Speed.
- 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.{{#if: true||
Template Attribution
Template is modified from dnd-wiki.com
Any categories for the template itself
Visit Template:5e Subrace Traits/doc to edit this text! (How does this work?)