Template:Equipment Item: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 18: Line 18:
{{#if:{{{Traits|}}}|<h4>Traits</h4>
{{#if:{{{Traits|}}}|<h4>Traits</h4>


{{#arraymap:{{{Traits}}}|,|x|{{#cargo_query:tables=Equipment_Traits|fields=Name,Description|where=Name="x"|format=template|template=Equipment_Traits|named args=yes}}}}}}
{{#arraymap:{{{Traits}}}|,|x|{{#cargo_query:tables=Equipment_Traits|fields=Name,Description|where=Name="x"|format=template|template=Equipment_Traits|named args=yes}}|<br>}}}}


[[Category:Equipment]]
[[Category:Equipment]]
</includeonly>
</includeonly>

Revision as of 12:44, 16 June 2023

This is the "Equipment Item" template.

It should be called in the following format:

{{Equipment Item
|Category=
|SubCategory=
|Rarity=
|Level=
|Price_Gp=
|Price_Sp=
|Price_Cp=
|Bulk=
|Short=
|Description=
|Traits=
}}

Edit the page to see the template text.

This template defines the table "Equipment". View table.