Difference between revisions of "Template:Feat Weapon Training"

From Epic Paths
Jump to navigation Jump to search
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|Special|Normal|Weapons}}
{{#cargo_declare:_table=Feats_Weapon_Training|Name=String|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|Name={{{Name|}}}|Weapons={{{Weapons|}}}}}
</noinclude><includeonly>{{#cargo_store:_table=Feats_Weapon_Training|Name={{{Name|}}}|Weapons={{{Weapons|}}}}}
Line 13: Line 13:
-->{{#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|{{link_item|x|ul}}}}}}
-->'''Benefit:''' You gain proficiency with the {{Final And|{{#arraymap:{{{Weapons}}}|,|x|{{link_item|x|lc}}}}}}


{{WeaponsTable Training|{{PAGENAME}}}}<!--
{{WeaponsTable Training|{{PAGENAME}}}}<!--

Revision as of 11:53, 26 August 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=
|Special=
|Normal=
|Weapons=
}}

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.