Difference between revisions of "Equipment Table Variable"
From Titan's Teeth
Dicemonger (talk | contribs) |
Dicemonger (talk | contribs) |
||
Line 9: | Line 9: | ||
-->{{#cargo_query:tables=Equipment | -->{{#cargo_query:tables=Equipment | ||
− | |where=Category="{{{category}}} {{#if:{{{subcategory|}}}|AND SubCategory={{{subcategory}}}|}} {{#ifeq:{{{hidden|}}}|yes||AND Hidden is NULL}} | + | |where=Category="{{{category}}}" {{#if:{{{subcategory|}}}|AND SubCategory="{{{subcategory}}}"|}} {{#ifeq:{{{hidden|}}}|yes||AND Hidden is NULL}} |
|order by=Name | |order by=Name | ||
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Item,Cost,Weight{{#ifeq:{{{craftDC|}}}|yes|,CraftDC = Craft DC}},Short | |fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Item,Cost,Weight{{#ifeq:{{{craftDC|}}}|yes|,CraftDC = Craft DC}},Short | ||
|format=table | |format=table | ||
}} | }} |
Revision as of 16:20, 9 January 2020
All lower-case
- category = Multiple categories can be added to the table with comma-separation (weapons,armor)
- subcategory (optional) = Multiple subcategories can be added to the table with comma-separation (camping,survival)
- craftDC (optional) = If yes, then show Craft DC in tables
- hidden (optional) = If yes, then hidden equipment is shown
No results