Difference between revisions of "Template:EquipmentCardList Category"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
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="}}"}}) | |where=({{#if: {{{2|}}}|(Category="{{#replace:{{{1}}}|,|" OR Category="}}") AND (SubCategory="{{#replace:{{{2}}}|,|" OR SubCategory="}}")|Category="{{#replace:{{{1}}}|,|" OR Category="}}"}}) AND !(Fluff = "" AND Description = "" AND Benefit = "" AND Note = "") | ||
|order by=Name | |order by=Name | ||
|fields=_pageName = Page,Name,Fluff,Description,Benefit,Note | |fields=_pageName = Page,Name,Fluff,Description,Benefit,Note |
Latest revision as of 22:55, 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)