Actions

Template

Difference between revisions of "BaseItemList SubCategory Table"

From P6 Spheres

Line 9: Line 9:
 
tables=Base_Items
 
tables=Base_Items
 
|where=ItemType HOLDS "{{{ItemType|1}}}" AND ItemSubType HOLDS "{{{ItemSubType|1}}}"
 
|where=ItemType HOLDS "{{{ItemType|1}}}" AND ItemSubType HOLDS "{{{ItemSubType|1}}}"
|fields=CONCAT('[[',_pageName,'|',Name,']]')=Name,PrettyPrice=Price,Short
+
|fields=CONCAT('[[',_pageName,'|',SortName,']]')=Name,PrettyPrice=Price,Short
 
|format=table}}{{Flex|type=end}}
 
|format=table}}{{Flex|type=end}}
 
</includeonly>
 
</includeonly>

Revision as of 22:30, 14 March 2020

Creates a list of cards defined by the template BaseItemList_ItemCard

Required Fields: ItemType, ItemSubType