Template:LootTableInner: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
! colspan="2" | '''Item''' | ! colspan="2" | '''Item''' | ||
! '''Quantity''' | ! '''Quantity''' | ||
{{#if:{{{minmax|false}}}|! '''Min''' !! '''Max'''}} | |||
! '''Rarity''' | ! '''Rarity''' | ||
! '''Buy Price''' | ! '''Buy Price''' | ||
Line 9: | Line 10: | ||
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.Quantity,LootTable.Rarity,LootTable.RaritySort,Items.GeneralBuy,Items.GeneralSell{{#if:{{{minmax|false}}}|,LootTable.MinimumQuantity,LootTable.MaximumQuantity}} | ||
|where=LootTable.LootKey='{{{lootkey}}}' | |where=LootTable.LootKey='{{{lootkey}}}' | ||
|order by=LootTable.RaritySort ASC,LootTable.Quantity DESC | |order by=LootTable.RaritySort ASC,LootTable.Quantity DESC | ||
Line 17: | Line 18: | ||
|default sort=no | |default sort=no | ||
}} | }} | ||
|}</includeonly> | |}</includeonly> |