Template:5e Class Features: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(added sidekick to DB schema)
(sidekick)
Line 22: Line 22:
|Pointer=Boolean
|Pointer=Boolean
|Class_Features=List (, ) of Wikitext string
|Class_Features=List (, ) of Wikitext string
}}</noinclude><includeonly>As a {{{classname|}}}, you gain the following class features.{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{{classname|{{PAGENAME}}}}} 5e}}}}{{#if: {{{canon|}}}|[[Category:5e Canon Classes]]|}}
}}</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|}}}|{{{hdNum|1}}}d{{{hitdie}}}|!!Missing!!}}<br>
'''Hit Dice:''' {{#if:{{{hitdie|}}}|{{{hdNum|1}}}d{{{hitdie}}}|!!Missing!!}}<br>
Line 41: Line 41:


====Prerequisites====
====Prerequisites====
{{{prerequisites}}}|<!--if no prerequsites, leave blank--> }}<!--
{{{prerequisites}}}|<!--if no prerequsites, leave blank--> }} }}<!--
-->{{#if: {{{nodb|}}}|<!--skip cargo store-->|{{#cargo_store:
-->{{#if: {{{nodb|}}}|<!--skip cargo store-->|{{#cargo_store:
_table = 5e_Class
_table = 5e_Class
Line 59: Line 59:
|Prerequisites={{{prerequisites|}}}
|Prerequisites={{{prerequisites|}}}
|Class_Summary={{{summary|}}}
|Class_Summary={{{summary|}}}
|Sidekick={{#if: {{{sidekick|}}}|1}}
|Canon_Class={{#if: {{{canon|}}}|1}}
|Canon_Class={{#if: {{{canon|}}}|1}}
|Pointer=
|Pointer=

Revision as of 13:20, 2 March 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.