Difference between revisions of "BaseItemList"
From P6 Spheres
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <noinclude>Creates a list of | + | <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>{{#cargo_query: | + | </noinclude><includeonly><h2>{{#replace:{{{Label}}}|_|}}</h2> |
| + | {{FlexContainer|type=begin}} | ||
| + | {{#cargo_query: | ||
tables=Base_Items | tables=Base_Items | ||
| − | |where=ItemType | + | |where=ItemType HOLDS '{{{Tag}}}' |
|group by=ItemSubType | |group by=ItemSubType | ||
|fields=ItemType, ItemSubType | |fields=ItemType, ItemSubType | ||
|format=template | |format=template | ||
| − | |template= | + | |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