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

From Dungeons and Dragons Wiki
Jump to: navigation, search
m
m
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<big><big>'''{{{name}}}'''</big></big> is a {{#if: {{{subclassType|}}}|{{lc: {{{subclassType}}}}}[[Category:5e {{Type Array|{{{subclassType}}}}}]]|subclass}} of the  {{#switch: {{{classNS|}}}
+
{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}}}}|{{DEFAULTSORTKEY:{{PAGENAME}}}}|}}{{#set: Subclass=true}}<big><big>'''{{{name}}}'''</big></big> {{#if: {{{refs|}}}|{{{refs}}}&ensp;|}}is a {{#if: {{{subclassType|}}}|{{lc: {{{subclassType}}}}}[[Category:5e {{Type Array|{{{subclassType}}}}}]]|subclass}} of the  {{#if: {{{class|}}}|{{#switch: {{{classNS|}}}
| = <span style="color:red">'''Error Class NS Missing'''</span>{{#set: Template Error=ClassNS Missing}}
 
 
| s = {{SRD5|{{{class}}}}}
 
| s = {{SRD5|{{{class}}}}}
| u = [[{{{class}}}}} (5e Class)|{{{class}}}}]]
+
| u = [[{{{class}}} (5e Class)|{{{class}}}]]
 
| p = {{5ep|{{{class}}}}}
 
| p = {{5ep|{{{class}}}}}
}}{{#if: {{{classNS|}}}|<!--Nothing-->|{{{class}}}}} {{srd5lc|Class}}.
+
| {{SRD5|{{{class}}}}}
{{#if: {{{class|}}}|[[Class::{{{class}}}|]][[Category:5e {{Type Array|{{{class}}}}}]]| }}
+
}} {{srd5lc|Class}}.[[Class::{{{class}}}|]][[Category:5e {{Type Array|{{{class}}}}}]]|<span style="color:red;">'''WARNING! Class is missing!'''</span> }}[[Category:Subclass]][[Category:5e Subclasses]]
  
 
{{#if: {{{desc|}}}|{{{desc}}}|}} {{#if: {{{summary|}}}|[[Summary::{{{summary}}}| ]]|}}
 
{{#if: {{{desc|}}}|{{{desc}}}|}} {{#if: {{{summary|}}}|[[Summary::{{{summary}}}| ]]|}}
 
{{#if: {{{trait1name|}}} |&nbsp;
 
{{#if: {{{trait1name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait1name}}}|{{{trait1desc|No trait1desc written.}}} }}{{#set: Features={{{trait1name}}}}} }}{{#if: {{{trait2name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait1name}}}|{{{trait1desc|No trait1desc written.}}}|lvl={{{trait1lvl|}}} }}{{#set: Features={{{trait1name}}}}} }}{{#if: {{{trait2name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait2name}}}|{{{trait2desc|No trait2desc written.}}} }}{{#set: Features={{{trait2name}}}}} }}{{#if: {{{trait3name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait2name}}}|{{{trait2desc|No trait2desc written.}}}|lvl={{{trait2lvl|}}} }}{{#set: Features={{{trait2name}}}}} }}{{#if: {{{trait3name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait3name}}}|{{{trait3desc|No trait3desc written.}}} }}{{#set: Features={{{trait3name}}}}} }}{{#if: {{{trait4name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait3name}}}|{{{trait3desc|No trait3desc written.}}}|lvl={{{trait3lvl|}}} }}{{#set: Features={{{trait3name}}}}} }}{{#if: {{{trait4name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait4name}}}|{{{trait4desc|No trait4desc written.}}} }}{{#set: Features={{{trait4name}}}}} }}{{#if: {{{trait5name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait4name}}}|{{{trait4desc|No trait4desc written.}}}|lvl={{{trait4lvl|}}} }}{{#set: Features={{{trait4name}}}}} }}{{#if: {{{trait5name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait5name}}}|{{{trait5desc|No trait5desc written.}}} }}{{#set: Features={{{trait5name}}}}} }}{{#if: {{{trait6name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait5name}}}|{{{trait5desc|No trait5desc written.}}}|lvl={{{trait5lvl|}}} }}{{#set: Features={{{trait5name}}}}} }}{{#if: {{{trait6name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait6name}}}|{{{trait6desc|No trait6desc written.}}} }}{{#set: Features={{{trait6name}}}}} }}{{#if: {{{trait7name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait6name}}}|{{{trait6desc|No trait6desc written.}}}|lvl={{{trait6lvl|}}} }}{{#set: Features={{{trait6name}}}}} }}{{#if: {{{trait7name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait7name}}}|{{{trait7desc|No trait7desc written.}}} }}{{#set: Features={{{trait7name}}}}} }}{{#if: {{{trait8name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait7name}}}|{{{trait7desc|No trait7desc written.}}}|lvl={{{trait7lvl|}}} }}{{#set: Features={{{trait7name}}}}} }}{{#if: {{{trait8name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait8name}}}|{{{trait8desc|No trait8desc written.}}} }}{{#set: Features={{{trait8name}}}}} }}{{#if: {{{trait9name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait8name}}}|{{{trait8desc|No trait8desc written.}}}|lvl={{{trait8lvl|}}} }}{{#set: Features={{{trait8name}}}}} }}{{#if: {{{trait9name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait9name}}}|{{{trait9desc|No trait9desc written.}}} }}{{#set: Features={{{trait9name}}}}} }}{{#if: {{{trait10name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait9name}}}|{{{trait9desc|No trait9desc written.}}}|lvl={{{trait9lvl|}}} }}{{#set: Features={{{trait9name}}}}} }}{{#if: {{{trait10name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait10name}}}|{{{trait10desc|No trait10desc written.}}} }}{{#set: Features={{{trait10name}}}}} }}{{#if: {{{trait11name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait10name}}}|{{{trait10desc|No trait10desc written.}}}|lvl={{{trait10lvl|}}} }}{{#set: Features={{{trait10name}}}}} }}{{#if: {{{trait11name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait11name}}}|{{{trait11desc|No trait11desc written.}}} }}{{#set: Features={{{trait11name}}}}} }}{{#if: {{{trait12name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait11name}}}|{{{trait11desc|No trait11desc written.}}}|lvl={{{trait11lvl|}}} }}{{#set: Features={{{trait11name}}}}} }}{{#if: {{{trait12name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait12name}}}|{{{trait12desc|No trait12desc written.}}} }}{{#set: Features={{{trait12name}}}}} }}{{#if: {{{trait13name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait12name}}}|{{{trait12desc|No trait12desc written.}}}|lvl={{{trait12lvl|}}} }}{{#set: Features={{{trait12name}}}}} }}{{#if: {{{trait13name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait13name}}}|{{{trait13desc|No trait13desc written.}}} }}{{#set: Features={{{trait13name}}}}} }}{{#if: {{{trait14name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait13name}}}|{{{trait13desc|No trait13desc written.}}}|lvl={{{trait13lvl|}}} }}{{#set: Features={{{trait13name}}}}} }}{{#if: {{{trait14name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait14name}}}|{{{trait14desc|No trait14desc written.}}} }}{{#set: Features={{{trait14name}}}}} }}{{#if: {{{trait15name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait14name}}}|{{{trait14desc|No trait14desc written.}}}|lvl={{{trait14lvl|}}} }}{{#set: Features={{{trait14name}}}}} }}{{#if: {{{trait15name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait15name}}}|{{{trait15desc|No trait15desc written.}}} }}{{#set: Features={{{trait15name}}}}} }}{{#if: {{{trait16name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait15name}}}|{{{trait15desc|No trait15desc written.}}}|lvl={{{trait15lvl|}}} }}{{#set: Features={{{trait15name}}}}} }}{{#if: {{{trait16name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait16name}}}|{{{trait16desc|No trait16desc written.}}} }}{{#set: Features={{{trait16name}}}}} }}{{#if: {{{trait17name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait16name}}}|{{{trait16desc|No trait16desc written.}}}|lvl={{{trait16lvl|}}} }}{{#set: Features={{{trait16name}}}}} }}{{#if: {{{trait17name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait17name}}}|{{{trait17desc|No trait17desc written.}}} }}{{#set: Features={{{trait17name}}}}} }}{{#if: {{{trait18name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait17name}}}|{{{trait17desc|No trait17desc written.}}}|lvl={{{trait17lvl|}}} }}{{#set: Features={{{trait17name}}}}} }}{{#if: {{{trait18name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait18name}}}|{{{trait18desc|No trait18desc written.}}} }}{{#set: Features={{{trait18name}}}}} }}{{#if: {{{trait19name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait18name}}}|{{{trait18desc|No trait18desc written.}}}|lvl={{{trait18lvl|}}} }}{{#set: Features={{{trait18name}}}}} }}{{#if: {{{trait19name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait19name}}}|{{{trait19desc|No trait19desc written.}}} }}{{#set: Features={{{trait19name}}}}} }}{{#if: {{{trait20name|}}} |&nbsp;
+
{{5e Ability Section|3|{{{trait19name}}}|{{{trait19desc|No trait19desc written.}}}|lvl={{{trait1lvl9|}}} }}{{#set: Features={{{trait19name}}}}} }}{{#if: {{{trait20name|}}} |&nbsp;
{{5e Ability Section|3|{{{trait20name}}}|{{{trait20desc|No trait20desc written.}}} }}{{#set: Features={{{trait20name}}}}} }}
+
{{5e Ability Section|3|{{{trait20name}}}|{{{trait20desc|No trait20desc written.}}}|lvl={{{trait20lvl|}}} }}{{#set: Features={{{trait20name}}}}} }}
  
 
</includeonly><noinclude>{{documentation}}
 
</includeonly><noinclude>{{documentation}}
 
[[Category:5e Templates|Subclass Traits Template 5e]]</noinclude>
 
[[Category:5e Templates|Subclass Traits Template 5e]]</noinclude>

Latest revision as of 00:29, 15 March 2022

Template documentation (for the above template, sometimes hidden or invisible)

Syntax[edit]

{{5e Subclass Traits
|name= <!-- name of subclass -->
|sorttext=
|class= <!-- name of parent class -->
|classNS= <!-- s=SRD5, p=pointer, u=user -->
|subclassType= <!-- Martial Archetype, Arcane Tradition, etc. -->
|summary= <!-- 1 or 2 line summary of subclass -->
|trait1name= <!-- name of trait -->
|trait1lvl= <!-- level trait becomes available-->
|trait1desc= <!-- description of trait -->
|trait2name=
|trait2lvl=
|trait2desc=
|trait3name=
|trait3lvl=
|trait3desc=
|desc= <!-- description of subclass -->
}}

Example[edit]

{{5e Subclass Traits
|name=Bar <!-- name of subclass -->
|sorttext=
|class=Foo <!-- name of parent class -->
|classNS=u <!-- s=SRD5, p=pointer, u=user -->
|subclassType=Fooish Archetype <!-- Martial Archetype, Arcane Tradition, etc. -->
|summary=A bar focuses on skill enhancement.<!-- 1 or 2 line summary of subclass -->
|trait1name=Bar Dice
|trait1lvl=2nd
|trait1desc=Beginning at 2nd level when you choose this subclass, the bar gains bar dice equal to its level. The result of a bar die may be added to any {{srd5lc|Skill}} {{srd5lc|Check}}. Once used, the bar die may not be used until the bar finishes a {{srd5lc|Long Rest}}.

|trait2name=Barrishness
|trait2lvl=6th
|trait2desc=Starting at 6th level, the bar may double its {{srd5lc|Proficiency}} bonus when making a {{srd5lc|Melee Attack}} with {{srd5lc|Reach}}.

|trait3name=
|trait3lvl=
|trait3desc=
|desc=Bars think themselves the epitome of Fooishness. They have great skill when ... 
}}

Produces:


Bar is a fooish archetype of the Foo class.

Bars think themselves the epitome of Fooishness. They have great skill when ...  

Bar Dice

2nd level feature
When you choose this subclass, the bar gains bar dice equal to its level. The result of a bar die may be added to any skill check. Once used, the bar die may not be used until the bar finishes a long rest

Barrishness

6th level feature
The bar may double its proficiency bonus when making a melee attack with reach.