Template:NPCLootTable: Difference between revisions

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

Revision as of 09:24, 15 May 2025

{{#vardefine:npckey|npcloottable

Item Quantity Rarity Buy Price Sell Price
Error in "where" parameter: the string "#" cannot be used within #cargo_query.