Difference between revisions of "Template:5e Class Features"

From Dungeons and Dragons Wiki
Jump to: navigation, search
(Created page with "As a {{{name|}}}, you gain the following class features. ====Hit Points==== '''Hit Dice:''' 1d{{{hitdie|}}} per {{{name|}}} level '''Hit Points at 1st Level:''' {{{hitdie|}}}...")
 
(23 intermediate revisions by 8 users not shown)
Line 1: Line 1:
As a {{{name|}}}, you gain the following class features.
+
<includeonly>As a {{{classname|}}}, you gain the following class features.
  
 
====Hit Points====
 
====Hit Points====
'''Hit Dice:''' 1d{{{hitdie|}}} per {{{name|}}} level
+
'''Hit Dice:''' {{#if:{{{hitdie|}}}|{{#if: {{{hdNum|}}}|{{{hdNum}}}d{{{hitdie}}}{{#set: Hit Die={{{hdNum}}}d{{{hitdie}}}}}|1d{{{hitdie|}}}{{#set: Hit Die=1d{{{hitdie}}}}}|}} per {{{classname|}}} level|!!Missing!!}}<br>
'''Hit Points at 1st Level:''' {{{hitdie|}}} + your {{ucfirst:{{{attribute|constitution}}}}} modifier
+
'''Hit Points at 1st Level:''' {{#if: {{{hdNum|}}}|{{#expr: {{{hdNum}}} * {{{hitdie}}}}}|{{{hitdie}}}|}} + your {{ucfirst:{{{attribute|constitution}}}}} modifier<br>
'''Hit Points at Higher Levels:''' 1d{{{hitdie|}}} (or {{#expr: {{{hitdie|}}}/2 + 1}}) +  your {{ucfirst:{{{attribute|constitution}}}}} modifier per {{{name|}}} 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|}}}|{{ucfirst:{{{attribute}}}}}|Constitution}} modifier per {{{classname|}}} level after first
  
 
====Proficiencies====
 
====Proficiencies====
'''Armor:''' {{{armorprofs|None}}}
+
'''Armor:''' {{{armorprofs|None}}}<br />
'''Weapons:''' {{{weaponprofs|None}}}
+
'''Weapons:''' {{{weaponprofs|None}}}<br />
'''Tools:''' {{{toolprofs|None}}}
+
'''Tools:''' {{{toolprofs|None}}}<br />
'''Saving Throws:''' {{{saveprofs|None}}}
+
'''Saving Throws:''' {{#if: {{{saveprofs|}}} |{{5e Saves |saves={{{saveprofs}}} }}|None}}<br />
'''Skills:''' {{{skillprofs|None}}}
+
'''Skills:''' {{#if: {{{skillprofs|}}} |Choose {{{skillnum|three}}} from {{5e Skills |skills={{{skillprofs}}} }}.|Choose {{{skillnum|three}}} from all.}}
  
 
====Equipment====
 
====Equipment====
 
You start with the following equipment, in addition to the equipment granted by your background:
 
You start with the following equipment, in addition to the equipment granted by your background:
{{{equipment|*None}}}
+
{{{equipment|*None}}}{{#if: {{{prerequisites|}}}|<nowiki></nowiki>
 +
 
 +
====Prerequisites====
 +
{{{prerequisites}}}|<!--if no prerequsites, leave blank--> }}
 +
</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 20:55, 30 September 2019

Template documentation (for the above template, sometimes hidden or invisible)

Syntax

{{5e Class Features
|classname=
|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--> 
}}

Example

{{5e Class Features
|classname=Foo
|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--> 
}}

Produces

As a Foo, you gain the following class features.

Hit Points

Hit Dice: 18 per Foo level
Hit Points at 1st Level: 8 + your modifier
Hit Points at Higher Levels: 18 + your modifier

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.