Template:5e Class Features: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
(added cargo table, canon, sorttext)
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
|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
|Summary=Wikitext
|Canon_Spell=Boolean
}}</noinclude><includeonly>As a {{{classname|}}}, you gain the following class features.{{#if: {{{sorttext|}}}|[[DEFAULTSORTKEY:{{{sorttext}}} 5e|{{classname}} 5e}}{{#if: {{{canon|}}}|[[Category:5e Canon Classes]]|}}


====Hit Points====
====Hit Points====
Line 18: Line 36:


====Prerequisites====
====Prerequisites====
{{{prerequisites}}}|<!--if no prerequsites, leave blank--> }}
{{{prerequisites}}}|<!--if no prerequsites, leave blank--> }}<!--
-->{{#cargo_store:
_table = 5e_Class
|Sort_Text={{{sorttext|}}}
|Page_Name={{PAGENAME}}
|Class_Name={{{classname|}}}
|Hit_Die={{{hitdie|}}}
|HD_Num={{{hdNum|}}}
|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|}}}
|Class_Summary={{{summary|}}}
|Canon_Spell={{{canon|}}}
}}
</includeonly><noinclude>{{documentation}}</noinclude>
</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 16:21, 19 February 2020

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.{{#if: |[[DEFAULTSORTKEY: 5e|Template:Classname 5e}}

Hit Points

Hit Dice: 1d8 per Foo level
Hit Points at 1st Level: 8 + your 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.