Difference between revisions of "Template:EquipmentCardList Category"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
-->{{ | -->{{Grid|type=begin}}{{#cargo_query:tables=Equipment_Items | ||
|where=({{#if: {{{2|}}}|(Category="{{#replace:{{{1}}}|,|" OR Category="}}") AND (SubCategory="{{#replace:{{{2}}}|,|" OR SubCategory="}}")|Category="{{#replace:{{{1}}}|,|" OR Category="}}"}}) | |where=({{#if: {{{2|}}}|(Category="{{#replace:{{{1}}}|,|" OR Category="}}") AND (SubCategory="{{#replace:{{{2}}}|,|" OR SubCategory="}}")|Category="{{#replace:{{{1}}}|,|" OR Category="}}"}}) | ||
|order by=Name | |order by=Name |
Revision as of 21:11, 6 August 2021
All lower-case
- 1: category. Multiple categories can be added to the table with comma-separation (weapons,armor)
- 2: subcategory (optional). Multiple subcategories can be added to the table with comma-separation (camping,survival)