Difference between revisions of "Template:5e Subclass Pointer"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m (level style)
m (refs)
Line 2: Line 2:
 
{{#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 {{#switch: {{{classNS}}}
+
--><span style="display:inline; float:right;">{{{refs|}}}</span><big><big>{{{name|}}}</big></big> is a {{#switch: {{{classNS}}}
 
| s = {{srd5lc|{{{kind}}}}} of the {{srd5lc|{{{class}}}}}
 
| s = {{srd5lc|{{{kind}}}}} of the {{srd5lc|{{{class}}}}}
 
| u = [[{{{kind}}} (5e Subclass Type)|{{{kind}}}]] of the [[{{{class}}} (5e Class)|{{{class}}}]]
 
| u = [[{{{kind}}} (5e Subclass Type)|{{{kind}}}]] of the [[{{{class}}} (5e Class)|{{{class}}}]]
Line 19: Line 19:
 
|name= <!--Name of subclass-->
 
|name= <!--Name of subclass-->
 
|sorttext= <!--opt. category sort key-->
 
|sorttext= <!--opt. category sort key-->
 +
|refs= <!--references-->
 
|class= <!--Parent Class-->
 
|class= <!--Parent Class-->
 
|classNS= <!-- s=SRD5, u=user, p=5e pointer -->
 
|classNS= <!-- s=SRD5, u=user, p=5e pointer -->
Line 39: Line 40:
 
|name=Foo <!--Name of subclass-->
 
|name=Foo <!--Name of subclass-->
 
|sorttext= <!--opt. category sort key-->
 
|sorttext= <!--opt. category sort key-->
|class= <!--Parent Class-->
+
|refs=<ref name="fgtn">{{Cite Pub|Foo's Guide to Nothing|pages=122}} Licensed: [[Public Domain]].</ref>
 +
|class=Bar <!--Parent Class-->
 
|classNS=u <!-- s=SRD5, u=user, p=5e pointer -->
 
|classNS=u <!-- s=SRD5, u=user, p=5e pointer -->
|kind= <!--Subclass kind. i.e. Primal Path, Martial Archetype, etc.-->
+
|kind=Bar Archetype <!--Subclass kind. i.e. Primal Path, Martial Archetype, etc.-->
|pub= <!--Publication-->
+
|pub=Foo's Guide to Nothing <!--Publication-->
|desc= <!--opt. Unofficial, NONPLAGIARIZED description of subclass-->
+
|desc=This is where the description would go. <!--opt. Unofficial, NONPLAGIARIZED description of subclass-->
|feature1= <!--1st Feature Name (Name Only)-->
+
|feature1=Fooishness <!--1st Feature Name (Name Only)-->
|feature2= <!--2nd Feature Name-->
+
|feature2=Barsoom <!--2nd Feature Name-->
 
|feature20= <!--Repeat up to 20 features-->
 
|feature20= <!--Repeat up to 20 features-->
 
}}</pre>
 
}}</pre>
Line 55: Line 57:
 
|name=Foo <!--Name of subclass-->
 
|name=Foo <!--Name of subclass-->
 
|sorttext= <!--opt. category sort key-->
 
|sorttext= <!--opt. category sort key-->
 +
|refs=<ref name="fgtn">{{Cite Pub|Foo's Guide to Nothing|pages=122}} Licensed: [[Public Domain]].</ref>
 
|class=Bar <!--Parent Class-->
 
|class=Bar <!--Parent Class-->
 
|classNS=u <!-- s=SRD5, u=user, p=5e pointer -->
 
|classNS=u <!-- s=SRD5, u=user, p=5e pointer -->

Revision as of 19:58, 29 November 2021


Syntax

{{5e Subclass Pointer
|name= <!--Name of subclass-->
|sorttext= <!--opt. category sort key-->
|refs= <!--references-->
|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, NONPLAGIARIZED notes, repeat up to fnote20)
flvl1= (blank, level it starts (ex. 7th), repeat up to flvl20)

Example

{{5e Subclass Pointer
|name=Foo <!--Name of subclass-->
|sorttext= <!--opt. category sort key-->
|refs=<ref name="fgtn">{{Cite Pub|Foo's Guide to Nothing|pages=122}} Licensed: [[Public Domain]].</ref>
|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)-->
|feature2=Barsoom <!--2nd Feature Name-->
|feature20= <!--Repeat up to 20 features-->
}}

produces:

Foo[1] is a Bar Archetype of the Bar class described in Foo's Guide to Nothing.

Features:

Fooishness
Barsoom
Unofficial Description: This is where the description would go.
  1. p. 122. Licensed: Public Domain.