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
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<noinclude>
{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e Pointer}}|{{DEFAULTSORTKEY:
{{#cargo_attach:
{{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
_table = 5e_Subclass
--><big><big>{{{name|}}}</big></big> is a {{#switch: {{{classNS}}}
}}</noinclude><includeonly>
| s = {{srd5lc|{{{kind}}}}} of the {{srd5lc|{{{class}}}}}
{{#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}}}}}]]|}}<!--avoid cr
| u = [[5e:{{{kind}}}|{{{kind}}}]] of the [[5e:{{{class}}}|{{{class}}}]]
--><span style="display:inline; float:right;">{{{refs|}}}</span><big><big>{{{name|}}}</big></big> is a {{#if: {{{kind|}}}|{{{kind}}}|subclass|}} of the {{5e Class Line|{{{class|}}}}} {{srd5lc|Class}}{{#if: {{{pub|}}}|&ensp;described in {{pub|{{{pub}}}}}|}}.<br />
| p = {{5eplc|{{{kind}}}}} of the {{5eplc|{{{class}}}|{{{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 /> }}
{{#if: {{{feature1|}}}|<br /><big>'''Features:'''</big>
{{#if: {{{feature1|}}}|<br /><big>'''Features:'''</big>
:{{{feature1}}}[[Features::{{{feature1}}}| ]]<br />| }}{{#if: {{{feature2|}}}|:{{{feature2}}}[[Features::{{{feature2}}}| ]]<br />| }}{{#if: {{{feature3|}}}|:{{{feature3}}}[[Features::{{{feature3}}}| ]]<br />| }}{{#if: {{{feature4|}}}|:{{{feature4}}}[[Features::{{{feature4}}}| ]]<br />| }}{{#if: {{{feature5|}}}|:{{{feature5}}}[[Features::{{{feature5}}}| ]]<br />| }}{{#if: {{{feature6|}}}|:{{{feature6}}}[[Features::{{{feature6}}}| ]]<br />| }}{{#if: {{{feature7|}}}|:{{{feature7}}}[[Features::{{{feature7}}}| ]]<br />| }}{{#if: {{{feature8|}}}|:{{{feature8}}}[[Features::{{{feature8}}}| ]]<br />| }}{{#if: {{{feature9|}}}|:{{{feature9}}}[[Features::{{{feature9}}}| ]]<br />| }}{{#if: {{{feature10|}}}|:{{{feature10}}}[[Features::{{{feature10}}}| ]]<br />| }}{{#if: {{{feature11|}}}|:{{{feature11}}}[[Features::{{{feature11}}}| ]]<br />| }}{{#if: {{{feature12|}}}|:{{{feature12}}}[[Features::{{{feature12}}}| ]]<br />| }}{{#if: {{{feature13|}}}|:{{{feature13}}}[[Features::{{{feature13}}}| ]]<br />| }}{{#if: {{{feature14|}}}|:{{{feature14}}}[[Features::{{{feature14}}}| ]]<br />| }}{{#if: {{{feature15|}}}|:{{{feature15}}}[[Features::{{{feature15}}}| ]]<br />| }}{{#if: {{{feature16|}}}|:{{{feature16}}}[[Features::{{{feature16}}}| ]]<br />| }}{{#if: {{{feature17|}}}|:{{{feature17}}}[[Features::{{{feature17}}}| ]]<br />| }}{{#if: {{{feature18|}}}|:{{{feature18}}}[[Features::{{{feature18}}}| ]]<br />| }}{{#if: {{{feature19|}}}|:{{{feature19}}}[[Features::{{{feature19}}}| ]]<br />| }}{{#if: {{{feature20|}}}|:{{{feature20}}}[[Features::{{{feature20}}}| ]]<br />| }}
:{{{feature1}}}{{#if: {{{flvl1|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl1}}} level)</span>''|}}{{#if: {{{fnote1|}}}|&nbsp;{{{fnote1}}}|}}<br />| }}{{#if: {{{feature2|}}}|:{{{feature2}}}{{#if: {{{flvl2|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl2}}} level)</span>''|}}{{#if: {{{fnote2|}}}|&nbsp;{{{fnote2}}}|}}<br />| }}{{#if: {{{feature3|}}}|:{{{feature3}}}{{#if: {{{flvl3|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl3}}} level)</span>''|}}{{#if: {{{fnote3|}}}|&nbsp;{{{fnote3}}}|}}<br />| }}{{#if: {{{feature4|}}}|:{{{feature4}}}{{#if: {{{flvl4|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl4}}} level)</span>''|}}{{#if: {{{fnote4|}}}|&nbsp;{{{fnote4}}}|}}<br />| }}{{#if: {{{feature5|}}}|:{{{feature5}}}{{#if: {{{flvl5|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl5}}} level)</span>''|}}{{#if: {{{fnote5|}}}|&nbsp;{{{fnote5}}}|}}<br />| }}{{#if: {{{feature6|}}}|:{{{feature6}}}{{#if: {{{flvl6|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl6}}} level)</span>''|}}{{#if: {{{fnote6|}}}|&nbsp;{{{fnote6}}}|}}<br />| }}{{#if: {{{feature7|}}}|:{{{feature7}}}{{#if: {{{flvl7|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl7}}} level)</span>''|}}{{#if: {{{fnote7|}}}|&nbsp;{{{fnote7}}}|}}<br />| }}{{#if: {{{feature8|}}}|:{{{feature8}}}{{#if: {{{flvl8|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl8}}} level)</span>''|}}{{#if: {{{fnote8|}}}|&nbsp;{{{fnote8}}}|}}<br />| }}{{#if: {{{feature9|}}}|:{{{feature9}}}{{#if: {{{flvl9|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl9}}} level)</span>''|}}{{#if: {{{fnote9|}}}|&nbsp;{{{fnote9}}}|}}<br />| }}{{#if: {{{feature10|}}}|:{{{feature10}}}{{#if: {{{flvl10|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl10}}} level)</span>''|}}{{#if: {{{fnote10|}}}|&nbsp;{{{fnote10}}}|}}<br />| }}{{#if: {{{feature11|}}}|:{{{feature11}}}{{#if: {{{flvl11|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl11}}} level)</span>''|}}{{#if: {{{fnote11|}}}|&nbsp;{{{fnote11}}}|}}<br />| }}{{#if: {{{feature12|}}}|:{{{feature12}}}{{#if: {{{flvl12|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl12}}} level)</span>''|}}{{#if: {{{fnote12|}}}|&nbsp;{{{fnote12}}}|}}<br />| }}{{#if: {{{feature13|}}}|:{{{feature13}}}{{#if: {{{flvl13|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl13}}} level)</span>''|}}{{#if: {{{fnote13|}}}|&nbsp;{{{fnote13}}}|}}<br />| }}{{#if: {{{feature14|}}}|:{{{feature14}}}{{#if: {{{flvl14|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl14}}} level)</span>''|}}{{#if: {{{fnote14|}}}|&nbsp;{{{fnote14}}}|}}<br />| }}{{#if: {{{feature15|}}}|:{{{feature15}}}{{#if: {{{flvl15|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl15}}} level)</span>''|}}{{#if: {{{fnote15|}}}|&nbsp;{{{fnote15}}}|}}<br />| }}{{#if: {{{feature16|}}}|:{{{feature16}}}{{#if: {{{flvl16|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl16}}} level)</span>''|}}{{#if: {{{fnote16|}}}|&nbsp;{{{fnote16}}}|}}<br />| }}{{#if: {{{feature17|}}}|:{{{feature17}}}{{#if: {{{flvl17|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl17}}} level)</span>''|}}{{#if: {{{fnote1|7}}}|&nbsp;{{{fnote17}}}|}}<br />| }}{{#if: {{{feature18|}}}|:{{{feature18}}}{{#if: {{{flvl18|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl18}}} level)</span>''|}}{{#if: {{{fnote18|}}}|&nbsp;{{{fnote18}}}|}}<br />| }}{{#if: {{{feature19|}}}|:{{{feature19}}}{{#if: {{{flvl19|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl19}}} level)</span>''|}}{{#if: {{{fnote19|}}}|&nbsp;{{{fnote19}}}|}}<br />| }}{{#if: {{{feature20|}}}|:{{{feature20}}}{{#if: {{{flvl20|}}}|&nbsp;''<span style="font-size:0.75rem;">({{{flvl20}}} level)</span>''|}}{{#if: {{{fnote20|}}}|&nbsp;{{{fnote20}}}|}}<br />| }}
{{#if: {{{desc}}}|<big>'''Unofficial Description:'''</big> {{{desc|}}}[[Summary::{{{desc}}}| ]]| }}
{{#if: {{{desc}}}|<big>'''Unofficial Description:'''</big> {{{desc|}}}| }}


[[Category:5e Subclasses]][[Subclass::true| ]]
[[Category:5e Subclasses]]
[[Category:5e Pointers]]</includeonly><noinclude>
[[Category:5e Pointers]]{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
_table = 5e_Subclass
|where=Page_Name={{FULLPAGENAME}}
|Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{PAGENAME}} 5e|}}
|Page_Name={{FULLPAGENAME}}
|Subclass_Name={{{name|}}}
|Class_Name={{{class|}}}
|Class_NS={{#switch: {{{classNS|}}}
| s = SRD5
| u = 5e
| d = 5e
| p = 5e
| h = 5eh
| SRD5
}}
|Subclass_Summary={{#if: {{{summary|}}}|{{{summary}}}|{{{desc|}}}}}
|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|}}}|0|1}}
|Hidden={{#if: {{{hidden|}}}|1}}
|UA={{#if: {{{ua|}}}|1}}
}}}}</includeonly><noinclude>


==Syntax==
==Syntax==
Line 19: Line 36:
|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 28: Line 46:
|feature20= <!--Repeat up to 20 features-->
|feature20= <!--Repeat up to 20 features-->
}}</pre>
}}</pre>
===Additional Parameters===
<pre>
fnote1= (blank, notes, repeat up to fnote20)
flvl1= (blank, level it starts, repeat up to lvl20)
noncanon= (blank, yes if not canon)
</pre>


==Example==
==Example==
Line 33: Line 58:
|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=23}} 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-->
|flvl1=2nd
|feature2=Barsoom <!--2nd Feature Name-->
|flvl2=7th
|feature20= <!--Repeat up to 20 features-->
|feature20= <!--Repeat up to 20 features-->
}}</pre>
}}</pre>
Line 49: Line 77:
|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=23}} 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 -->
Line 55: Line 84:
|desc=This is where the description would go. <!--opt. Unofficial, NONPLAGIARIZED description of subclass-->
|desc=This is where the description would go. <!--opt. Unofficial, NONPLAGIARIZED description of subclass-->
|feature1=Fooishness <!--1st Feature Name (Name Only)-->
|feature1=Fooishness <!--1st Feature Name (Name Only)-->
|flvl1=2nd
|feature2=Barsoom <!--2nd Feature Name-->
|feature2=Barsoom <!--2nd Feature Name-->
|flvl2=7th
|feature20= <!--Repeat up to 20 features-->
|feature20= <!--Repeat up to 20 features-->
|nodb=true
}}
}}
[[Category:5e Templates|Subclass Pointer Template 5e]]
[[Category:5e Templates|Subclass Pointer Template 5e]]
[[Category:5e Pointer Templates|Subclass Pointer Template 5e]]
[[Category:5e Pointer Templates|Subclass Pointer Template 5e]]
</noinclude>
</noinclude>

Latest revision as of 12:52, 29 November 2021

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

Syntax[edit]

{{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[edit]

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

Example[edit]

{{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=23}} 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)-->
|flvl1=2nd
|feature2=Barsoom <!--2nd Feature Name-->
|flvl2=7th
|feature20= <!--Repeat up to 20 features-->
}}

produces:

[1]Foo is a Bar Archetype 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.