Actions

Template

Difference between revisions of "BaseItemList"

From P6 Spheres

Line 1: Line 1:
<noinclude>Creates a list of subcategories for the desired category, each section containing cards defined by the template BaseItemList_ItemCard
+
<noinclude>Creates a list of tables for the desired category, each tables containing the items of one subcategory
  
 
'''Required Fields:''' 1 (containing the desired category)
 
'''Required Fields:''' 1 (containing the desired category)
</noinclude><includeonly>{{#cargo_query:
+
</noinclude><includeonly>== {{#replace:{{{1|}}}|_|}} ==
 +
{{#cargo_query:
 
tables=Base_Items
 
tables=Base_Items
 
|where=ItemType HOLDS '{{{1|}}}'
 
|where=ItemType HOLDS '{{{1|}}}'
Line 8: Line 9:
 
|fields=ItemType, ItemSubType
 
|fields=ItemType, ItemSubType
 
|format=template
 
|format=template
|template=BaseItemList_SubCategory_Cards
+
|template=BaseItemList_SubCategory_Table
 
|named args=yes}}</includeonly>
 
|named args=yes}}</includeonly>

Revision as of 20:29, 14 March 2020

Creates a list of tables for the desired category, each tables containing the items of one subcategory

Required Fields: 1 (containing the desired category)