Actions

Template

Difference between revisions of "BaseItemList SubCategory Table"

From P6 Spheres

Line 4: Line 4:
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
  
--><h3>{{{ItemSubType|Missing SubType}}}</h3><!--
+
-->{{Flex|type=begin|cols=2}}<h3>{{{ItemSubType|Missing SubType}}}</h3><!--
  
 
-->{{#cargo_query:
 
-->{{#cargo_query:
Line 10: Line 10:
 
|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,Price,Short
 
|fields=CONCAT('[[',_pageName,'|',Name,']]')=Name,Price,Short
|format=table}}
+
|format=table}}{{Flex|type=end}}
 
</includeonly>
 
</includeonly>

Revision as of 20:35, 14 March 2020

Creates a list of cards defined by the template BaseItemList_ItemCard

Required Fields: ItemType, ItemSubType