Template:5e Class Pointer: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 24: | Line 24: | ||
{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}}{{#if: {{{sidekick|}}}| Sidekick|}} 5e Pointer}}|{{DEFAULTSORTKEY: | {{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}}{{#if: {{{sidekick|}}}| Sidekick|}} 5e Pointer}}|{{DEFAULTSORTKEY: | ||
{{PAGENAME}}{{#if: {{{sidekick|}}}| Sidekick|}} 5e Pointer}}| }}<!--check for empty fields-->{{#if: {{{name|}}}|[[Category:5e {{Type Array|{{{name}}}}}{{#if: {{{sidekick|}}}| Sidekicks|}}]]{{#if: {{{pub|}}}|<!--avoid cr | {{PAGENAME}}{{#if: {{{sidekick|}}}| Sidekick|}} 5e Pointer}}| }}<!--check for empty fields-->{{#if: {{{name|}}}|[[Category:5e {{Type Array|{{{name}}}}}{{#if: {{{sidekick|}}}| Sidekicks|}}]]{{#if: {{{pub|}}}|<!--avoid cr | ||
--><big><big>{{{name|}}}</big></big> is a {{#if: {{{sidekick|}}}|{{5edlc|Sidekick}} |}}{{srd5lc|Class}} in 5th edition, described in {{pub|{{{pub}}}}}.[[Class::{{{name}}}| ]]<br />|<!--no pub--><span style="color:red">'''Warning:''' No publisher listed.</span><br /> }}|<!--no class--><span style="color:red">'''Warning:''' No class name listed</span>.<br />}} | --><big><big>{{{name|}}}</big></big> is a {{#if: {{{sidekick|}}}|{{5edlc|Sidekick}} |}}{{srd5lc|Class}} in 5th edition, described in {{pub|{{{pub}}}}}.[[Class::{{{name}}}| ]]<br />|<!--no pub--><span style="color:red">'''Warning:''' No publisher listed.</span><br /> }}|<!--no class--><span style="color:red">'''Warning:''' No class name listed</span>.<br />}} | ||
{{#if: {{{sidekick|}}}|<!--skip-->|{{#if: {{{hitdie|}}}|<br /><big>'''Hit Die:'''</big> {{#if: {{{hdNum|}}}|{{{hdNum}}}d{{{hitdie}}}[[Hit Die::{{{hdNum}}}d{{{hitdie}}}| ]]|1d{{{hitdie|}}}[[Hit Die::1d{{{hitdie}}}| ]]|}} | }}{{#if: {{{saveprofs|}}}|<br /><big>'''Saves:'''</big> {{{saveprofs}}}[[Save::{{{saveprofs}}}| ]]|}} }}{{#if: {{{feature1|}}}|<br /><big>'''Features:'''</big> | {{#if: {{{sidekick|}}}|<!--skip-->|{{#if: {{{hitdie|}}}|<br /><big>'''Hit Die:'''</big> {{#if: {{{hdNum|}}}|{{{hdNum}}}d{{{hitdie}}}[[Hit Die::{{{hdNum}}}d{{{hitdie}}}| ]]|1d{{{hitdie|}}}[[Hit Die::1d{{{hitdie}}}| ]]|}} | }}{{#if: {{{saveprofs|}}}|<br /><big>'''Saves:'''</big> {{{saveprofs}}}[[Save::{{{saveprofs}}}| ]]|}} }}{{#if: {{{feature1|}}}|<br /><big>'''Features:'''</big> | ||
:{{{feature1}}}[[Features::{{{feature1}}}| ]]{{#if: {{{flvl1|}}}| ({{{flvl1}}} level)|}}<br />| }}{{#if: {{{feature2|}}}|:{{{feature2}}}[[Features::{{{feature2}}}| ]]{{#if: {{{flvl2|}}}| ({{{flvl2}}} level)|}}<br />| }}{{#if: {{{feature3|}}}|:{{{feature3}}}[[Features::{{{feature3}}}| ]]{{#if: {{{flvl3|}}}| ({{{flvl3}}} level)|}}<br />| }}{{#if: {{{feature4|}}}|:{{{feature4}}}[[Features::{{{feature4}}}| ]]{{#if: {{{flvl4|}}}| ({{{flvl4}}} level)|}}<br />| }}{{#if: {{{feature5|}}}|:{{{feature5}}}[[Features::{{{feature5}}}| ]]{{#if: {{{flvl5|}}}| ({{{flvl5}}} level)|}}<br />| }}{{#if: {{{feature6|}}}|:{{{feature6}}}[[Features::{{{feature6}}}| ]]{{#if: {{{flvl6|}}}| ({{{flvl6}}} level)|}}<br />| }}{{#if: {{{feature7|}}}|:{{{feature7}}}[[Features::{{{feature7}}}| ]]{{#if: {{{flvl7|}}}| ({{{flvl7}}} level)|}}<br />| }}{{#if: {{{feature8|}}}|:{{{feature8}}}[[Features::{{{feature8}}}| ]]{{#if: {{{flvl8|}}}| ({{{flvl8}}} level)|}}<br />| }}{{#if: {{{feature9|}}}|:{{{feature9}}}[[Features::{{{feature9}}}| ]]{{#if: {{{flvl9|}}}| ({{{flvl9}}} level)|}}<br />| }}{{#if: {{{feature10|}}}|:{{{feature10}}}[[Features::{{{feature10}}}| ]]{{#if: {{{flvl10|}}}| ({{{flvl10}}} level)|}}<br />| }}{{#if: {{{feature11|}}}|:{{{feature11}}}[[Features::{{{feature11}}}| ]]{{#if: {{{flvl11|}}}| ({{{flvl11}}} level)|}}<br />| }}{{#if: {{{feature12|}}}|:{{{feature12}}}[[Features::{{{feature12}}}| ]]{{#if: {{{flvl12|}}}| ({{{flvl12}}} level)|}}<br />| }}{{#if: {{{feature13|}}}|:{{{feature13}}}[[Features::{{{feature13}}}| ]]{{#if: {{{flvl13|}}}| ({{{flvl13}}} level)|}}<br />| }}{{#if: {{{feature14|}}}|:{{{feature14}}}[[Features::{{{feature14}}}| ]]{{#if: {{{flvl14|}}}| ({{{flvl14}}} level)|}}<br />| }}{{#if: {{{feature15|}}}|:{{{feature15}}}[[Features::{{{feature15}}}| ]]{{#if: {{{flvl15|}}}| ({{{flvl15}}} level)|}}<br />| }}{{#if: {{{feature16|}}}|:{{{feature16}}}[[Features::{{{feature16}}}| ]]{{#if: {{{flvl16|}}}| ({{{flvl16}}} level)|}}<br />| }}{{#if: {{{feature17|}}}|:{{{feature17}}}[[Features::{{{feature17}}}| ]]{{#if: {{{flvl17|}}}| ({{{flvl17}}} level)|}}<br />| }}{{#if: {{{feature18|}}}|:{{{feature18}}}[[Features::{{{feature18}}}| ]]{{#if: {{{flvl18|}}}| ({{{flvl18}}} level)|}}<br />| }}{{#if: {{{feature19|}}}|:{{{feature19}}}[[Features::{{{feature19}}}| ]]{{#if: {{{flvl19|}}}| ({{{flvl19}}} level)|}}<br />| }}{{#if: {{{feature20|}}}|:{{{feature20}}}[[Features::{{{feature20}}}| ]]{{#if: {{{flvl20|}}}| ({{{flvl20}}} level)|}}<br />| }} | :{{{feature1}}}[[Features::{{{feature1}}}| ]]{{#if: {{{flvl1|}}}| ({{{flvl1}}} level)|}}<br />| }}{{#if: {{{feature2|}}}|:{{{feature2}}}[[Features::{{{feature2}}}| ]]{{#if: {{{flvl2|}}}| ({{{flvl2}}} level)|}}<br />| }}{{#if: {{{feature3|}}}|:{{{feature3}}}[[Features::{{{feature3}}}| ]]{{#if: {{{flvl3|}}}| ({{{flvl3}}} level)|}}<br />| }}{{#if: {{{feature4|}}}|:{{{feature4}}}[[Features::{{{feature4}}}| ]]{{#if: {{{flvl4|}}}| ({{{flvl4}}} level)|}}<br />| }}{{#if: {{{feature5|}}}|:{{{feature5}}}[[Features::{{{feature5}}}| ]]{{#if: {{{flvl5|}}}| ({{{flvl5}}} level)|}}<br />| }}{{#if: {{{feature6|}}}|:{{{feature6}}}[[Features::{{{feature6}}}| ]]{{#if: {{{flvl6|}}}| ({{{flvl6}}} level)|}}<br />| }}{{#if: {{{feature7|}}}|:{{{feature7}}}[[Features::{{{feature7}}}| ]]{{#if: {{{flvl7|}}}| ({{{flvl7}}} level)|}}<br />| }}{{#if: {{{feature8|}}}|:{{{feature8}}}[[Features::{{{feature8}}}| ]]{{#if: {{{flvl8|}}}| ({{{flvl8}}} level)|}}<br />| }}{{#if: {{{feature9|}}}|:{{{feature9}}}[[Features::{{{feature9}}}| ]]{{#if: {{{flvl9|}}}| ({{{flvl9}}} level)|}}<br />| }}{{#if: {{{feature10|}}}|:{{{feature10}}}[[Features::{{{feature10}}}| ]]{{#if: {{{flvl10|}}}| ({{{flvl10}}} level)|}}<br />| }}{{#if: {{{feature11|}}}|:{{{feature11}}}[[Features::{{{feature11}}}| ]]{{#if: {{{flvl11|}}}| ({{{flvl11}}} level)|}}<br />| }}{{#if: {{{feature12|}}}|:{{{feature12}}}[[Features::{{{feature12}}}| ]]{{#if: {{{flvl12|}}}| ({{{flvl12}}} level)|}}<br />| }}{{#if: {{{feature13|}}}|:{{{feature13}}}[[Features::{{{feature13}}}| ]]{{#if: {{{flvl13|}}}| ({{{flvl13}}} level)|}}<br />| }}{{#if: {{{feature14|}}}|:{{{feature14}}}[[Features::{{{feature14}}}| ]]{{#if: {{{flvl14|}}}| ({{{flvl14}}} level)|}}<br />| }}{{#if: {{{feature15|}}}|:{{{feature15}}}[[Features::{{{feature15}}}| ]]{{#if: {{{flvl15|}}}| ({{{flvl15}}} level)|}}<br />| }}{{#if: {{{feature16|}}}|:{{{feature16}}}[[Features::{{{feature16}}}| ]]{{#if: {{{flvl16|}}}| ({{{flvl16}}} level)|}}<br />| }}{{#if: {{{feature17|}}}|:{{{feature17}}}[[Features::{{{feature17}}}| ]]{{#if: {{{flvl17|}}}| ({{{flvl17}}} level)|}}<br />| }}{{#if: {{{feature18|}}}|:{{{feature18}}}[[Features::{{{feature18}}}| ]]{{#if: {{{flvl18|}}}| ({{{flvl18}}} level)|}}<br />| }}{{#if: {{{feature19|}}}|:{{{feature19}}}[[Features::{{{feature19}}}| ]]{{#if: {{{flvl19|}}}| ({{{flvl19}}} level)|}}<br />| }}{{#if: {{{feature20|}}}|:{{{feature20}}}[[Features::{{{feature20}}}| ]]{{#if: {{{flvl20|}}}| ({{{flvl20}}} level)|}}<br />| }} |
Revision as of 20:56, 3 March 2021
This template adds rows to the table "5e_Class", which is declared by the template 5e Class Features. View table.
Syntax
{{5e Class Pointer |name= <!--Name of subclass--> |sorttext= <!--opt. category sort key--> |pub= <!--Publication--> |hdNum= <!--Number of HD --> |hitdie= <!--Type of HD (i.e. 6, 8 etc.)--> |saveprofs= <!--Ability, no link--> |kind= <!--Subclass kind. i.e. Primal Path, Martial Archetype, etc.--> |desc= <!--opt. Unofficial, NONPLAGIARIZED description of subclass--> |feature1= <!--1st Feature Name (Name Only)--> |flvl1= <!--1st feature level acquired--> |feature2= <!--2nd Feature Name--> |flvl2= <!--2nd feature level acquired--> |feature20= <!--Repeat up to 20 features--> |flvl20= <!--20th feature level acquired--> }}
Add'l Parameters
noncanon= <!--blank, true if not canon--> sidekick= <!--blank, true if sidekick class--> ua= <!--blank, true if unearthed arcana--> summary= <!--blank, fill if different from desc-->
Example
{{5e Class Pointer |name=Foo <!--Name of subclass--> |sorttext= <!--opt. category sort key--> |pub=Foo's Guide to Bar <!--Publication--> |hitdie=12 |saveprofs=Constitution, Intelligence <!--Ability, no link--> |kind=Fooish Archetype <!--Subclass kind. i.e. Primal Path, Martial Archetype, etc.--> |desc=Foos and Bars <!--opt. Unofficial, NONPLAGIARIZED description of subclass--> |feature1=Fooishness <!--1st Feature Name (Name Only)--> |flvl1=1st |feature2=Barsoom <!--2nd Feature Name--> |flvl2=6th |feature20= <!--Repeat up to 20 features--> }}
produces:
Foo is a sidekick class in 5th edition, described in Foo's Guide to Bar.
Features: