Template:NPCLootTable: Difference between revisions

From HighSpell Wiki
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
Line 7: Line 7:
! '''Buy Price'''
! '''Buy Price'''
! '''Sell Price'''
! '''Sell Price'''
{{#cargo_query:
 
{{#tag:cargo_query|
   tables=NpcDrops
   tables=NpcDrops
   |fields=Item,Quantity,Rarity,BuyPrice,SellPrice
   |fields=Item,Quantity,Rarity,BuyPrice,SellPrice
Line 15: Line 16:
   |named args=yes
   |named args=yes
}}
}}
|}
|}

Revision as of 09:24, 15 May 2025

{{#vardefine:npckey|npcloottable

Item Quantity Rarity Buy Price Sell Price

<cargo_query fields="Item,Quantity,Rarity,BuyPrice,SellPrice" where="NPCKey="{{#var:npckey}}"" format="template" template="NPCLootItem" named args="yes">

 tables=NpcDrops
 </cargo_query>