Difference between revisions of "Template:Feat Weapon Training"

From Epic Paths
Jump to navigation Jump to search
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Name|Advanced|Fluff|MainCategory|SubCategories|Keywords|Classes|Prereq|Short|Special|Normal|Weapons}}
{{#template_params:Name|Advanced|Fluff|MainCategory|SubCategories|Keywords|Classes|Prereq|Short|Weapons|Benefit|Special|Normal}}
{{#cargo_declare:_table=Feats_Weapon_Training|Weapons=List (,) of String}}
{{#cargo_declare:_table=Feats_Weapon_Training|Name=String|Weapons=List (,) of Page}}
{{#cargo_attach:_table=Feats}}
{{#cargo_attach:_table=Feats}}
</noinclude><includeonly>{{#cargo_store:_table=Feats_Weapon_Training|Weapons={{{Weapons|}}}}}
</noinclude><includeonly>{{#cargo_store:_table=Feats_Weapon_Training|Name={{{Name|}}}|Weapons={{#arraymap:{{{Weapons|}}}|,|x|Equipment/{{UcWords|x}}}}}}
{{#cargo_store:_table=Feats|Name={{{Name|}}}|Advanced={{{Advanced|no}}}|Fluff={{{Fluff|}}}|MainCategory={{{MainCategory|}}}|SubCategories={{{SubCategories|}}}|Keywords={{{Keywords|}}}|Classes={{{Classes|}}}|Prereq={{{Prereq|}}}|Short={{{Short|}}}|Benefit=You gain proficiency with the {{Final And|{{#arraymap:{{{Weapons}}}|x|[[x]]}}}}
{{#cargo_store:_table=Feats|Name={{{Name|{{SUBPAGENAME}}}}}|Advanced={{{Advanced|no}}}|Drawback={{{Drawback|no}}}|Fluff={{{Fluff|}}}|MainCategory={{{MainCategory|}}}|SubCategories={{{SubCategories|}}}|Keywords={{{Keywords|}}}|Classes={{{Classes|}}}|Prereq={{{Prereq|}}}|Short={{{Short|}}}|Benefit=You gain proficiency with the {{Final And|{{#arraymap:{{{Weapons}}}|,|x|{{link_item|x|ul}}}}}}{{IfNotEmpty|{{{Benefit|}}}|pre={{Break}}}}


{{WeaponsTable Training|Archery Training}}|Special={{{Special|}}}|Normal={{{Normal|}}}|Special={{{Special|}}}|Normal={{{Normal|}}} }}<!--
{{WeaponsTable Training|Archery Training}}|Special={{{Special|}}}|Normal={{{Normal|}}}|Special={{{Special|}}}|Normal={{{Normal|}}} }}<!--


-->{{DISPLAYTITLE:{{{Name|}}}}}<!--
-->{{DISPLAYTITLE:{{{Name|}}}}}{{BreadCrumbs|Feats,Feats/{{{MainCategory}}}}}__NOTOC__<!--
-->{{BreadCrumbs|Feats,Feats/{{{MainCategory}}}}}__NOTOC__{{#if: {{{SubCategories|}}}|{{#ifeq: {{{SubCategories|}}}|—||
-->{{#if: {{{SubCategories|}}}|{{#ifeq: {{{SubCategories|}}}|—||<big>'''({{{SubCategories}}})'''</big>{{Break}}}}}}<!--
<big>'''({{{SubCategories}}})'''</big>{{Break}}}}}}<!--
-->{{#if: {{{Advanced|}}}|'''Advanced:''' {{{Advanced}}}{{Break}}}}<!--
-->{{#if: {{{Advanced|}}}|'''Advanced:''' {{{Advanced}}}{{Break}}}}<!--
-->{{#if: {{{Fluff|}}}|''{{{Fluff}}}''{{Break}}}}<!--
-->{{#if: {{{Fluff|}}}|''{{{Fluff}}}''{{Break}}}}<!--
-->{{#ifeq: {{{Prereq|}}}|—||'''Prerequisites:''' {{{Prereq}}}{{Break}}}}<!--
-->{{#ifeq: {{{Prereq|}}}|—||'''Prerequisites:''' {{{Prereq}}}{{Break}}}}<!--
-->'''Benefit:''' You gain proficiency with the {{Final And|{{#arraymap:{{{Weapons}}}|x|[[x]]}}}}
-->'''Benefit:''' You gain proficiency with the {{Final And|{{#arraymap:{{{Weapons}}}|,|x|{{link_item|x|ul}}}}}}<!--
-->{{IfNotEmpty|{{{Benefit|}}}|pre={{Break}}}}


{{WeaponsTable Training|{{PAGENAME}}}}<!--
{{WeaponsTable Training|{{{Name}}}}}<!--
-->{{#if: {{{Normal|}}}|'''Normal:''' {{{Normal}}}{{Break}}}}<!--
-->{{#if: {{{Normal|}}}|'''Normal:''' {{{Normal}}}{{Break}}}}<!--
-->{{#if: {{{Special|}}}|'''Special:''' {{{Special}}}{{Break}}}}
-->{{#if: {{{Special|}}}|'''Special:''' {{{Special}}}{{Break}}}}

Latest revision as of 10:13, 15 September 2021

This is the "Feat Weapon Training" template.

It should be called in the following format:

{{Feat Weapon Training
|Name=
|Advanced=
|Fluff=
|MainCategory=
|SubCategories=
|Keywords=
|Classes=
|Prereq=
|Short=
|Weapons=
|Benefit=
|Special=
|Normal=
}}

Edit the page to see the template text.

This template defines the table "Feats_Weapon_Training". View table. This template adds rows to the table "Feats", which is declared by the template Feat. View table.