Template:DropSourceTable: Difference between revisions

Created page with "{| class="wikitable" ! '''NPC''' ! '''Quantity''' ! '''Rarity''' {{#cargo_query: tables=NpcDrops |fields=NPC,Quantity,Rarity |where=Item='{{FULLPAGENAME}}' |format=template |order by=Rarity |template=DropSourceItem |named args=yes }} |}"
 
No edit summary
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable"
== Sources ==
! '''NPC'''
{| class="wikitable sortable"
! '''Quantity'''
! Source
! '''Rarity'''
! 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
}}
}}
|}
|}