Difference between revisions of "Template:5e Subrace Traits"
From Dungeons and Dragons Wiki
Tarkisflux (talk | contribs) m |
m |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly><span style="font-size:1.4em;">'''{{{subrace|}}}'''</span> {{{refs|}}} |
− | {{ | + | {{#if: {{{sortext|}}}|{{DEFAULTSORTKEY:{{{sortkey}}} 5e}}|}}[[Category:5e]][[Category:Subrace]][[Category:5e Subraces]] is a subrace of {{#switch: {{{raceNS|}}} |
− | :{{ | + | | = <span style="color:red">'''Error Race Missing'''</span>{{#set: Template Error=Race Missing}} |
− | + | | s = {{SRD5|{{{race}}}|{{Type Array|{{{race}}}}}}} | |
− | :{{ | + | | u = [[{{{race}}} (5e Race)|{{Type Array|{{{race}}}}}]] |
− | + | | p = {{5ep|{{{race}}}|{{Type Array|{{{race}}}}}}} | |
− | :{{5e Ability|{{{ | + | }}{{#if: {{{race|}}}|[[Race::{{{race}}}|]][[Category:5e {{Type Array|{{{race}}}}}]]| }} |
− | :{{5e Ability|{{{ | + | :{{5e First Ability Mod Subrace|abilitynote={{{abilitynote|}}}|str={{{str}}}|dex={{{dex}}}|con={{{con}}}|int={{{int}}}|wis={{{wis}}}|cha={{{cha}}}}}{{#if: {{{age|}}}|<nowiki /> |
− | :{{5e Ability|{{{ | + | :{{5e Ability|Age|{{{age|}}} }}|}}{{#if: {{{alignment|}}}|<nowiki /> |
− | :{{5e Ability|{{{ | + | :{{5e Ability|Alignment|{{{alignment|}}} }}|}}{{#if: {{{size|}}}|<nowiki /> |
− | :{{ | + | :{{5e Ability|Size|{{#if: {{{sizedesc|}}}|{{{sizedesc}}}<nowiki> </nowiki>|}} Your size is {{ucfirst:{{{size|Medium}}}}}. }}|}}{{#if: {{{speed|}}}|<nowiki /> |
− | + | :{{5e Ability|Speed|Your base {{{speedtype|walking}}} speed is {{{speed|30}}} feet.{{{additionalspeeds|}}} }}|}}{{#if: {{{darkvisionfluff|}}} | | |
− | :{{5e Ability|{{{ | + | :{{#ifeq: {{{darkvisionfluff}}}|true| |
− | :{{5e Ability|{{{ | + | {{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|}}} | |
− | :{{5e Ability|{{{ | + | :{{5e Ability|{{{trait1name}}}|{{{trait1desc|No trait1desc written.}}} }}{{#set: Subrace Features={{{trait1name}}}}} }}{{#if: {{{trait2name|}}} | |
− | :{{5e Ability|{{{ | + | :{{5e Ability|{{{trait2name}}}|{{{trait2desc|No trait2desc written.}}} }}{{#set: Subrace Features={{{trait2name}}}}} }}{{#if: {{{trait3name|}}} | |
− | :{{5e Ability|{{{ | + | :{{5e Ability|{{{trait3name}}}|{{{trait3desc|No trait3desc written.}}} }}{{#set: Subrace Features={{{trait3name}}}}} }}{{#if: {{{trait4name|}}} | |
− | :{{5e Ability|{{{ | + | :{{5e Ability|{{{trait4name}}}|{{{trait4desc|No trait4desc written.}}} }}{{#set: Subrace Features={{{trait4name}}}}} }}{{#if: {{{trait5name|}}} | |
− | :{{5e Ability|{{{ | + | :{{5e Ability|{{{trait5name}}}|{{{trait5desc|No trait5desc written.}}} }}{{#set: Subrace Features={{{trait5name}}}}} }}{{#if: {{{trait6name|}}} | |
− | :{{5e Ability|{{{ | + | :{{5e Ability|{{{trait6name}}}|{{{trait6desc|No trait6desc written.}}} }}{{#set: Subrace Features={{{trait6name}}}}} }}{{#if: {{{trait7name|}}} | |
− | :{{5e Ability|{{{ | + | :{{5e Ability|{{{trait7name}}}|{{{trait7desc|No trait7desc written.}}} }}{{#set: Subrace Features={{{trait7name}}}}} }}{{#if: {{{trait8name|}}} | |
− | :{{5e Ability|{{{ | + | :{{5e Ability|{{{trait8name}}}|{{{trait8desc|No trait8desc written.}}} }}{{#set: Subrace Features={{{trait8name}}}}} }}{{#if: {{{trait9name|}}} | |
− | + | :{{5e Ability|{{{trait9name}}}|{{{trait9desc|No trait9desc written.}}} }}{{#set: Subrace Features={{{trait9name}}}}} }}{{#if: {{{trait10name|}}} | | |
+ | :{{5e Ability|{{{trait10name}}}|{{{trait10desc|No trait10desc written.}}} }}{{#set: Subrace Features={{{trait10name}}}}} }}{{#if: {{{trait11name|}}} | | ||
+ | :{{5e Ability|{{{trait11name}}}|{{{trait11desc|No trait11desc written.}}} }}{{#set: Subrace Features={{{trait11name}}}}} }}{{#if: {{{trait12name|}}} | | ||
+ | :{{5e Ability|{{{trait12name}}}|{{{trait12desc|No trait12desc written.}}} }}{{#set: Subrace Features={{{trait12name}}}}} }}{{#if: {{{trait13name|}}} | | ||
+ | :{{5e Ability|{{{trait13name}}}|{{{trait13desc|No trait13desc written.}}} }}{{#set: Subrace Features={{{trait13name}}}}} }}{{#if: {{{trait14name|}}} | | ||
+ | :{{5e Ability|{{{trait14name}}}|{{{trait14desc|No trait14desc written.}}} }}{{#set: Subrace Features={{{trait14name}}}}} }}{{#if: {{{trait15name|}}} | | ||
+ | :{{5e Ability|{{{trait15name}}}|{{{trait15desc|No trait15desc written.}}} }}{{#set: Subrace Features={{{trait15name}}}}} }}{{#if: {{{trait16name|}}} | | ||
+ | :{{5e Ability|{{{trait16name}}}|{{{trait16desc|No trait16desc written.}}} }}{{#set: Subrace Features={{{trait16name}}}}} }}{{#if: {{{trait17name|}}} | | ||
+ | :{{5e Ability|{{{trait17name}}}|{{{trait17desc|No trait17desc written.}}} }}{{#set: Subrace Features={{{trait17name}}}}} }}{{#if: {{{trait18name|}}} | | ||
+ | :{{5e Ability|{{{trait18name}}}|{{{trait18desc|No trait18desc written.}}} }}{{#set: Subrace Features={{{trait18name}}}}} }}{{#if: {{{trait19name|}}} | | ||
+ | :{{5e Ability|{{{trait19name}}}|{{{trait19desc|No trait19desc written.}}} }}{{#set: Subrace Features={{{trait19name}}}}} }}{{#if: {{{trait20name|}}} | | ||
+ | :{{5e Ability|{{{trait20name}}}|{{{trait20desc|No trait20desc written.}}} }}{{#set: Subrace Features={{{trait20name}}}}} }}{{#if: {{{languages|}}} | | ||
+ | :{{5e Ability|Languages|You can also speak, read, and write {{{languages}}}. {{{languagedesc|}}} }} }} | ||
+ | </includeonly><noinclude>{{documentation}} | ||
+ | [[Category:5e Templates|Subrace Traits Template 5e]]</noinclude> |
Latest revision as of 23:12, 5 May 2022
Template documentation (for the above template, sometimes hidden or invisible)
Contents
Description The 5e Subrace Traits is used on articles that describe a playable race in 5th edition.
Syntax[edit]
{{5e Subrace Traits |subrace= <!--name of subrace--> |sorttext= |refs= <!--refs--> |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--> }}
Example[edit]
{{5e Subrace Traits |subrace=Bar |sorttext= |refs=<ref name="fgtn.303">{{Cite Pub|Foo's Guide to Nothing|pages=303}} Licensed: [[Public Domain]].</ref> |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= <!--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= }}
produces:
- Ability Score Increase: Intelligence +1, Wisdom +2
- Age. The bar mature at 50 and live an average of 50 years past that.
- Poness. A Po may reroll any Constitution check or save.
Template Attribution[edit]
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?)
- ↑ Foo's Guide to Nothing p.303}} Licensed: Public Domain.