Template:5e Class Pointer: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <noinclude> | ||
{{#cargo_attach: | |||
_table = 5e_Class | |||
}}<!-- | |||
|Sort_Text = String | |||
|Page_Name=Page | |||
|Class_Name=String | |||
|Hit_Die=String | |||
|HD_Num=Integer | |||
|Armor_Prof=List (, ) of Wikitext string | |||
|Weapon_Prof=List (, ) of Wikitext string | |||
|Tool_Prof=List (, ) of Wikitext string | |||
|Save_Prof=List (, ) of Wikitext string | |||
|Skill_Prof=List (, ) of Wikitext string | |||
|Skill_Num=String | |||
|Start_Equip=List (, ) of Wikitext string | |||
|Prerequisites=List (* ) of Wikitext string | |||
|Summary=Wikitext | |||
|Canon_Spell=Boolean | |||
|Class_Features=List (, ) of Wikitext string | |||
}}--> | |||
</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: {{{name|}}}|[[Category:5e {{Type Array|{{{name}}}}}]]{{#if: {{{pub|}}}|<!--avoid cr | {{PAGENAME}} 5e Pointer}}| }}<!--check for empty fields-->{{#if: {{{kind|}}}|<!--[[Category:5e {{Type Array|{{{kind}}}}}]]-->{{#if: {{{name|}}}|[[Category:5e {{Type Array|{{{name}}}}}]]{{#if: {{{pub|}}}|<!--avoid cr | ||
Line 9: | Line 30: | ||
[[Category:5e Classes]][[Class::true| ]] | [[Category:5e Classes]][[Class::true| ]] | ||
[[Category:Class]] | [[Category:Class]] | ||
[[Category:5e Pointers]]</includeonly><noinclude> | [[Category:5e Pointers]]<!-- | ||
-->{{#cargo_store: | |||
_table = 5e_Class | |||
|Sort_Text={{{sorttext|}}} | |||
|Page_Name={{PAGENAME}} | |||
|Class_Name={{{name|}}} | |||
|Hit_Die={{{hitdie|}}} | |||
|HD_Num={{{hdNum|}}} | |||
|Save_Prof={{{saveprofs|}}} | |||
|Class_Summary={{{summary|}}} | |||
|Canon_Spell={{{canon|}}} | |||
|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}}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}} | |||
}}</includeonly><noinclude> | |||
==Syntax== | ==Syntax== |
Revision as of 18:00, 19 February 2020
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)--> |feature2= <!--2nd Feature Name--> |feature20= <!--Repeat up to 20 features--> }}
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)--> |feature2=Barsoom <!--2nd Feature Name--> |feature20= <!--Repeat up to 20 features--> }}
produces:
Foo is a class in 5th edition, described in Foo's Guide to Bar.
Hit Die: 1d12
Saves: Constitution, Intelligence
Features: