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 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.Price
   |where=LootTable.LootKey='{{{lootkey}}}'
   |where=LootTable.LootKey='{{{lootkey}}}'
   |order by=LootTable.RaritySort ASC,LootTable.MaximumQuantity ASC,LootTable.Item ASC
   |order by=LootTable.RaritySort ASC,Items.Price ASC,LootTable.Item ASC
   |format=template
   |format=template
   |template=LootItem
   |template=LootItem

Latest revision as of 12:26, 26 June 2025