Difference between revisions of "Equipment Table"
From Titan's Teeth
Dicemonger (talk | contribs) (Created page with "<noinclude> All lower-case * 1: category </noinclude><!-- -->{{#cargo_query:tables=Equipment |where=Category="{{{1}}}" |order by=Name |fields=CONCAT( '', _pageName, '|', N...") |
Dicemonger (talk | contribs) |
||
Line 3: | Line 3: | ||
* 1: category | * 1: category | ||
+ | * 2: subcategory (optional) | ||
</noinclude><!-- | </noinclude><!-- | ||
-->{{#cargo_query:tables=Equipment | -->{{#cargo_query:tables=Equipment | ||
− | |where=Category="{{{1}}}" | + | |where={{#if: {{{2|}}}|Category="{{{1}}}" AND SubCategory="{{{2}}}"|Category="{{{1}}}"}} |
|order by=Name | |order by=Name | ||
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,Cost,Weight,Short | |fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,Cost,Weight,Short | ||
|format=table | |format=table | ||
}} | }} |
Revision as of 20:06, 24 September 2019
All lower-case
- 1: category
- 2: subcategory (optional)
No results