Difference between revisions of "BaseItemList"
From P6 Spheres
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>Creates a list of tables for the desired category, each tables containing the items of one subcategory | <noinclude>Creates a list of tables for the desired category, each tables containing the items of one subcategory | ||
| − | '''Required Fields:''' | + | '''Required Fields:''' Label,Tag |
| − | </noinclude><includeonly> | + | </noinclude><includeonly><h2>{{#replace:{{{Label}}}|_|}}</h2> |
| + | {{FlexContainer|type=begin}} | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=Base_Items | tables=Base_Items | ||
| − | |where=ItemType HOLDS '{{{ | + | |where=ItemType HOLDS '{{{Tag}}}' |
|group by=ItemSubType | |group by=ItemSubType | ||
|fields=ItemType, ItemSubType | |fields=ItemType, ItemSubType | ||
|format=template | |format=template | ||
|template=BaseItemList_SubCategory_Table | |template=BaseItemList_SubCategory_Table | ||
| − | |named args=yes}}</includeonly> | + | |named args=yes}} |
| + | {{FlexContainer}}</includeonly> | ||
Latest revision as of 20:58, 14 March 2020
Creates a list of tables for the desired category, each tables containing the items of one subcategory
Required Fields: Label,Tag