Template:5e Class Pointer: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(fixed canon_class)
No edit summary
Line 33: Line 33:
-->{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
-->{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
_table = 5e_Class
_table = 5e_Class
|where Page_Name={{FULLPAGENAME}}
|Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}}|{{PAGENAME}}}}
|Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}}|{{PAGENAME}}}}
|Page_Name={{FULLPAGENAME}}
|Page_Name={{FULLPAGENAME}}

Revision as of 10:31, 22 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:

Fooishness
Barsoom

Unofficial Description: Foos and Bars