Template:LootTableInner: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" | <includeonly>{| class="wikitable" | ||
! colspan="2" | | ! colspan="2" | Item | ||
! | ! Quantity | ||
! | ! Rarity | ||
! | ! Value | ||
|- | |- | ||
{{#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. | |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, LootTable. | |order by=LootTable.RaritySort ASC,LootTable.MaximumQuantity DESC | ||
|format=template | |format=template | ||
|template=LootItem | |template=LootItem | ||
|named args=yes | |||
|default sort=no | |||
}} | }} | ||
|}</includeonly> | |}</includeonly> |