Template:5e Subclass Traits: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
_table = 5e_Subclass
_table = 5e_Subclass
|Sort_Text = String
|Sort_Text = String
|Page_Name=Page
|Page_Name=Page (unique)
|Subclass_Name=String
|Subclass_Name=String
|Class_Name=String
|Class_Name=String
Line 44: Line 44:
{{5e Subclass Ability Section|3|{{{trait19name}}}|{{{trait19desc|No trait19desc written.}}} }}}}{{#if: {{{trait20name|}}} | 
{{5e Subclass Ability Section|3|{{{trait19name}}}|{{{trait19desc|No trait19desc written.}}} }}}}{{#if: {{{trait20name|}}} | 
{{5e Subclass Ability Section|3|{{{trait20name}}}|{{{trait20desc|No trait20desc written.}}} }}}}<!--
{{5e Subclass Ability Section|3|{{{trait20name}}}|{{{trait20desc|No trait20desc written.}}} }}}}<!--
-->{{#cargo_store:
-->{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
_table = 5e_Subclass
_table = 5e_Subclass
|where=Page_Name={{FULLPAGENAME}}
|Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{PAGENAME}} 5e|}}
|Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{PAGENAME}} 5e|}}
|Page_Name={{FULLPAGENAME}}
|Page_Name={{FULLPAGENAME}}
Line 62: Line 63:
|Canon_Subclass={{#if: {{{canon|}}}|1}}
|Canon_Subclass={{#if: {{{canon|}}}|1}}
|Hidden={{#if: {{{hidden|}}}|1}}
|Hidden={{#if: {{{hidden|}}}|1}}
}}</includeonly><noinclude>{{documentation}}
}}}}</includeonly><noinclude>{{documentation}}
[[Category:5e Templates|Subclass Traits Template 5e]]</noinclude>
[[Category:5e Templates|Subclass Traits Template 5e]]</noinclude>

Revision as of 10:49, 22 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.