Actions

Template

Difference between revisions of "BaseItemList SubCategory Cards"

From P6 Spheres

 
Line 6: Line 6:
 
--><h2 style="margin:4px; padding:5px;"> {{{ItemSubType|Missing SubType}}} </h2><!--
 
--><h2 style="margin:4px; padding:5px;"> {{{ItemSubType|Missing SubType}}} </h2><!--
  
-->{{#cargo_query:
+
-->{{FlexContainer|type=begin}}{{#cargo_query:
 
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}}}"
Line 12: Line 12:
 
|format=template
 
|format=template
 
|template=BaseItemList_ItemCard
 
|template=BaseItemList_ItemCard
|named args=yes}}
+
|named args=yes}}{{FlexContainer}}
 
</includeonly>
 
</includeonly>

Latest revision as of 23:33, 14 March 2020

Creates a list of cards defined by the template BaseItemList_ItemCard

Required Fields: ItemType, ItemSubType