Template:ShopTable/Inner: Difference between revisions

From HighSpell Wiki
Jump to navigation Jump to search
Created page with "<includeonly>{| class="wikitable" ! colspan="2" | Item ! Price ! Stock ! Restock Time |- {{#cargo_query: tables=LootTable,Items |join on=LootTable.Item=Items._pageName |fields=LootTable.Item,LootTable.MinimumQuantity,Items.GeneralSell |where=LootTable.LootKey='{{{lootkey}}}' |order by=LootTable.RaritySort ASC,LootTable.Item ASC |format=template |template=ShopTable/Item |named args=yes |default sort=no }} |}</includeonly>"
 
No edit summary
Line 6: Line 6:
|-
|-
{{#cargo_query:
{{#cargo_query:
   tables=LootTable,Items
   tables=ShopTable,Items
   |join on=LootTable.Item=Items._pageName
   |join on=ShopTable.Item=Items._pageName
   |fields=LootTable.Item,LootTable.MinimumQuantity,Items.GeneralSell
   |fields=ShopTable.Item,ShopTable.MinimumQuantity,Shop.RestockTimer,Items.GeneralSell
   |where=LootTable.LootKey='{{{lootkey}}}'
   |where=ShopTable.LootKey='{{{lootkey}}}'
   |order by=LootTable.RaritySort ASC,LootTable.Item ASC
   |order by=ShopTable.RaritySort ASC,ShopTable.Item ASC
   |format=template
   |format=template
   |template=ShopTable/Item
   |template=ShopTable/Item

Revision as of 12:42, 19 May 2025