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=_pageName=CONCAT('[[',Page,'|',Name,']]')=Name,Price,Short
+
|fields=CONCAT('[[',_pageName,'|',Name,']]')=Name,Price,Short
 
|format=table}}
 
|format=table}}
 
</includeonly>
 
</includeonly>

Revision as of 20:33, 14 March 2020

Creates a list of cards defined by the template BaseItemList_ItemCard

Required Fields: ItemType, ItemSubType