Template:LootTableInner: Difference between revisions

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable"
<includeonly>{| class="wikitable sortable"
! colspan="2" | Item
! colspan="2" | Item
! Quantity
! Quantity
Line 8: Line 8:
   tables=LootTable,Items
   tables=LootTable,Items
   |join on=LootTable.Item=Items._pageName
   |join on=LootTable.Item=Items._pageName
   |fields=LootTable.Item,LootTable.MinimumQuantity,LootTable.MaximumQuantity,LootTable.Rarity,LootTable.RaritySort,Items.GeneralBuy,Items.GeneralSell
   |fields=LootTable.Item,LootTable.MinimumQuantity,LootTable.MaximumQuantity,LootTable.IOU,LootTable.Rarity,LootTable.RaritySort,Items.GeneralBuy,Items.GeneralSell
   |where=LootTable.LootKey='{{{lootkey}}}'
   |where=LootTable.LootKey='{{{lootkey}}}'
   |order by=LootTable.RaritySort ASC,LootTable.Item ASC
   |order by=LootTable.RaritySort ASC,Items.GeneralSell ASC,LootTable.Item ASC
   |format=template
   |format=template
   |template=LootItem
   |template=LootItem