Template:5e Subclass Pointer: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(16 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
_table = 5e_Subclass | _table = 5e_Subclass | ||
}}</noinclude><includeonly> | }}</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}}}}}]]|}}<!--avoid cr | ||
{{PAGENAME}} 5e Pointer}}| }}<!--check for empty fields-->{{#if: {{{kind|}}}|[[Category:5e {{Type Array|{{{kind}}}}}]]{{#if: {{{class|}}}|[[Category:5e {{Type Array|{{{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|}}}| described in {{pub|{{{pub}}}}}|}}.<br /> | ||
--><big><big>{{{name|}}}</big></big> is a {{# | |||
| | |||
} | |||
{{#if: {{{feature1|}}}|<br /><big>'''Features:'''</big> | {{#if: {{{feature1|}}}|<br /><big>'''Features:'''</big> | ||
:{{{feature1}}}<br />| }}{{#if: {{{feature2|}}}|:{{{feature2}}}<br />| }}{{#if: {{{feature3|}}}|:{{{feature3}}}<br />| }}{{#if: {{{feature4|}}}|:{{{feature4}}}<br />| }}{{#if: {{{feature5|}}}|:{{{feature5}}}<br />| }}{{#if: {{{feature6|}}}|:{{{feature6}}}<br />| }}{{#if: {{{feature7|}}}|:{{{feature7}}}<br />| }}{{#if: {{{feature8|}}}|:{{{feature8}}}<br />| }}{{#if: {{{feature9|}}}|:{{{feature9}}}<br />| }}{{#if: {{{feature10|}}}|:{{{feature10}}}<br />| }}{{#if: {{{feature11|}}}|:{{{feature11}}}<br />| }}{{#if: {{{feature12|}}}|:{{{feature12}}}<br />| }}{{#if: {{{feature13|}}}|:{{{feature13}}}<br />| }}{{#if: {{{feature14|}}}|:{{{feature14}}}<br />| }}{{#if: {{{feature15|}}}|:{{{feature15}}}<br />| }}{{#if: {{{feature16|}}}|:{{{feature16}}}<br />| }}{{#if: {{{feature17|}}}|:{{{feature17}}}<br />| }}{{#if: {{{feature18|}}}|:{{{feature18}}}<br />| }}{{#if: {{{feature19|}}}|:{{{feature19}}}<br />| }}{{#if: {{{feature20|}}}|:{{{feature20}}}<br />| }} | :{{{feature1}}}{{#if: {{{flvl1|}}}| ''<span style="font-size:0.75rem;">({{{flvl1}}} level)</span>''|}}{{#if: {{{fnote1|}}}| {{{fnote1}}}|}}<br />| }}{{#if: {{{feature2|}}}|:{{{feature2}}}{{#if: {{{flvl2|}}}| ''<span style="font-size:0.75rem;">({{{flvl2}}} level)</span>''|}}{{#if: {{{fnote2|}}}| {{{fnote2}}}|}}<br />| }}{{#if: {{{feature3|}}}|:{{{feature3}}}{{#if: {{{flvl3|}}}| ''<span style="font-size:0.75rem;">({{{flvl3}}} level)</span>''|}}{{#if: {{{fnote3|}}}| {{{fnote3}}}|}}<br />| }}{{#if: {{{feature4|}}}|:{{{feature4}}}{{#if: {{{flvl4|}}}| ''<span style="font-size:0.75rem;">({{{flvl4}}} level)</span>''|}}{{#if: {{{fnote4|}}}| {{{fnote4}}}|}}<br />| }}{{#if: {{{feature5|}}}|:{{{feature5}}}{{#if: {{{flvl5|}}}| ''<span style="font-size:0.75rem;">({{{flvl5}}} level)</span>''|}}{{#if: {{{fnote5|}}}| {{{fnote5}}}|}}<br />| }}{{#if: {{{feature6|}}}|:{{{feature6}}}{{#if: {{{flvl6|}}}| ''<span style="font-size:0.75rem;">({{{flvl6}}} level)</span>''|}}{{#if: {{{fnote6|}}}| {{{fnote6}}}|}}<br />| }}{{#if: {{{feature7|}}}|:{{{feature7}}}{{#if: {{{flvl7|}}}| ''<span style="font-size:0.75rem;">({{{flvl7}}} level)</span>''|}}{{#if: {{{fnote7|}}}| {{{fnote7}}}|}}<br />| }}{{#if: {{{feature8|}}}|:{{{feature8}}}{{#if: {{{flvl8|}}}| ''<span style="font-size:0.75rem;">({{{flvl8}}} level)</span>''|}}{{#if: {{{fnote8|}}}| {{{fnote8}}}|}}<br />| }}{{#if: {{{feature9|}}}|:{{{feature9}}}{{#if: {{{flvl9|}}}| ''<span style="font-size:0.75rem;">({{{flvl9}}} level)</span>''|}}{{#if: {{{fnote9|}}}| {{{fnote9}}}|}}<br />| }}{{#if: {{{feature10|}}}|:{{{feature10}}}{{#if: {{{flvl10|}}}| ''<span style="font-size:0.75rem;">({{{flvl10}}} level)</span>''|}}{{#if: {{{fnote10|}}}| {{{fnote10}}}|}}<br />| }}{{#if: {{{feature11|}}}|:{{{feature11}}}{{#if: {{{flvl11|}}}| ''<span style="font-size:0.75rem;">({{{flvl11}}} level)</span>''|}}{{#if: {{{fnote11|}}}| {{{fnote11}}}|}}<br />| }}{{#if: {{{feature12|}}}|:{{{feature12}}}{{#if: {{{flvl12|}}}| ''<span style="font-size:0.75rem;">({{{flvl12}}} level)</span>''|}}{{#if: {{{fnote12|}}}| {{{fnote12}}}|}}<br />| }}{{#if: {{{feature13|}}}|:{{{feature13}}}{{#if: {{{flvl13|}}}| ''<span style="font-size:0.75rem;">({{{flvl13}}} level)</span>''|}}{{#if: {{{fnote13|}}}| {{{fnote13}}}|}}<br />| }}{{#if: {{{feature14|}}}|:{{{feature14}}}{{#if: {{{flvl14|}}}| ''<span style="font-size:0.75rem;">({{{flvl14}}} level)</span>''|}}{{#if: {{{fnote14|}}}| {{{fnote14}}}|}}<br />| }}{{#if: {{{feature15|}}}|:{{{feature15}}}{{#if: {{{flvl15|}}}| ''<span style="font-size:0.75rem;">({{{flvl15}}} level)</span>''|}}{{#if: {{{fnote15|}}}| {{{fnote15}}}|}}<br />| }}{{#if: {{{feature16|}}}|:{{{feature16}}}{{#if: {{{flvl16|}}}| ''<span style="font-size:0.75rem;">({{{flvl16}}} level)</span>''|}}{{#if: {{{fnote16|}}}| {{{fnote16}}}|}}<br />| }}{{#if: {{{feature17|}}}|:{{{feature17}}}{{#if: {{{flvl17|}}}| ''<span style="font-size:0.75rem;">({{{flvl17}}} level)</span>''|}}{{#if: {{{fnote1|7}}}| {{{fnote17}}}|}}<br />| }}{{#if: {{{feature18|}}}|:{{{feature18}}}{{#if: {{{flvl18|}}}| ''<span style="font-size:0.75rem;">({{{flvl18}}} level)</span>''|}}{{#if: {{{fnote18|}}}| {{{fnote18}}}|}}<br />| }}{{#if: {{{feature19|}}}|:{{{feature19}}}{{#if: {{{flvl19|}}}| ''<span style="font-size:0.75rem;">({{{flvl19}}} level)</span>''|}}{{#if: {{{fnote19|}}}| {{{fnote19}}}|}}<br />| }}{{#if: {{{feature20|}}}|:{{{feature20}}}{{#if: {{{flvl20|}}}| ''<span style="font-size:0.75rem;">({{{flvl20}}} level)</span>''|}}{{#if: {{{fnote20|}}}| {{{fnote20}}}|}}<br />| }} | ||
{{#if: {{{desc}}}|<big>'''Unofficial Description:'''</big> {{{desc|}}}| }} | {{#if: {{{desc}}}|<big>'''Unofficial Description:'''</big> {{{desc|}}}| }} | ||
[[Category:5e Subclasses]] | [[Category:5e Subclasses]] | ||
[[Category:5e Pointers]]{{#cargo_store: | [[Category:5e Pointers]]{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store: | ||
_table = 5e_Subclass | _table = 5e_Subclass | ||
|where=Page_Name={{FULLPAGENAME}} | |||
|Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{PAGENAME}} 5e|}} | |Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{PAGENAME}} 5e|}} | ||
|Page_Name={{FULLPAGENAME}} | |Page_Name={{FULLPAGENAME}} | ||
Line 26: | Line 19: | ||
|Class_NS={{#switch: {{{classNS|}}} | |Class_NS={{#switch: {{{classNS|}}} | ||
| s = SRD5 | | s = SRD5 | ||
| u = | | u = 5e | ||
| d = | | d = 5e | ||
| p = | | p = 5e | ||
| h = 5eh | | h = 5eh | ||
| SRD5 | | SRD5 | ||
Line 34: | Line 27: | ||
|Subclass_Summary={{#if: {{{summary|}}}|{{{summary}}}|{{{desc|}}}}} | |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}}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}} | |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|}}}| | |Canon_Subclass={{#if: {{{noncanon|}}}|0|1}} | ||
|Hidden={{#if: {{{hidden|}}}|1}} | |Hidden={{#if: {{{hidden|}}}|1}} | ||
|UA={{#if: {{{ua|}}}|1}} | |UA={{#if: {{{ua|}}}|1}} | ||
}}</includeonly><noinclude> | }}}}</includeonly><noinclude> | ||
==Syntax== | ==Syntax== | ||
Line 43: | 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 54: | Line 48: | ||
===Additional Parameters=== | ===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) | noncanon= (blank, yes if not canon) | ||
</pre> | |||
==Example== | ==Example== | ||
Line 60: | 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 76: | 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 82: | 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 11: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
{{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, 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--> |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.
- Foo's Guide to Nothing p. 23. Licensed: Public Domain. ↑