Actions

Template

Difference between revisions of "BaseItemList SubCategory Cards"

From P6 Spheres

Line 5: Line 5:
 
{{#cargo_query:
 
{{#cargo_query:
 
tables=Base_Items
 
tables=Base_Items
|where=ItemType = "{{{ItemType|1}}}" AND ItemSubType = "{{{ItemSubType|1}}}"
+
|where=ItemType HOLDS "{{{ItemType|1}}}" AND ItemSubType HOLDS "{{{ItemSubType|1}}}"
 
|fields=_pageName=Page,Name,Price,Weight,Fluff,Description,Benefit,Note
 
|fields=_pageName=Page,Name,Price,Weight,Fluff,Description,Benefit,Note
 
|format=template
 
|format=template
 
|template=BaseItemList_ItemCard
 
|template=BaseItemList_ItemCard
|named args=yes}}</includeonly>
+
|named args=yes}}
 +
</includeonly>

Revision as of 13:53, 14 March 2020

Creates a list of cards defined by the template BaseItemList_ItemCard

Required Fields: ItemType, ItemSubType