Template:5e Subclass Pointer: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
(refs)
Line 5: Line 5:
{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e Pointer}}|{{DEFAULTSORTKEY:
{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e Pointer}}|{{DEFAULTSORTKEY:
{{PAGENAME}} 5e Pointer}}| }}<!--check for empty fields-->{{#if: {{{kind|}}}|[[Category:5e {{Type Array|{{{kind}}}}}]]{{#if: {{{class|}}}|[[Category:5e {{Type Array|{{{class}}}}}]]{{#if: {{{pub|}}}|<!--avoid cr
{{PAGENAME}} 5e Pointer}}| }}<!--check for empty fields-->{{#if: {{{kind|}}}|[[Category:5e {{Type Array|{{{kind}}}}}]]{{#if: {{{class|}}}|[[Category:5e {{Type Array|{{{class}}}}}]]{{#if: {{{pub|}}}|<!--avoid cr
--><big><big>{{{name|}}}</big></big> is a {{#if: {{{kind|}}}|{{srd5lc|{{{kind}}}|subclass}}}} of the {{5e Class Line|{{{class}}}}}<!--{{#switch: {{{classNS}}}
--><span style="display:inline; float:right;">{{{refs|}}}</span><big><big>{{{name|}}}</big></big> is a {{#if: {{{kind|}}}|{{srd5lc|{{{kind}}}|subclass}}}} of the {{5e Class Line|{{{class}}}}}<!--{{#switch: {{{classNS}}}
| s = {{srd5lc|{{{kind}}}}} of the {{srd5lc|{{{class}}}}}
| s = {{srd5lc|{{{kind}}}}} of the {{srd5lc|{{{class}}}}}
| u = {{5edlc|{{{kind}}}}} of the {{5edlc|{{{class}}}|{{{class}}}}}
| u = {{5edlc|{{{kind}}}}} of the {{5edlc|{{{class}}}|{{{class}}}}}

Revision as of 11:25, 29 November 2021

This template adds rows to the table "5e_Subclass", which is declared by the template 5e Subclass Traits. View table.

Syntax

{{5e Subclass Pointer
|name= <!--Name of subclass-->
|sorttext= <!--opt. category sort key-->
|class= <!--Parent Class-->
|classNS= <!-- s=SRD5, u=user, p=5e pointer -->
|kind= <!--Subclass kind. i.e. Primal Path, Martial Archetype, etc.-->
|pub= <!--Publication-->
|desc= <!--opt. Unofficial, NONPLAGIARIZED description of subclass-->
|feature1= <!--1st Feature Name (Name Only)-->
|feature2= <!--2nd Feature Name-->
|feature20= <!--Repeat up to 20 features-->
}}

Additional Parameters

fnote1= (blank, notes, repeat up to fnote20)
flvl1= (blank, level it starts, repeat up to lvl20)
noncanon= (blank, yes if not canon)

Example

{{5e Subclass Pointer
|name=Foo <!--Name of subclass-->
|sorttext= <!--opt. category sort key-->
|class=Bar <!--Parent Class-->
|classNS=u <!-- s=SRD5, u=user, p=5e pointer -->
|kind=Bar Archetype <!--Subclass kind. i.e. Primal Path, Martial Archetype, etc.-->
|pub=Foo's Guide to Nothing <!--Publication-->
|desc=This is where the description would go. <!--opt. Unofficial, NONPLAGIARIZED description of subclass-->
|feature1=Fooishness <!--1st Feature Name (Name Only)-->
|flvl1=2nd
|feature2=Barsoom <!--2nd Feature Name-->
|flvl2=7th
|feature20= <!--Repeat up to 20 features-->
}}

produces:

Foo is a subclass of the No resultsNo results class described in Foo's Guide to Nothing.

Features:

Fooishness (2nd level)
Barsoom (7th level)

Unofficial Description: This is where the description would go.