Template:LootTableInner: Difference between revisions

No edit summary
No edit summary
 
(14 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=LootTable.RaritySort ASC, LootTable.Rarity ASC, LootTable.Quantity DESC
   |order by=LootTable.RaritySort ASC,LootTable.Item ASC
   |format=template
   |format=template
   |template=LootItem
   |template=LootItem
   |named args=yes
   |named args=yes
|default sort=no
}}
}}
|}</includeonly>
|}</includeonly>