Template:5e Class Simple: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><big>'''{{Anchor|The {{{classname|}}} }}'''</big>
<includeonly><div style="display: block; overflow:auto; max-width:90vw;"><big>'''{{Anchor|The {{{classname|}}} }}'''</big>
{{{!}} class="zebra" {{#if: {{{width|}}}| style="width:{{{width}}}%;"}}
{{{!}} class="zebra center" {{#if: {{{width|}}}| style="width:{{{width}}}%;"}}
{{!}}-
{{!}}-
! {{#if: {{{spells|}}} |rowspan="2"}} {{!}} Level
! {{#if: {{{spells|}}} |rowspan="2"}} {{!}} Level
Line 87: Line 87:
{{!}} +6
{{!}} +6
{{!}} class="left" {{!}} {{{feature20|&mdash;}}}{{#if: {{{extraa|}}}|{{!!}} {{{extra20a|&mdash;}}} }}{{#if: {{{extrab|}}}|{{!!}} {{{extra20b|&mdash;}}} }}{{#if: {{{extrac|}}}|{{!!}} {{{extra20c|&mdash;}}} }}{{#if: {{{extrad|}}}|{{!!}} {{{extra20d|&mdash;}}} }}{{#if: {{{extrae|}}}|{{!!}} {{{extra20e|&mdash;}}} }} }}
{{!}} class="left" {{!}} {{{feature20|&mdash;}}}{{#if: {{{extraa|}}}|{{!!}} {{{extra20a|&mdash;}}} }}{{#if: {{{extrab|}}}|{{!!}} {{{extra20b|&mdash;}}} }}{{#if: {{{extrac|}}}|{{!!}} {{{extra20c|&mdash;}}} }}{{#if: {{{extrad|}}}|{{!!}} {{{extra20d|&mdash;}}} }}{{#if: {{{extrae|}}}|{{!!}} {{{extra20e|&mdash;}}} }} }}
|}[[Length::{{{length|20}}}| ]]</includeonly><noinclude>{{documentation}}</noinclude>
|}[[Length::{{{length|20}}}| ]]</div></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 09:10, 26 January 2021

Template documentation (for the above template, sometimes hidden or invisible)

Usage

Used on pages describing a Class. If describing a prestige class, use Template:5e Prestige Class.

{{5e Class Simple
|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 -->
}}
The Test Class
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
The Test Class
Level Proficiency
Bonus
Features
1st +2
2nd +2
3rd +2
4th +2
5th +3

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.

The Test Class
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.

{{5e Class Simple
|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}}
}}
The Test Class
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:

{{5e Class Simple
|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}}
}}
The Test Spellcaster Class
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