Template:NPCLootTable: Difference between revisions

From HighSpell Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
{{#vardefine:npckey|{{lc:{{#replace:{{#replace:{{#replace:{{PAGENAMEE}}|%27|}}|_|}}}}}}
{| class="wikitable"
{| class="wikitable"
! colspan="2" | '''Item'''
! colspan="2" | '''Item'''
Line 10: Line 8:
   tables=NpcDrops
   tables=NpcDrops
   |fields=Item,Quantity,Rarity,BuyPrice,SellPrice
   |fields=Item,Quantity,Rarity,BuyPrice,SellPrice
   |where=NPCKey="{{#var:npckey}}"
   |where=NPCKey="{{lc:{{#replace:{{#replace:{{#replace:{{PAGENAMEE}}|%27|}}|_|}}}}}"
   |format=template
   |format=template
   |template=NPCLootItem
   |template=NPCLootItem

Revision as of 09:22, 15 May 2025

Item Quantity Rarity Buy Price Sell Price

{{#cargo_query:

 tables=NpcDrops
fields=Item,Quantity,Rarity,BuyPrice,SellPrice where=NPCKey="npcloottable}"