Template:5e Class Features: Difference between revisions
Jump to navigation
Jump to search
(added cargo table, canon, sorttext) |
No edit summary |
||
(13 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
_table = 5e_Class | _table = 5e_Class | ||
|Sort_Text = String | |Sort_Text = String | ||
|Page_Name=Page | |Page_Name=Page (unique) | ||
|Class_Name=String | |Class_Name=String | ||
|Hit_Die=String | |Hit_Die=String | ||
Line 15: | Line 15: | ||
|Start_Equip=List (, ) of Wikitext string | |Start_Equip=List (, ) of Wikitext string | ||
|Prerequisites=List (* ) of Wikitext string | |Prerequisites=List (* ) of Wikitext string | ||
| | |Class_Summary=Wikitext | ||
| | |Subclass_Title=String | ||
}}</noinclude><includeonly>As a {{{classname|}}}, you gain the following class features.{{#if: {{{sorttext|}}}| | |Canon_Class=Boolean | ||
|Sidekick=Boolean | |||
|Hidden=Boolean | |||
|UA=Boolean | |||
|Pointer=Boolean | |||
|Class_Features=List (, ) of Wikitext string | |||
}}</noinclude><includeonly>As a {{{classname|}}}, you gain the following class features.{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}}{{#if: {{{sidekick|}}}| Sidekicks |}} 5e}}|{{DEFAULTSORTKEY:{{{classname|{{PAGENAME}}}}}{{#if: {{{sidekick|}}}| Sidekicks |}} 5e}}}}{{#if: {{{canon|}}}|[[Category:5e Canon Classes]]|}} | |||
{{#if: {{{sidekick|}}}|<!--skip-->| | |||
====Hit Points==== | ====Hit Points==== | ||
'''Hit Dice:''' {{#if:{{{hitdie|}}}| | '''Hit Dice:''' {{#if:{{{hitdie|}}}|{{{hdNum|1}}}d{{{hitdie}}}|!!Missing!!}}<br> | ||
'''Hit Points at 1st Level:''' {{#if: {{{hdNum|}}}|{{#expr: {{{hdNum}}} * {{{hitdie}}}}}|{{{hitdie}}}|}} + your {{ucfirst:{{{attribute| | '''Hit Points at 1st Level:''' {{#if: {{{hdNum|}}}|{{#expr: {{{hdNum}}} * {{{hitdie}}}}}|{{{hitdie}}}|}} + your {{SRD5|{{ucfirst:{{{attribute|Constitution}}}}}}} modifier<br> | ||
'''Hit Points at Higher Levels:''' {{{hdNum|1}}}d{{{hitdie|}}} (or {{#expr: {{#if: {{{hdNum|}}}|{{#expr: {{{hdNum}}} * {{{hitdie}}}}}|{{{hitdie}}}|}} / 2 + 1}}) + your {{#if: {{{attribute|}}}|{{ucfirst:{{{attribute}}}}}|Constitution}} modifier per {{{classname|}}} level after first | '''Hit Points at Higher Levels:''' {{{hdNum|1}}}d{{{hitdie|}}} (or {{#expr: {{#if: {{{hdNum|}}}|{{#expr: {{{hdNum}}} * {{{hitdie}}}}}|{{{hitdie}}}|}} / 2 + 1}}) + your {{#if: {{{attribute|}}}|{{SRD5|{{ucfirst:{{{attribute}}}}}}}|{{SRD5|Constitution}}}} modifier per {{{classname|}}} level after first | ||
====Proficiencies==== | ====Proficiencies==== | ||
Line 36: | Line 42: | ||
====Prerequisites==== | ====Prerequisites==== | ||
{{{prerequisites}}}|<!--if no prerequsites, leave blank--> }}<!-- | {{{prerequisites}}}|<!--if no prerequsites, leave blank--> }} }}<!-- | ||
-->{{#cargo_store: | -->{{#if: {{{nodb|}}}|<!--skip cargo store-->|{{#cargo_store: | ||
_table = 5e_Class | _table = 5e_Class | ||
|Sort_Text={{{sorttext|}}} | |where= Page_Name={{FULLPAGENAME}} | ||
|Page_Name={{ | |Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{PAGENAME}} 5e}} | ||
|Page_Name={{FULLPAGENAME}} | |||
|Class_Name={{{classname|}}} | |Class_Name={{{classname|}}} | ||
|Hit_Die={{{hitdie|}}} | |Hit_Die={{#if: {{{hitdie|}}}|d{{{hitdie}}}|}} | ||
|HD_Num={{{hdNum|}}} | |HD_Num={{{hdNum|1}}} | ||
|Armor_Prof={{{armorprofs|}}} | |Armor_Prof={{{armorprofs|}}} | ||
|Weapon_Prof={{{weaponprofs|}}} | |Weapon_Prof={{{weaponprofs|}}} | ||
Line 49: | Line 56: | ||
|Save_Prof={{{saveprofs|}}} | |Save_Prof={{{saveprofs|}}} | ||
|Skill_Prof={{{skillprofs|}}} | |Skill_Prof={{{skillprofs|}}} | ||
|Skill_Num={{#if: {{{skillprofs|}}}|{{{skillnum | |Skill_Num={{#if: {{{skillprofs|}}}|{{{skillnum}}}|three}} | ||
|Start_Equip={{{equipment|}}} | |Start_Equip={{{equipment|}}} | ||
|Prerequisites={{{prerequisites|}}} | |Prerequisites={{{prerequisites|}}} | ||
|Subclass_Title={{{subclasstitle|}}} | |||
|Class_Summary={{{summary|}}} | |Class_Summary={{{summary|}}} | ||
| | |Sidekick={{#if: {{{sidekick|}}}|1}} | ||
}} | |Canon_Class={{#if: {{{canon|}}}|1}} | ||
|Pointer= | |||
|Hidden={{#if: {{{hidden|}}}|1}} | |||
|UA={{#if: {{{ua|}}}|1}} | |||
|Class_Features={{{features|}}} | |||
}}}} | |||
</includeonly><noinclude>{{documentation}}</noinclude> | </includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 06:54, 5 July 2021
This template defines the table "5e_Class". View table.
Template documentation (for the above template, sometimes hidden or invisible)
Syntax
{{5e Class Features |classname= |sorttext= |hdNum= <!-- blank, or number of HD if > 1 --> |hitdie= <!-- 4 for d4, 6 for d6, 12 for d12--> |attribute=<!-- changes hit point bonus from constitution to whatever is set here --> |armorprofs= |weaponprofs= |toolprofs= |saveprofs= |skillprofs= |skillnum=<!-- changes the default skill selection from "three" to whatever is listed here --> |equipment=* * * |prerequisites= <!--usually blank. If class has prerequisites, they go here--> |features= <!--feature list seperated by (, )--> |subclasstitle= <!--i.e. Primal Path, Martial Archetype--> |summary= <!--short summary of class--> }}
Add'l Parameters
|canon= <!--blank, or true if canon--> |hidden= <!--blank, used by sysops--> |sidekick= <!--blank, or true if a sidekick class--> |ua= <!--blank, yes if unearthed arcana-->
Example
{{5e Class Features |classname=Foo |sorttext= |hitdie=8 |attribute= <!-- changes hit point bonus from constitution to whatever is set here --> |armorprofs={{srd5lc|Light Armor}} |weaponprofs={{srd5lc|Simple Weapon}}s |toolprofs={{srd5lc|Thieves' Tools}} |saveprofs=Dexterity, Intelligence |skillprofs=Acrobatics, Arcane, Deception, Intimidation, |skillnum=<!-- changes the default skill selection from "three" to whatever is listed here --> |equipment=* leather armor * arcane focus * simple weapon |prerequisites= Lizardfolk only.<!--usually blank. If class has prerequisites, they go here--> |features=Fooism, Fooishness, Barism |subclasstitle=Barrister |summary=Fake class }}
Produces
As a Foo, you gain the following class features.
Hit Points
Hit Dice: 1d8
Hit Points at 1st Level: 8 + your SRD5 modifier
Hit Points at Higher Levels: 1d8 (or 5) + your Constitution modifier per Foo level after first
Proficiencies
Armor: light armor
Weapons: simple weapons
Tools: thieves' tools
Saving Throws: Dexterity , Intelligence
Skills: Choose from Acrobatics, Arcana, Deception, Intimidation.
Equipment
You start with the following equipment, in addition to the equipment granted by your background:
- leather armor
- arcane focus
- simple weapon
Prerequisites
Lizardfolk only.
Visit Template:5e Class Features/doc to edit this text! (How does this work?)