Template:One Class Table/doc

From Rlyehwiki
Jump to navigation Jump to search

Usage[edit]

Used on pages describing a Class.

{{One Class Table
|classname=<!-- name of class --> 
|refs= <!--references-->
|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 [1]
Level Proficiency
Bonus
Class 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[edit]

Length[edit]

The Class Table 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
Class Features
1st +2
2nd +2
3rd +2
4th +2
5th +3

Extra Columns[edit]

The Class Table preload supports non-standard columns in the table, for things such as Unarmed Damage, Rage Bonus, 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
Class Features Col1
Name
Col2
Name
Col3
Name
1st +2
2nd +2
3rd +2
4th +2
5th +3

Spells[edit]

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.

{{One Class Table
|classname=Test Class
|refs=
|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
Class Features Prepared Spells per Spell Level
1st 2nd 3rd 4th
1st +2
2nd +2
3rd +2
4th +2
5th +3

Everything[edit]

Yes, you can use everything all together. You may want to for spellcasting classes. An example follows:

{{One Class Table
|classname=Test Spellcaster Class
|refs=
|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
Class Features Cantrips
Known
Spells
Known
Prepared Spells per Spell Level
1st 2nd 3rd 4th 5th 6th 7th 8th 9th
1st +2
2nd +2
3rd +2

Back to Main PageDnDOne D&DTemplate