Template:5e Subclass Pointer: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<includeonly> {{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e Pointer}}|{{DEFAULTSORTKEY: {{PAGENAME}} 5e Pointer}}| }}<!--check for empty fields-->{{#if: {{{kind|}}...")
 
No edit summary
Line 1: Line 1:
<includeonly>
<noinclude>
{{#cargo_attach:
_table = 5e_Subclass
}}</noinclude><includeonly>
{{#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
Line 5: Line 8:
| s = {{srd5lc|{{{kind}}}}} of the {{srd5lc|{{{class}}}}}
| s = {{srd5lc|{{{kind}}}}} of the {{srd5lc|{{{class}}}}}
| u = [[5e:{{{kind}}}|{{{kind}}}]] of the [[5e:{{{class}}}|{{{class}}}]]
| u = [[5e:{{{kind}}}|{{{kind}}}]] of the [[5e:{{{class}}}|{{{class}}}]]
| d = {{5edlc|{{{kind}}}}} of the {{5edlc|{{{class}}}|{{{class}}}}}
| p = {{5eplc|{{{kind}}}}} of the {{5eplc|{{{class}}}|{{{class}}}}}
| p = {{5eplc|{{{kind}}}}} of the {{5eplc|{{{class}}}|{{{class}}}}}
| h = {{5ehlc|{{{kind}}}}} of the {{5ehlc|{{{class}}}|{{{class}}}}}
| {{srd5lc|{{{kind}}}}} of the {{srd5lc|{{{class}}}}}
| {{srd5lc|{{{kind}}}}} of the {{srd5lc|{{{class}}}}}
}} {{srd5lc|Class}} described in {{pub|{{{pub}}}}}.[[Class::{{{class}}}| ]]<br />|<!--no pub--><span style="color:red">'''Warning:''' No publisher listed.</span><br /> }}|<!--no class--><span style="color:red">'''Warning:''' No class listed</span>.<br />}}|<!--no kind--><span style="color:red">'''Warning:''' No kind listed.</span><br /> }}
}} {{srd5lc|Class}} described in {{pub|{{{pub}}}}}.[[Class::{{{class}}}| ]]<br />|<!--no pub--><span style="color:red">'''Warning:''' No publisher listed.</span><br /> }}|<!--no class--><span style="color:red">'''Warning:''' No class listed</span>.<br />}}|<!--no kind--><span style="color:red">'''Warning:''' No kind listed.</span><br /> }}
Line 13: Line 18:


[[Category:5e Subclasses]][[Subclass::true| ]]
[[Category:5e Subclasses]][[Subclass::true| ]]
[[Category:5e Pointers]]</includeonly><noinclude>
[[Category:5e Pointers]]{{#cargo_store:
_table = 5e_Subclass
|Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{PAGENAME}} 5e|}}
|Page_Name={{FULLPAGENAME}}
|Subclass_Name={{{name|}}}
|Class_Name={{{class|}}}
|Class_NS={{#switch: {{{classNS|}}}
| s = SRD5
| u = 5ed
| d = 5ed
| p = 5ed
| h = 5eh
| SRD5
}}
|Sublass_Summary={{{summary|}}}
|Subclass_Features={{{feature1|}}}{{#if: {{{feature2|}}}|, {{{feature2}}}{{#if: {{{feature3|}}}|, {{{feature3}}}{{#if: {{{feature4|}}}|, {{{feature4}}}{{#if: {{{feature5|}}}|, {{{feature5}}}{{#if: {{{feature6|}}}|, {{{feature6}}}{{#if: {{{feature7|}}}|, {{{feature7}}}{{#if: {{{feature8|}}}|, {{{feature8}}}{{#if: {{{feature9|}}}|, {{{feature9}}}{{#if: {{{feature10|}}}|, {{{feature10}}}{{#if: {{{feature11|}}}|, {{{feature11}}}{{#if: {{{feature12|}}}|, {{{feature12}}}{{#if: {{{feature13|}}}|, {{{feature13}}}{{#if: {{{feature14|}}}|, {{{feature14}}}{{#if: {{{feature15|}}}|, {{{feature15}}}{{#if: {{{feature16|}}}|, {{{feature16}}}{{#if: {{{feature17|}}}|, {{{feature17}}}{{#if: {{{feature18|}}}|, {{{feature18}}}{{#if: {{{feature19|}}}|, {{{feature19}}}{{#if: {{{feature20|}}}|, {{{feature20}}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}
|Canon_Subclass={{#if: {{{noncanon|}}}|Null|1}}
|Hidden={{#if: {{{hidden|}}}|1}}
}}</includeonly><noinclude>


==Syntax==
==Syntax==
Line 28: Line 51:
|feature20= <!--Repeat up to 20 features-->
|feature20= <!--Repeat up to 20 features-->
}}</pre>
}}</pre>
===Additional Parameters===
noncanon= (blank, yes if not canon)


==Example==
==Example==

Revision as of 11:30, 20 February 2020

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

noncanon= (blank, yes if not canon)

Example

{{5e Subclass Pointer
|name=Foo <!--Name of subclass-->
|sorttext= <!--opt. category sort key-->
|class= <!--Parent Class-->
|classNS=u <!-- 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-->
}}

produces:

Foo 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.