Template:5e Subclass Traits: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<noinclude>
{{#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|}}}
{{#cargo_declare:
_table = 5e_Subclass
|Sort_Text = String
|Subclass_Name=String
|Class_Name=List (, ) of String
|Class_NS=String
|Subclass_Name=String
|Subclass_Summary=Wikitext
|Canon_Subclass=Boolean
|Subclass_Features=List (, ) of Wikitext string
|Hidden=Boolean
}}</noinclude><includeonly>
{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}}}}|{{DEFAULTSORTKEY:{{PAGENAME}}}}|}}[[Subclass=true| ]]'''{{{name}}}''' is a {{#if: {{{subclassType|}}}|{{lc: {{{subclassType}}}}}[[Category:5e {{Type Array|{{{subclassType}}}}}]]|subclass}} of the  {{#if: {{{class|}}}|{{#if: {{{class|}}}|{{#if: {{{nodb|}}}|{{5e Class Line|{{{class}}}|nodb=true}}|{{5e Class Line|{{{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}}}}}
| {{SRD5|{{{class}}}}}
| {{{{{classNS}}}|{{{class}}}}}
}} {{srd5lc|Class}}.[[Class::{{{class}}}| ]][[Category:5e {{Type Array|{{{class}}}}}]]|<span style="color:red;">'''WARNING! Class is missing!'''</span> }}[[Category:Subclass]][[Category:5e Subclasses]]
}}--> {{srd5lc|Class}}.[[Class::{{{class}}}| ]][[Category:5e {{Type Array|{{{class}}}}}]]|<span style="color:red;">'''WARNING! Class is missing!'''</span> }}[[Category:Subclass]][[Category:5e Subclasses]]{{#if: {{{canon|}}}|[[Category:5e Canon Subclases]]|}}


{{#if: {{{desc|}}}|{{{desc}}}|}} {{#if: {{{summary|}}}|[[Summary::{{{summary}}}| ]]|}}
<big><big>'''{{{name|}}}'''</big></big> {{{refs|}}}
 
{{#if: {{{desc|}}}|{{{desc}}}|}}
{{#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|}}}|{{{trait1lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait2lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait3lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait4lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait5lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait6lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait7lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait8lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait9lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait10lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait11lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait12lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait13lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait14lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait15lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait16lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait17lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait18lvl|}}}|{{{name}}} }}|}}{{#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|}}}|{{{trait19lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait20name|}}} |&nbsp;
{{5e Subclass Ability Section|3|{{{trait20name}}}|{{{trait20desc|No trait20desc written.}}} }}[[Features::{{{trait20name}}}| ]]  }}
{{5e Subclass Ability Section|3|{{{trait20name}}}|{{{trait20desc|}}}|{{{trait20lvl|}}}|{{{name}}} }}|}} 
 
<!--Data Base Storage-->
</includeonly><noinclude>{{documentation}}
{{#if: {{{nodb|}}}|&ensp;<!--skip DB-->|{{#cargo_store:
_table = 5e_Subclass
|where=_pageName={{FULLPAGENAME}}
|Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{PAGENAME}} 5e|}} {{#if: {{{hidden|}}}|Hidden|}}
|Subclass_Name={{{name|}}}
|Class_Name={{{class|}}}
|Class_NS={{#switch: {{{classNS|}}}
| s = SRD5
| u = 5e
| d = 5e
| p = 5e
| h = 5eh
| SRD5
}}
|Subclass_Summary={{#if: {{{summary|}}}|{{{summary}}}|{{#sub:{{{desc|}}}|1|50}} }}
|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}}
}}|}}</includeonly><noinclude>{{documentation}}
[[Category:5e Templates|Subclass Traits Template 5e]]</noinclude>
[[Category:5e Templates|Subclass Traits Template 5e]]</noinclude>

Latest revision as of 10:51, 13 March 2022

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 No results class.

Bar

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

Bar Dice

2nd level Bar 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 Bar feature.
The bar may double its proficiency bonus when making a melee attack with reach.