Template:5e Class Features: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>As a {{{classname|}}}, you gain the following class features.
<noinclude>
 
{{#cargo_declare:
_table = 5e_Class
|Sort_Text = String
|Page_Name=Page (unique)
|Class_Name=String
|Hit_Die=String
|HD_Num=Integer
|Armor_Prof=List (, ) of Wikitext string
|Weapon_Prof=List (, ) of Wikitext string
|Tool_Prof=List (, ) of Wikitext string
|Save_Prof=List (, ) of Wikitext string
|Skill_Prof=List (, ) of Wikitext string
|Skill_Num=String
|Start_Equip=List (, ) of Wikitext string
|Prerequisites=List (* ) of Wikitext string
|Class_Summary=Wikitext
|Subclass_Title=String
|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|}}}|&ensp;Sidekicks |}} 5e}}|{{DEFAULTSORTKEY:{{{classname|{{PAGENAME}}}}}{{#if: {{{sidekick|}}}|&ensp;Sidekicks |}} 5e}}}}{{#if: {{{canon|}}}|[[Category:5e Canon Classes]]|}}
{{#if: {{{sidekick|}}}|<!--skip-->|
====Hit Points====
====Hit Points====
'''Hit Dice:''' {{#if:{{{hitdie|}}}|{{#if: {{{hdNum|}}}|{{{hdNum}}}d{{{hitdie}}}[[Hit Die::{{{hdNum}}}d{{{hitdie}}}| ]]|1d{{{hitdie|}}}[[Hit Die::1d{{{hitdie}}}| ]]|}} per {{{classname|}}} level|!!Missing!!}}<br>
'''Hit Dice:''' {{#if:{{{hitdie|}}}|{{{hdNum|1}}}d{{{hitdie}}}|!!Missing!!}}<br>
'''Hit Points at 1st Level:''' {{#if: {{{hdNum|}}}|{{#expr: {{{hdNum}}} * {{{hitdie}}}}}|{{{hitdie}}}|}} + your {{ucfirst:{{{attribute|constitution}}}}} modifier<br>
'''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 11: Line 35:
'''Tools:''' {{{toolprofs|None}}}<br />
'''Tools:''' {{{toolprofs|None}}}<br />
'''Saving Throws:''' {{#if: {{{saveprofs|}}} |{{5e Saves |saves={{{saveprofs}}} }}|None}}<br />
'''Saving Throws:''' {{#if: {{{saveprofs|}}} |{{5e Saves |saves={{{saveprofs}}} }}|None}}<br />
'''Skills:''' {{#if: {{{skillprofs|}}} |Choose {{{skillnum|three}}} from {{5e Skills |skills={{{skillprofs}}} }}.|all}}
'''Skills:''' {{#if: {{{skillprofs|}}} |Choose {{{skillnum|three}}} from {{5e Skills |skills={{{skillprofs}}} }}.|Choose {{{skillnum|three}}} from all skills.}}


====Equipment====
====Equipment====
Line 18: Line 42:


====Prerequisites====
====Prerequisites====
{{{prerequisites}}}|<!--if no prerequsites, leave blank--> }}
{{{prerequisites}}}|<!--if no prerequsites, leave blank--> }} }}<!--
-->{{#if: {{{nodb|}}}|<!--skip cargo store-->|{{#cargo_store:
_table = 5e_Class
|where= Page_Name={{FULLPAGENAME}}
|Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{PAGENAME}} 5e}}
|Page_Name={{FULLPAGENAME}}
|Class_Name={{{classname|}}}
|Hit_Die={{#if: {{{hitdie|}}}|d{{{hitdie}}}|}}
|HD_Num={{{hdNum|1}}}
|Armor_Prof={{{armorprofs|}}}
|Weapon_Prof={{{weaponprofs|}}}
|Tool_Prof={{{toolprofs|}}}
|Save_Prof={{{saveprofs|}}}
|Skill_Prof={{{skillprofs|}}}
|Skill_Num={{#if: {{{skillprofs|}}}|{{{skillnum}}}|three}}
|Start_Equip={{{equipment|}}}
|Prerequisites={{{prerequisites|}}}
|Subclass_Title={{{subclasstitle|}}}
|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.