Template:5e Subclass Traits: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<noinclude>
{{#cargo_declare:
_table = 5e_Subclass
|Sort_Text = String
|Page_Name=Page
|Subclass_Name=String
|Class_Name=String
|Class_NS=String
|Subclass_Name=String
|Subclass_Summary=Wikitext
|Canon_Subclass=Boolean
|Sublass_Features=List (, ) of Wikitext string
|Hidden=Boolean
}}</noinclude><includeonly>
{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}}}}|{{DEFAULTSORTKEY:{{PAGENAME}}}}|}}[[Subclass=true| ]]<big><big>'''{{{name}}}'''</big></big> is a {{#if: {{{subclassType|}}}|{{lc: {{{subclassType}}}}}[[Category:5e {{Type Array|{{{subclassType}}}}}]]|subclass}} of the  {{#if: {{{class|}}}|{{#switch: {{{classNS|}}}
{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}}}}|{{DEFAULTSORTKEY:{{PAGENAME}}}}|}}[[Subclass=true| ]]<big><big>'''{{{name}}}'''</big></big> is a {{#if: {{{subclassType|}}}|{{lc: {{{subclassType}}}}}[[Category:5e {{Type Array|{{{subclassType}}}}}]]|subclass}} of the  {{#if: {{{class|}}}|{{#switch: {{{classNS|}}}
| s = {{SRD5|{{{class}}}}}
| s = {{SRD5|{{{class}}}}}
| u = {{5ed|{{{class}}}}}
| u = {{5ed|{{{class}}}}}
| d = {{5ed|{{{class}}}}}
| p = {{5ed|{{{class}}}}}
| p = {{5ed|{{{class}}}}}
| h = {{5eh|{{{class}}}}}
| h = {{5eh|{{{class}}}}}
Line 10: Line 24:
{{#if: {{{desc|}}}|{{{desc}}}|}} {{#if: {{{summary|}}}|[[Summary::{{{summary}}}| ]]|}}
{{#if: {{{desc|}}}|{{{desc}}}|}} {{#if: {{{summary|}}}|[[Summary::{{{summary}}}| ]]|}}
{{#if: {{{trait1name|}}} |&nbsp;
{{#if: {{{trait1name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait1name}}}|{{{trait1desc|No trait1desc written.}}} }}[[Features::{{{trait1name}}}| ]] }}{{#if: {{{trait2name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait1name}}}|{{{trait1desc|No trait1desc written.}}} }}}}{{#if: {{{trait2name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait2name}}}|{{{trait2desc|No trait2desc written.}}} }}[[Features::{{{trait2name}}}| ]]  }}{{#if: {{{trait3name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait2name}}}|{{{trait2desc|No trait2desc written.}}} }}}}{{#if: {{{trait3name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait3name}}}|{{{trait3desc|No trait3desc written.}}} }}[[Features::{{{trait3name}}}| ]]  }}{{#if: {{{trait4name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait3name}}}|{{{trait3desc|No trait3desc written.}}} }}}}{{#if: {{{trait4name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait4name}}}|{{{trait4desc|No trait4desc written.}}} }}[[Features::{{{trait4name}}}| ]]  }}{{#if: {{{trait5name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait4name}}}|{{{trait4desc|No trait4desc written.}}} }}}}{{#if: {{{trait5name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait5name}}}|{{{trait5desc|No trait5desc written.}}} }}[[Features::{{{trait5name}}}| ]]  }}{{#if: {{{trait6name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait5name}}}|{{{trait5desc|No trait5desc written.}}} }}}}{{#if: {{{trait6name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait6name}}}|{{{trait6desc|No trait6desc written.}}} }}[[Features::{{{trait6name}}}| ]]  }}{{#if: {{{trait7name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait6name}}}|{{{trait6desc|No trait6desc written.}}} }}}}{{#if: {{{trait7name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait7name}}}|{{{trait7desc|No trait7desc written.}}} }}[[Features::{{{trait7name}}}| ]]  }}{{#if: {{{trait8name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait7name}}}|{{{trait7desc|No trait7desc written.}}} }}}}{{#if: {{{trait8name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait8name}}}|{{{trait8desc|No trait8desc written.}}} }}[[Features::{{{trait8name}}}| ]]  }}{{#if: {{{trait9name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait8name}}}|{{{trait8desc|No trait8desc written.}}} }}}}{{#if: {{{trait9name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait9name}}}|{{{trait9desc|No trait9desc written.}}} }}[[Features::{{{trait9name}}}| ]]  }}{{#if: {{{trait10name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait9name}}}|{{{trait9desc|No trait9desc written.}}} }}}}{{#if: {{{trait10name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait10name}}}|{{{trait10desc|No trait10desc written.}}} }}[[Features::{{{trait10name}}}| ]]  }}{{#if: {{{trait11name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait10name}}}|{{{trait10desc|No trait10desc written.}}} }}}}{{#if: {{{trait11name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait11name}}}|{{{trait11desc|No trait11desc written.}}} }}[[Features::{{{trait11name}}}| ]]  }}{{#if: {{{trait12name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait11name}}}|{{{trait11desc|No trait11desc written.}}} }}}}{{#if: {{{trait12name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait12name}}}|{{{trait12desc|No trait12desc written.}}} }}[[Features::{{{trait12name}}}| ]]  }}{{#if: {{{trait13name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait12name}}}|{{{trait12desc|No trait12desc written.}}} }}}}{{#if: {{{trait13name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait13name}}}|{{{trait13desc|No trait13desc written.}}} }}[[Features::{{{trait13name}}}| ]]  }}{{#if: {{{trait14name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait13name}}}|{{{trait13desc|No trait13desc written.}}} }}}}{{#if: {{{trait14name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait14name}}}|{{{trait14desc|No trait14desc written.}}} }}[[Features::{{{trait14name}}}| ]]  }}{{#if: {{{trait15name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait14name}}}|{{{trait14desc|No trait14desc written.}}} }}}}{{#if: {{{trait15name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait15name}}}|{{{trait15desc|No trait15desc written.}}} }}[[Features::{{{trait15name}}}| ]]  }}{{#if: {{{trait16name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait15name}}}|{{{trait15desc|No trait15desc written.}}} }}}}{{#if: {{{trait16name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait16name}}}|{{{trait16desc|No trait16desc written.}}} }}[[Features::{{{trait16name}}}| ]]  }}{{#if: {{{trait17name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait16name}}}|{{{trait16desc|No trait16desc written.}}} }}}}{{#if: {{{trait17name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait17name}}}|{{{trait17desc|No trait17desc written.}}} }}[[Features::{{{trait17name}}}| ]]  }}{{#if: {{{trait18name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait17name}}}|{{{trait17desc|No trait17desc written.}}} }}}}{{#if: {{{trait18name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait18name}}}|{{{trait18desc|No trait18desc written.}}} }}[[Features::{{{trait18name}}}| ]]  }}{{#if: {{{trait19name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait18name}}}|{{{trait18desc|No trait18desc written.}}} }}}}{{#if: {{{trait19name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait19name}}}|{{{trait19desc|No trait19desc written.}}} }}[[Features::{{{trait19name}}}| ]]  }}{{#if: {{{trait20name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait19name}}}|{{{trait19desc|No trait19desc written.}}} }}}}{{#if: {{{trait20name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait20name}}}|{{{trait20desc|No trait20desc written.}}} }}[[Features::{{{trait20name}}}| ]]  }}
{{5e Subclass Ability Section|3|{{{trait20name}}}|{{{trait20desc|No trait20desc written.}}} }}}}<!--
 
-->{{#cargo_store:
</includeonly><noinclude>{{documentation}}
_table = 5e_Subclass
|Sort_Text={{{sorttext|}}}
|Page_Name={{PAGENAME}}
|Subclass_Name={{{name|}}}
|Class_Name={{{classname|}}}
|Class_NS={{#switch: {{{classNS|}}}
| s = SRD5
| u = 5ed
| d = 5ed
| p = 5ed
| h = 5eh
| SRD5
}}
|Sublass_Summary={{{summary|}}}
|Subclass_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}}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}
|Canon_Subclass={{#if: {{{canon|}}}|1}}
|Hidden={{#if: {{{hidden|}}}|1}}
|Class_Features=List (, ) of Wikitext string
}}</includeonly><noinclude>{{documentation}}
[[Category:5e Templates|Subclass Traits Template 5e]]</noinclude>
[[Category:5e Templates|Subclass Traits Template 5e]]</noinclude>

Revision as of 10:49, 20 February 2020

This template defines the table "5e_Subclass". View table.

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

Syntax

{{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(s) you get this trait -->
|trait1desc= <!-- description of trait -->
|trait2name=
|trait2lvl=
|trait2desc=
|trait3name=
|trait3desc=
|desc= <!-- description of subclass -->
}}

Add'l Parameters

canon= {blank, true if canon) hidden= (blank, true if hidden)

Example

{{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=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=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

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

The bar may double its proficiency bonus when making a melee attack with reach.