Actions

Template

Difference between revisions of "BaseItemList SubCategory Cards"

From P6 Spheres

 
(14 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
'''Required Fields:''' ItemType, ItemSubType
 
'''Required Fields:''' ItemType, ItemSubType
</noinclude><includeonly>=== {{{ItemSubType|Missing SubType}}} ===
+
</noinclude><includeonly><!--
{{#cargo_query:
+
 
 +
--><h2 style="margin:4px; padding:5px;"> {{{ItemSubType|Missing SubType}}} </h2><!--
 +
 
 +
-->{{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}}}"
|fields=_pageName=Page,Name,Price,Weight,Fluff,Description,Benefit,Note
+
|fields=_pageName=Page,Name,PrettyPrice,PrettyWeight,Fluff,Description,Benefit,Note
 
|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