Template:LootTableInner: Difference between revisions

From HighSpell Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 5: Line 5:
! Value
! Value
|-
|-
{{#switch: {{{rareloot|}}} | = | Unknown = | Never = | #default = |- | colspan="2" | [[Rare Loot Table]] | 1 | {{{rareloot}}} | N/A }}
{{#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.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.Item ASC
   |order by=LootTable.RaritySort ASC,Items.Price ASC,LootTable.Item ASC
   |format=template
   |format=template
   |template=LootItem
   |template=LootItem
   |named args=yes
   |named args=yes
|default sort=no
  |default sort=no
  |cacheable=yes
}}
}}
|}</includeonly>
|}</includeonly>

Latest revision as of 11:35, 9 July 2025