Actions

Template

Difference between revisions of "BaseItemList"

From P6 Spheres

Line 4: Line 4:
 
</noinclude><includeonly>{{#cargo_query:
 
</noinclude><includeonly>{{#cargo_query:
 
tables=Base_Items
 
tables=Base_Items
|where=ItemType = '{{{1}}}'
+
|where=ItemType = "{{{1}}}"
 
|group by=ItemSubType
 
|group by=ItemSubType
 
|fields=ItemType, ItemSubType
 
|fields=ItemType, ItemSubType

Revision as of 13:51, 14 March 2020

Creates a list of subcategories for the desired category, each section containing cards defined by the template BaseItemList_ItemCard

Required Fields: 1 (containing the desired category)