Difference between revisions of "Template:EquipmentCardList Category"
Jump to navigation
Jump to search
(Created page with "<noinclude> All lower-case * 1: category. Multiple categories can be added to the table with comma-separation (weapons,armor) * 2: subcategory (optional). Multiple subcategor...") |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
* 1: category. Multiple categories can be added to the table with comma-separation (weapons,armor) | * 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) | * 2: subcategory (optional). Multiple subcategories can be added to the table with comma-separation (camping,survival) | ||
</noinclude><!-- | </noinclude><includeonly><!-- | ||
-->{{#cargo_query:tables= | -->{{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 | ||
|format=template | |format=template | ||
|template= | |template=EquipmentCardList_Item | ||
|named args=yes | |named args=yes | ||
}} | }}{{Grid|type=end}}</includeonly> |
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)