Difference between revisions of "Template:5e Class Features"
From Dungeons and Dragons Wiki
(allowing for multiple dice for hit dice (ex. 2d6)) |
m |
||
Line 4: | Line 4: | ||
'''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 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:''' {{#if: {{{hdNum|}}}|{{#expr: {{{hdNum}}} * {{{hitdie}}}}}|{{{hitdie}}}|}} + your {{ucfirst:{{{attribute|constitution}}}}} modifier<br> | '''Hit Points at 1st Level:''' {{#if: {{{hdNum|}}}|{{#expr: {{{hdNum}}} * {{{hitdie}}}}}|{{{hitdie}}}|}} + your {{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 {{ucfirst:{{{attribute | + | '''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==== |
Revision as of 23:05, 30 November 2018
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.
Visit Template:5e Class Features/doc to edit this text! (How does this work?)