Template:ShopTable/Inner: Difference between revisions

No edit summary
No edit summary
Line 6: Line 6:
|-
|-
{{#cargo_query:
{{#cargo_query:
   tables=ShopTable,Items
   tables=LootTable,Items
   |join on=ShopTable.Item=Items._pageName
   |join on=LootTable.Item=Items._pageName
   |fields=ShopTable.Item,ShopTable.MinimumQuantity,Shop.RestockTimer,Items.GeneralSell
   |fields=LootTable.Item,LootTable.MinimumQuantity,Shop.RestockTimer,Items.GeneralSell
   |where=ShopTable.LootKey='{{{lootkey}}}'
   |where=LootTable.LootKey='{{{lootkey}}}'
   |order by=ShopTable.RaritySort ASC,ShopTable.Item ASC
   |order by=LootTable.RaritySort ASC,LootTable.Item ASC
   |format=template
   |format=template
   |template=ShopTable/Item
   |template=ShopTable/Item