Template:DropSourceTable: Difference between revisions

No edit summary
Tags: Manual revert Reverted
m Sources -> Item Sources header
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable"
== Item Sources ==
! '''NPC'''
{{#if: {{{note|}}} | {{{note}}} }}
! '''Quantity'''
{| class="wikitable sortable"
! '''Rarity'''
! Source
! Quantity
! Rarity
|-
{{#cargo_query:
{{#cargo_query:
   tables=NpcDrops
   tables=LootTable
   |fields=NPC,Quantity,Rarity
   |fields=_pageName=Page,Source,MinimumQuantity,MaximumQuantity,Rarity
   |where=Item='{{FULLPAGENAME}}'
   |where=Item="{{{lootkey}}}"
  |order by=RaritySort ASC,Item ASC
   |format=template
   |format=template
  |order by=Rarity
   |template=DropSourceItem
   |template=DropSourceItem
   |named args=yes
   |named args=yes
  |cacheable=yes
}}
}}
|}
|}