Actions

Template

Difference between revisions of "BaseItemList SubCategory Table"

From P6 Spheres

(Created page with "<noinclude>Creates a list of cards defined by the template BaseItemList_ItemCard '''Required Fields:''' ItemType, ItemSubType </noinclude><includeonly><!-- --><h3>{{{ItemSub...")
 
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,']]'),Price,Short
+
|fields=_pageName=CONCAT('[[',Page,'|',Name,']]')=Name,Price,Short
 
|format=table}}
 
|format=table}}
 
</includeonly>
 
</includeonly>

Revision as of 20:32, 14 March 2020

Creates a list of cards defined by the template BaseItemList_ItemCard

Required Fields: ItemType, ItemSubType