Template:5e Subclass Traits: Difference between revisions
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| ]] | {{#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}}}}} | ||
| {{ | | {{{{{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]]|}} | ||
{{ | <big><big>'''{{{name|}}}'''</big></big> {{{refs|}}} | ||
{{#if: {{{desc|}}}|{{{desc}}}|}} | |||
{{#if: {{{trait1name|}}} | | {{#if: {{{trait1name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait1name}}}|{{{trait1desc| | {{5e Subclass Ability Section|3|{{{trait1name}}}|{{{trait1desc|}}}|{{{trait1lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait2name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait2name}}}|{{{trait2desc| | {{5e Subclass Ability Section|3|{{{trait2name}}}|{{{trait2desc|}}}|{{{trait2lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait3name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait3name}}}|{{{trait3desc| | {{5e Subclass Ability Section|3|{{{trait3name}}}|{{{trait3desc|}}}|{{{trait3lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait4name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait4name}}}|{{{trait4desc| | {{5e Subclass Ability Section|3|{{{trait4name}}}|{{{trait4desc|}}}|{{{trait4lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait5name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait5name}}}|{{{trait5desc| | {{5e Subclass Ability Section|3|{{{trait5name}}}|{{{trait5desc|}}}|{{{trait5lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait6name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait6name}}}|{{{trait6desc| | {{5e Subclass Ability Section|3|{{{trait6name}}}|{{{trait6desc|}}}|{{{trait6lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait7name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait7name}}}|{{{trait7desc| | {{5e Subclass Ability Section|3|{{{trait7name}}}|{{{trait7desc|}}}|{{{trait7lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait8name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait8name}}}|{{{trait8desc| | {{5e Subclass Ability Section|3|{{{trait8name}}}|{{{trait8desc|}}}|{{{trait8lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait9name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait9name}}}|{{{trait9desc| | {{5e Subclass Ability Section|3|{{{trait9name}}}|{{{trait9desc|}}}|{{{trait9lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait10name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait10name}}}|{{{trait10desc| | {{5e Subclass Ability Section|3|{{{trait10name}}}|{{{trait10desc|}}}|{{{trait10lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait11name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait11name}}}|{{{trait11desc| | {{5e Subclass Ability Section|3|{{{trait11name}}}|{{{trait11desc|}}}|{{{trait11lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait12name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait12name}}}|{{{trait12desc| | {{5e Subclass Ability Section|3|{{{trait12name}}}|{{{trait12desc|}}}|{{{trait12lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait13name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait13name}}}|{{{trait13desc| | {{5e Subclass Ability Section|3|{{{trait13name}}}|{{{trait13desc|}}}|{{{trait13lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait14name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait14name}}}|{{{trait14desc| | {{5e Subclass Ability Section|3|{{{trait14name}}}|{{{trait14desc|}}}|{{{trait14lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait15name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait15name}}}|{{{trait15desc| | {{5e Subclass Ability Section|3|{{{trait15name}}}|{{{trait15desc|}}}|{{{trait15lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait16name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait16name}}}|{{{trait16desc| | {{5e Subclass Ability Section|3|{{{trait16name}}}|{{{trait16desc|}}}|{{{trait16lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait17name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait17name}}}|{{{trait17desc| | {{5e Subclass Ability Section|3|{{{trait17name}}}|{{{trait17desc|}}}|{{{trait17lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait18name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait18name}}}|{{{trait18desc| | {{5e Subclass Ability Section|3|{{{trait18name}}}|{{{trait18desc|}}}|{{{trait18lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait19name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait19name}}}|{{{trait19desc| | {{5e Subclass Ability Section|3|{{{trait19name}}}|{{{trait19desc|}}}|{{{trait19lvl|}}}|{{{name}}} }}|}}{{#if: {{{trait20name|}}} | | ||
{{5e Subclass Ability Section|3|{{{trait20name}}}|{{{trait20desc| | {{5e Subclass Ability Section|3|{{{trait20name}}}|{{{trait20desc|}}}|{{{trait20lvl|}}}|{{{name}}} }}|}} | ||
<!--Data Base Storage--> | |||
</includeonly><noinclude>{{documentation}} | {{#if: {{{nodb|}}}| <!--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.
Visit Template:5e Subclass Traits/doc to edit this text! (How does this work?)