Template:5e Class Pointer: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(fixed canon_class) |
||
Line 17: | Line 17: | ||
|Prerequisites=List (* ) of Wikitext string | |Prerequisites=List (* ) of Wikitext string | ||
|Summary=Wikitext | |Summary=Wikitext | ||
| | |Canon_Class=Boolean | ||
|Class_Features=List (, ) of Wikitext string | |Class_Features=List (, ) of Wikitext string | ||
}}--> | }}--> | ||
Line 40: | Line 40: | ||
|Save_Prof={{{saveprofs|}}} | |Save_Prof={{{saveprofs|}}} | ||
|Class_Summary={{#if: {{{summary|}}}|{{{summary}}}|{{{desc|}}}}} | |Class_Summary={{#if: {{{summary|}}}|{{{summary}}}|{{{desc|}}}}} | ||
| | |Canon_Class={{#if: {{{noncanon|}}}|<!--Null-->|1}} | ||
|Pointer=1 | |Pointer=1 | ||
|Hidden={{#if: {{{hidden|}}}|1}} | |Hidden={{#if: {{{hidden|}}}|1}} |
Revision as of 21:31, 21 February 2020
This template adds rows to the table "5e_Class", which is declared by the template 5e Class Features. View table.
Syntax
{{5e Class Pointer |name= <!--Name of subclass--> |sorttext= <!--opt. category sort key--> |pub= <!--Publication--> |hdNum= <!--Number of HD --> |hitdie= <!--Type of HD (i.e. 6, 8 etc.)--> |saveprofs= <!--Ability, no link--> |kind= <!--Subclass kind. i.e. Primal Path, Martial Archetype, etc.--> |desc= <!--opt. Unofficial, NONPLAGIARIZED description of subclass--> |feature1= <!--1st Feature Name (Name Only)--> |feature2= <!--2nd Feature Name--> |feature20= <!--Repeat up to 20 features--> }}
Add'l Parameters
noncanon= <!--blank true if not canon--> ua= <!--blank, true if unearthed arcana--> summary= <!--blank, fill if different from desc-->
Example
{{5e Class Pointer |name=Foo <!--Name of subclass--> |sorttext= <!--opt. category sort key--> |pub=Foo's Guide to Bar <!--Publication--> |hitdie=12 |saveprofs=Constitution, Intelligence <!--Ability, no link--> |kind=Fooish Archetype <!--Subclass kind. i.e. Primal Path, Martial Archetype, etc.--> |desc=Foos and Bars <!--opt. Unofficial, NONPLAGIARIZED description of subclass--> |feature1=Fooishness <!--1st Feature Name (Name Only)--> |feature2=Barsoom <!--2nd Feature Name--> |feature20= <!--Repeat up to 20 features--> }}
produces:
Foo is a class in 5th edition, described in Foo's Guide to Bar.
Hit Die: 1d12
Saves: Constitution, Intelligence
Features: