Difference between revisions of "Template:Feat Weapon Training"

From Epic Paths
Jump to navigation Jump to search
Line 3: Line 3:
{{#cargo_declare:_table=Feats_Weapon_Training|Name=String|Weapons=List (,) of Page}}
{{#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={{#arraymap:{{{Weapons|}}}|,|x|{{link_feat|x}}}}
</noinclude><includeonly>{{#cargo_store:_table=Feats_Weapon_Training|Name={{{Name|}}}|Weapons={{#arraymap:{{{Weapons|}}}|,|x|{{link_feat|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|{{link_item|x|ul}}}}}}
{{#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|{{link_item|x|ul}}}}}}



Revision as of 11:56, 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.