Template:5e Class Pointer: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
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|}}}|&ensp;Sidekick|}} 5e Pointer}}| }}<!--check for empty fields-->{{#if: {{{name|}}}|[[Category:5e {{Type Array|{{{name}}}}}{{#if: {{{sidekick|}}}|&ensp;Sidekicks|}}]]{{#if: {{{pub|}}}|<!--avoid cr
{{PAGENAME}}{{#if: {{{sidekick|}}}|&ensp;Sidekick|}} 5e Pointer}}| }}<!--check for empty fields-->{{#if: {{{name|}}}|[[Category:5e {{Type Array|{{{name}}}}}{{#if: {{{sidekick|}}}|&ensp;Sidekicks|}}]]{{#if: {{{pub|}}}|<!--avoid cr
--><big><big>{{{name|}}}</big></big> is a {{#if: {{{sidekick|}}}|{{5edlc|Sidekick}}&ensp;|}}{{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>{{#if: {{{refs|}}}|&nbsp;{{{refs}}}|}} is a {{#if: {{{sidekick|}}}|{{5edlc|Sidekick}}&ensp;|}}{{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|}}}|&nbsp;({{{flvl1}}} level)|}}<br />| }}{{#if: {{{feature2|}}}|:{{{feature2}}}[[Features::{{{feature2}}}| ]]{{#if: {{{flvl2|}}}|&nbsp;({{{flvl2}}} level)|}}<br />| }}{{#if: {{{feature3|}}}|:{{{feature3}}}[[Features::{{{feature3}}}| ]]{{#if: {{{flvl3|}}}|&nbsp;({{{flvl3}}} level)|}}<br />| }}{{#if: {{{feature4|}}}|:{{{feature4}}}[[Features::{{{feature4}}}| ]]{{#if: {{{flvl4|}}}|&nbsp;({{{flvl4}}} level)|}}<br />| }}{{#if: {{{feature5|}}}|:{{{feature5}}}[[Features::{{{feature5}}}| ]]{{#if: {{{flvl5|}}}|&nbsp;({{{flvl5}}} level)|}}<br />| }}{{#if: {{{feature6|}}}|:{{{feature6}}}[[Features::{{{feature6}}}| ]]{{#if: {{{flvl6|}}}|&nbsp;({{{flvl6}}} level)|}}<br />| }}{{#if: {{{feature7|}}}|:{{{feature7}}}[[Features::{{{feature7}}}| ]]{{#if: {{{flvl7|}}}|&nbsp;({{{flvl7}}} level)|}}<br />| }}{{#if: {{{feature8|}}}|:{{{feature8}}}[[Features::{{{feature8}}}| ]]{{#if: {{{flvl8|}}}|&nbsp;({{{flvl8}}} level)|}}<br />| }}{{#if: {{{feature9|}}}|:{{{feature9}}}[[Features::{{{feature9}}}| ]]{{#if: {{{flvl9|}}}|&nbsp;({{{flvl9}}} level)|}}<br />| }}{{#if: {{{feature10|}}}|:{{{feature10}}}[[Features::{{{feature10}}}| ]]{{#if: {{{flvl10|}}}|&nbsp;({{{flvl10}}} level)|}}<br />| }}{{#if: {{{feature11|}}}|:{{{feature11}}}[[Features::{{{feature11}}}| ]]{{#if: {{{flvl11|}}}|&nbsp;({{{flvl11}}} level)|}}<br />| }}{{#if: {{{feature12|}}}|:{{{feature12}}}[[Features::{{{feature12}}}| ]]{{#if: {{{flvl12|}}}|&nbsp;({{{flvl12}}} level)|}}<br />| }}{{#if: {{{feature13|}}}|:{{{feature13}}}[[Features::{{{feature13}}}| ]]{{#if: {{{flvl13|}}}|&nbsp;({{{flvl13}}} level)|}}<br />| }}{{#if: {{{feature14|}}}|:{{{feature14}}}[[Features::{{{feature14}}}| ]]{{#if: {{{flvl14|}}}|&nbsp;({{{flvl14}}} level)|}}<br />| }}{{#if: {{{feature15|}}}|:{{{feature15}}}[[Features::{{{feature15}}}| ]]{{#if: {{{flvl15|}}}|&nbsp;({{{flvl15}}} level)|}}<br />| }}{{#if: {{{feature16|}}}|:{{{feature16}}}[[Features::{{{feature16}}}| ]]{{#if: {{{flvl16|}}}|&nbsp;({{{flvl16}}} level)|}}<br />| }}{{#if: {{{feature17|}}}|:{{{feature17}}}[[Features::{{{feature17}}}| ]]{{#if: {{{flvl17|}}}|&nbsp;({{{flvl17}}} level)|}}<br />| }}{{#if: {{{feature18|}}}|:{{{feature18}}}[[Features::{{{feature18}}}| ]]{{#if: {{{flvl18|}}}|&nbsp;({{{flvl18}}} level)|}}<br />| }}{{#if: {{{feature19|}}}|:{{{feature19}}}[[Features::{{{feature19}}}| ]]{{#if: {{{flvl19|}}}|&nbsp;({{{flvl19}}} level)|}}<br />| }}{{#if: {{{feature20|}}}|:{{{feature20}}}[[Features::{{{feature20}}}| ]]{{#if: {{{flvl20|}}}|&nbsp;({{{flvl20}}} level)|}}<br />| }}
:{{{feature1}}}[[Features::{{{feature1}}}| ]]{{#if: {{{flvl1|}}}|&nbsp;({{{flvl1}}} level)|}}<br />| }}{{#if: {{{feature2|}}}|:{{{feature2}}}[[Features::{{{feature2}}}| ]]{{#if: {{{flvl2|}}}|&nbsp;({{{flvl2}}} level)|}}<br />| }}{{#if: {{{feature3|}}}|:{{{feature3}}}[[Features::{{{feature3}}}| ]]{{#if: {{{flvl3|}}}|&nbsp;({{{flvl3}}} level)|}}<br />| }}{{#if: {{{feature4|}}}|:{{{feature4}}}[[Features::{{{feature4}}}| ]]{{#if: {{{flvl4|}}}|&nbsp;({{{flvl4}}} level)|}}<br />| }}{{#if: {{{feature5|}}}|:{{{feature5}}}[[Features::{{{feature5}}}| ]]{{#if: {{{flvl5|}}}|&nbsp;({{{flvl5}}} level)|}}<br />| }}{{#if: {{{feature6|}}}|:{{{feature6}}}[[Features::{{{feature6}}}| ]]{{#if: {{{flvl6|}}}|&nbsp;({{{flvl6}}} level)|}}<br />| }}{{#if: {{{feature7|}}}|:{{{feature7}}}[[Features::{{{feature7}}}| ]]{{#if: {{{flvl7|}}}|&nbsp;({{{flvl7}}} level)|}}<br />| }}{{#if: {{{feature8|}}}|:{{{feature8}}}[[Features::{{{feature8}}}| ]]{{#if: {{{flvl8|}}}|&nbsp;({{{flvl8}}} level)|}}<br />| }}{{#if: {{{feature9|}}}|:{{{feature9}}}[[Features::{{{feature9}}}| ]]{{#if: {{{flvl9|}}}|&nbsp;({{{flvl9}}} level)|}}<br />| }}{{#if: {{{feature10|}}}|:{{{feature10}}}[[Features::{{{feature10}}}| ]]{{#if: {{{flvl10|}}}|&nbsp;({{{flvl10}}} level)|}}<br />| }}{{#if: {{{feature11|}}}|:{{{feature11}}}[[Features::{{{feature11}}}| ]]{{#if: {{{flvl11|}}}|&nbsp;({{{flvl11}}} level)|}}<br />| }}{{#if: {{{feature12|}}}|:{{{feature12}}}[[Features::{{{feature12}}}| ]]{{#if: {{{flvl12|}}}|&nbsp;({{{flvl12}}} level)|}}<br />| }}{{#if: {{{feature13|}}}|:{{{feature13}}}[[Features::{{{feature13}}}| ]]{{#if: {{{flvl13|}}}|&nbsp;({{{flvl13}}} level)|}}<br />| }}{{#if: {{{feature14|}}}|:{{{feature14}}}[[Features::{{{feature14}}}| ]]{{#if: {{{flvl14|}}}|&nbsp;({{{flvl14}}} level)|}}<br />| }}{{#if: {{{feature15|}}}|:{{{feature15}}}[[Features::{{{feature15}}}| ]]{{#if: {{{flvl15|}}}|&nbsp;({{{flvl15}}} level)|}}<br />| }}{{#if: {{{feature16|}}}|:{{{feature16}}}[[Features::{{{feature16}}}| ]]{{#if: {{{flvl16|}}}|&nbsp;({{{flvl16}}} level)|}}<br />| }}{{#if: {{{feature17|}}}|:{{{feature17}}}[[Features::{{{feature17}}}| ]]{{#if: {{{flvl17|}}}|&nbsp;({{{flvl17}}} level)|}}<br />| }}{{#if: {{{feature18|}}}|:{{{feature18}}}[[Features::{{{feature18}}}| ]]{{#if: {{{flvl18|}}}|&nbsp;({{{flvl18}}} level)|}}<br />| }}{{#if: {{{feature19|}}}|:{{{feature19}}}[[Features::{{{feature19}}}| ]]{{#if: {{{flvl19|}}}|&nbsp;({{{flvl19}}} level)|}}<br />| }}{{#if: {{{feature20|}}}|:{{{feature20}}}[[Features::{{{feature20}}}| ]]{{#if: {{{flvl20|}}}|&nbsp;({{{flvl20}}} level)|}}<br />| }}
Line 48: Line 48:
|UA={{#if: {{{ua|}}}|1}}
|UA={{#if: {{{ua|}}}|1}}
|Class_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}}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}
|Class_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_Title={{{kind|}}}
}}}}</includeonly><noinclude>
}}}}</includeonly><noinclude>



Latest revision as of 16:39, 23 August 2022

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 sidekickclass in 5th edition, described in Foo's Guide to Bar.

Features:

Fooishness  (1st level)
Barsoom  (6th level)

Unofficial Description: Foos and Bars