Difference between revisions of "Template:EquipmentCardList Category"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
-->{{Grid|type=begin}}{{#cargo_query:tables=Equipment_Items | -->{{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="}}"}}) AND Description | |where=({{#if: {{{2|}}}|(Category="{{#replace:{{{1}}}|,|" OR Category="}}") AND (SubCategory="{{#replace:{{{2}}}|,|" OR SubCategory="}}")|Category="{{#replace:{{{1}}}|,|" OR Category="}}"}}) AND Description != "" | ||
|order by=Name | |order by=Name | ||
|fields=_pageName = Page,Name,Fluff,Description,Benefit,Note | |fields=_pageName = Page,Name,Fluff,Description,Benefit,Note |
Revision as of 22:54, 26 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)