Template:NPCLootTableInner: Difference between revisions

No edit summary
No edit summary
Line 7: Line 7:
|-
|-
{{#cargo_query:
{{#cargo_query:
   tables=NpcDrops
   tables=NpcDrops,Items
   |fields=Item,Quantity,Rarity,BuyPrice,SellPrice
  |join on=NpcDrops.Item=Items._pageName
   |where=NPCKey='{{{npckey}}}'
   |fields=NpcDrops.Item,NpcDrops.Quantity,NpcDrops.Rarity,Items.BuyPrice,Items.SellPrice
   |where=NpcDrops.NPCKey='{{{npckey}}}'
   |format=template
   |format=template
   |template=NPCLootItem
   |template=NPCLootItem