Template:5e Class Features: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 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
|Summary=Wikitext
|Class_Summary=Wikitext
|Subclass_Title=String
|Canon_Class=Boolean
|Canon_Class=Boolean
|Sidekick=Boolean
|Hidden=Boolean
|Hidden=Boolean
|UA=Boolean
|UA=Boolean
|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 40: 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={{#if: {{{sorttext|}}}|{{{sorttext}}}|{{PAGENAME}}}}
|where= Page_Name={{FULLPAGENAME}}
|Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{PAGENAME}} 5e}}
|Page_Name={{FULLPAGENAME}}
|Page_Name={{FULLPAGENAME}}
|Class_Name={{{classname|}}}
|Class_Name={{{classname|}}}
|Hit_Die={{{hitdie|}}}
|Hit_Die={{#if: {{{hitdie|}}}|d{{{hitdie}}}|}}
|HD_Num={{{hdNum|1}}}
|HD_Num={{{hdNum|1}}}
|Armor_Prof={{{armorprofs|}}}
|Armor_Prof={{{armorprofs|}}}
Line 56: Line 59:
|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}}
|Canon_Class={{#if: {{{canon|}}}|1}}
|Pointer=
|Pointer=
Line 62: Line 67:
|UA={{#if: {{{ua|}}}|1}}
|UA={{#if: {{{ua|}}}|1}}
|Class_Features={{{features|}}}
|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.