Template:LootTableInner: Difference between revisions

From HighSpell Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable"
<includeonly>{| class="wikitable"
! colspan="2" | '''Item'''
! colspan="2" | Item
! '''Quantity'''
! Quantity
! '''Rarity'''
! Rarity
! '''Buy Price'''
! Value
! '''Sell Price'''
|-
|-
{{#cargo_query:
{{#cargo_query:
   tables=LootTable,Items
   tables=LootTable,Items
   |join on=LootTable.Item=Items._pageName
   |join on=LootTable.Item=Items._pageName
   |fields=LootTable.Item,LootTable.Quantity,LootTable.Rarity,LootTable.RaritySort,Items.GeneralBuy,Items.GeneralSell
   |fields=LootTable.Item,LootTable.MinimumQuantity,LootTable.MaximumQuantity,LootTable.Rarity,LootTable.RaritySort,Items.GeneralBuy,Items.GeneralSell
   |where=LootTable.LootKey='{{{lootkey}}}'
   |where=LootTable.LootKey='{{{lootkey}}}'
   |order by=LootTable.Quantity DESC
   |order by=LootTable.RaritySort ASC,LootTable.MaximumQuantity DESC
   |format=template
   |format=template
   |template=LootItem
   |template=LootItem
Line 17: Line 16:
|default sort=no
|default sort=no
}}
}}
|}</includeonly>
|}</includeonly>

Revision as of 20:23, 18 May 2025