Difference between revisions of "BaseItemList"
From P6 Spheres
(Created page with "{{#cargo_query: tables=Base_Items |fields=ItemSubType |group by=ItemSubType |format=template |template=BaseItemList_SubCategory}}") |
|||
| (11 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 | ||
| + | |||
| + | '''Required Fields:''' Label,Tag | ||
| + | </noinclude><includeonly><h2>{{#replace:{{{Label}}}|_|}}</h2> | ||
| + | {{FlexContainer|type=begin}} | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=Base_Items | tables=Base_Items | ||
| − | | | + | |where=ItemType HOLDS '{{{Tag}}}' |
|group by=ItemSubType | |group by=ItemSubType | ||
| + | |fields=ItemType, ItemSubType | ||
|format=template | |format=template | ||
| − | |template= | + | |template=BaseItemList_SubCategory_Table |
| + | |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