Template:5e Subclass Pointer: Difference between revisions
Jump to navigation
Jump to search
(level style) |
mNo edit summary |
||
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 {{#switch: {{{classNS}}} | --><big><big>{{{name|}}}</big></big> is a {{srd5lc|{{{kind}}}}} 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}}}}} | ||
Line 12: | Line 12: | ||
| h = {{5ehlc|{{{kind}}}}} of the {{5ehlc|{{{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 /> }} | ||
{{#if: {{{feature1|}}}|<br /><big>'''Features:'''</big> | {{#if: {{{feature1|}}}|<br /><big>'''Features:'''</big> | ||
:{{{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 />| }} | :{{{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 />| }} |
Revision as of 07:33, 5 July 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 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.