Template:5e24 Class Features: Difference between revisions
(Created page with "<includeonly><div style="display: block; overflow:auto; max-width:90vw;"><big>'''{{Anchor|{{{classname|}}} Features}}'''</big>{{#if: {{{refs|}}}|<span style="display:inline; float:right;">{{{refs}}}</span>|}} {{{!}} class="zebra center small" {{#if: {{{width|}}}| style="width:{{{width}}}%;"}} <!--{{!}}- --> ! {{#if: {{{spells|}}} |rowspan="2"}} {{!}} Level ! {{#if: {{{spells|}}} |rowspan="2"}} {{!}} Proficiency<br>Bonus ! {{#if: {{{spells|}}} |rowspan="2"}} class="left"...") |
(update for subclass use) |
||
Line 6: | Line 6: | ||
! {{#if: {{{spells|}}} |rowspan="2"}} class="left" {{!}} Features {{#if: {{{extraa|}}}| !! {{#if: {{{spells|}}} |rowspan="2"}} {{!}} '''{{{extraa|}}}''' }}{{#if: {{{extrab|}}}| !! {{#if: {{{spells|}}} |rowspan="2"}} {{!}} '''{{{extrab|}}}''' }}{{#if: {{{extrac|}}}| !! {{#if: {{{spells|}}} |rowspan="2"}} {{!}} '''{{{extrac|}}}''' }}{{#if: {{{extrad|}}}| !! {{#if: {{{spells|}}} |rowspan="2"}} {{!}} '''{{{extrad|}}}''' }}{{#if: {{{extrae|}}}| !! {{#if: {{{spells|}}} |rowspan="2"}} {{!}} '''{{{extrae|}}}''' }}{{#if: {{{spells|}}}| !! colspan="10" {{!}} —'''Spell Slots per Spell Level'''— | ! {{#if: {{{spells|}}} |rowspan="2"}} class="left" {{!}} Features {{#if: {{{extraa|}}}| !! {{#if: {{{spells|}}} |rowspan="2"}} {{!}} '''{{{extraa|}}}''' }}{{#if: {{{extrab|}}}| !! {{#if: {{{spells|}}} |rowspan="2"}} {{!}} '''{{{extrab|}}}''' }}{{#if: {{{extrac|}}}| !! {{#if: {{{spells|}}} |rowspan="2"}} {{!}} '''{{{extrac|}}}''' }}{{#if: {{{extrad|}}}| !! {{#if: {{{spells|}}} |rowspan="2"}} {{!}} '''{{{extrad|}}}''' }}{{#if: {{{extrae|}}}| !! {{#if: {{{spells|}}} |rowspan="2"}} {{!}} '''{{{extrae|}}}''' }}{{#if: {{{spells|}}}| !! colspan="10" {{!}} —'''Spell Slots per Spell Level'''— | ||
{{!}}- <!--style="background-color:#fcf9d3;"--> | {{!}}- <!--style="background-color:#fcf9d3;"--> | ||
! {{{spells|}}} }}{{#ifexpr: {{{length|20}}}>0 |<nowiki></nowiki> | ! {{{spells|}}} }}{{#if: {{{subclass|}}}|<!--skip-->|{{#ifexpr: {{{length|20}}}>0 |<nowiki></nowiki> | ||
{{!}}- | {{!}}- | ||
{{!}} 1st | {{!}} 1st | ||
Line 14: | Line 14: | ||
{{!}} 2nd | {{!}} 2nd | ||
{{!}} +2 | {{!}} +2 | ||
{{!}} class="left" {{!}} {{{feature2|—}}}{{#if: {{{extraa|}}}|{{!!}} {{{extra2a|—}}} }}{{#if: {{{extrab|}}}|{{!!}} {{{extra2b|—}}} }}{{#if: {{{extrac|}}}|{{!!}} {{{extra2c|—}}} }}{{#if: {{{extrad|}}}|{{!!}} {{{extra2d|—}}} }}{{#if: {{{extrae|}}}|{{!!}} {{{extra2e|—}}} }} }}{{#ifexpr: {{{length|20}}}>2 |<nowiki></nowiki> | {{!}} class="left" {{!}} {{{feature2|—}}}{{#if: {{{extraa|}}}|{{!!}} {{{extra2a|—}}} }}{{#if: {{{extrab|}}}|{{!!}} {{{extra2b|—}}} }}{{#if: {{{extrac|}}}|{{!!}} {{{extra2c|—}}} }}{{#if: {{{extrad|}}}|{{!!}} {{{extra2d|—}}} }}{{#if: {{{extrae|}}}|{{!!}} {{{extra2e|—}}} }} }} }}<!--endif subclass-->{{#ifexpr: {{{length|20}}}>2 |<nowiki></nowiki> | ||
{{!}}- | {{!}}- | ||
{{!}} 3rd | {{!}} 3rd | ||
Line 296: | Line 296: | ||
}} | }} | ||
=== Subclass === | |||
This template can also be used for subclasses that have spells (such as {{5e24|Eldritch Knight}} or {{5e24|Arcane Trickster}}. Use the following changes: | |||
* classname= Subclass name | |||
* subclass= true | |||
<pre>{{5e24 Class Features | |||
|classname=Test Spellcaster Subclass | |||
|subclass=true | |||
|length=5 | |||
|extraa=Cantrips<br>Known | |||
|extrab=Spells<br>Known | |||
|spells=1st !! 2nd !! 3rd !! 4th | |||
|feature3={{iplink|Spellcasting}} | |||
|extra3a=2 | |||
|extra3b=2 | |||
{{Spell Row |4|2}} | |||
|feature4={{iplink|Foo}}, {{iplink|Bar}} | |||
|extra4a=2 | |||
|extra4b=3 | |||
{{Spell Row |4|2}} | |||
|feature5={{iplink|Foobar}} | |||
|extra5a=3 | |||
|extra5b=4 | |||
{{Spell Row |4|3|1}} | |||
}} | |||
</pre> | |||
{{5e24 Class Features | |||
|classname=Test Spellcaster Subclass | |||
|subclass=true | |||
|length=5 | |||
|extraa=Cantrips<br>Known | |||
|extrab=Spells<br>Known | |||
|spells=1st !! 2nd !! 3rd !! 4th | |||
|feature3={{iplink|Spellcasting}} | |||
|extra3a=2 | |||
|extra3b=2 | |||
{{Spell Row |4|2}} | |||
|feature4={{iplink|Foo}}, {{iplink|Bar}} | |||
|extra4a=2 | |||
|extra4b=3 | |||
{{Spell Row |4|2}} | |||
|feature5={{iplink|Foobar}} | |||
|extra5a=3 | |||
|extra5b=4 | |||
{{Spell Row |4|3|1}} | |||
}} | |||
[[Category:5e24 Templates|Class Features]] | |||
</noinclude> | </noinclude> |
Latest revision as of 08:20, 1 February 2025
Usage
Used on pages describing a Class.
{{5e24 Class Features |classname=<!-- name of class --> Test Class |feature1=<!-- features granted at 1 --> |feature2=<!-- features granted at 2 --> |feature3=<!-- features granted at 3 --> |feature4=<!-- features granted at 4 --> |feature5=<!-- features granted at 5 --> |feature6=<!-- features granted at 6 --> |feature7=<!-- features granted at 7 --> |feature8=<!-- features granted at 8 --> |feature9=<!-- features granted at 9 --> |feature10=<!-- features granted at 10 --> |feature11=<!-- features granted at 11 --> |feature12=<!-- features granted at 12 --> |feature13=<!-- features granted at 13 --> |feature14=<!-- features granted at 14 --> |feature15=<!-- features granted at 15 --> |feature16=<!-- features granted at 16 --> |feature17=<!-- features granted at 17 --> |feature18=<!-- features granted at 18 --> |feature19=<!-- features granted at 19 --> |feature20=<!-- features granted at 20 --> }}
Level | Proficiency Bonus |
Features |
---|---|---|
1st | +2 | |
2nd | +2 | |
3rd | +2 | |
4th | +2 | |
5th | +3 | |
6th | +3 | |
7th | +3 | |
8th | +3 | |
9th | +4 | |
10th | +4 | |
11th | +4 | |
12th | +4 | |
13th | +5 | |
14th | +5 | |
15th | +5 | |
16th | +5 | |
17th | +6 | |
18th | +6 | |
19th | +6 | |
20th | +6 |
Advanced Features
Length
The Class Simple preload supports classes that don't go all the way to 20. There's no reason to do this in 5e at this time, it's mostly just in case (and because it was supported in the template that this was based on).
Add:
|length=<!-- length of class, we'll use 5 to demonstrate -->5
Extra Columns
The Class Simple preload supports non-standard columns in the table, for things such as Unarmed Damage, Spells Known, Cantrips Known, etc.
Add:
|extraa=<!-- name of new column a. separate multiple words with a "<br>" -->Col1<br>Name |extrab=<!-- as a above, but for new column b -->Col2<br>Name |extrac=<!-- as a above, but for new column c -->Col3<br>Name ... |extra1a=<!-- column a value at level 1. if not present, will default to "-" --> |extra1b=<!-- as 1a above, but for new column b --> |extra1c=<!-- as 1a above, but for new column c --> ...
As with the various feature parameters, the various extra parameters must be added from level 1 through 20 for each needed level and column.
Level | Proficiency Bonus |
Features | Col1 Name |
Col2 Name |
Col3 Name |
---|---|---|---|---|---|
1st | +2 | ||||
2nd | +2 | ||||
3rd | +2 | ||||
4th | +2 | ||||
5th | +3 |
Spells
Add:
|spells=1st !! 2nd !! 3rd !! 4th
Additional spell columns can be added by adding "!! #th" for each needed column.
You will also need to append || —|| —|| —|| — to the last feature/extra entry in every row. More information about using Template:Spell Row can be found on its page.
{{5e24 Class Features |classname=Test Class |spells=1st !! 2nd !! 3rd !! 4th |length=5 |feature1=<!-- features granted at 1 --> {{Spell Row|4}} |feature2=<!-- features granted at 2 --> {{Spell Row|4}} |feature3=<!-- features granted at 3 --> {{Spell Row|4}} |feature4=<!-- features granted at 4 --> {{Spell Row|4}} |feature5=<!-- features granted at 5 --> {{Spell Row|4}} }}
Level | Proficiency Bonus |
Features | —Spell Slots per Spell Level— | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
1st | 2nd | 3rd | 4th | |||||||||
1st | +2 | — | — | — | — | |||||||
2nd | +2 | — | — | — | — | |||||||
3rd | +2 | — | — | — | — | |||||||
4th | +2 | — | — | — | — | |||||||
5th | +3 | — | — | — | — |
Everything
Yes, you can use everything all together. You may want to for spellcasting classes. An example follows:
{{5e24 Class Features |classname=Test Spellcaster Class |length=3 |extraa=Cantrips<br>Known |extrab=Spells<br>Known |spells=1st !! 2nd !! 3rd !! 4th !! 5th !! 6th !! 7th !! 8th !! 9th |feature1= |extra1a= |extra1b= — {{Spell Row |9}} |feature2= |extra2a= |extra2b= — {{Spell Row |9}} |feature3= |extra3a= |extra3b= — {{Spell Row |9}} }}
Level | Proficiency Bonus |
Features | Cantrips Known |
Spells Known |
—Spell Slots per Spell Level— | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1st | 2nd | 3rd | 4th | 5th | 6th | 7th | 8th | 9th | ||||||
1st | +2 | — | — | — | — | — | — | — | — | — | — | |||
2nd | +2 | — | — | — | — | — | — | — | — | — | — | |||
3rd | +2 | — | — | — | — | — | — | — | — | — | — |
Subclass
This template can also be used for subclasses that have spells (such as Eldritch Knight or Arcane Trickster. Use the following changes:
- classname= Subclass name
- subclass= true
{{5e24 Class Features |classname=Test Spellcaster Subclass |subclass=true |length=5 |extraa=Cantrips<br>Known |extrab=Spells<br>Known |spells=1st !! 2nd !! 3rd !! 4th |feature3={{iplink|Spellcasting}} |extra3a=2 |extra3b=2 {{Spell Row |4|2}} |feature4={{iplink|Foo}}, {{iplink|Bar}} |extra4a=2 |extra4b=3 {{Spell Row |4|2}} |feature5={{iplink|Foobar}} |extra5a=3 |extra5b=4 {{Spell Row |4|3|1}} }}
Level | Proficiency Bonus |
Features | Cantrips Known |
Spells Known |
—Spell Slots per Spell Level— | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1st | 2nd | 3rd | 4th | |||||||||||
3rd | +2 | Spellcasting | 2 | 2 | 2 | — | — | — | ||||||
4th | +2 | Foo, Bar | 2 | 3 | 2 | — | — | — | ||||||
5th | +3 | Foobar | 3 | 4 | 3 | 1 | — | — |