Template:Sources: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) No edit summary |
Kiokurashi (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
|order by=_pageName ASC | |order by=_pageName ASC | ||
|default= | |default= | ||
}}}}{{#vardefine:sources|{{#var:sources}}{{#cargo_query:tables=DropTables | }}}}-->{{#vardefine:sources|{{#var:sources}}{{#cargo_query:tables=DropTables | ||
|fields=CONCAT("[[", DropSourceEntity, "]]") | |fields=CONCAT("[[", DropSourceEntity, "]]") | ||
|where=DropItem="{{{1|{{PAGENAME}}}}}" AND NOT DropSourceEntity LIKE "%DropTable%" | |where=DropItem="{{{1|{{PAGENAME}}}}}" AND NOT DropSourceEntity LIKE "%DropTable%" | ||
Line 13: | Line 13: | ||
|default= | |default= | ||
|intro={{#if:{{#var:sources}}|, }} | |intro={{#if:{{#var:sources}}|, }} | ||
}}}}-- | }}}}<!--{{#vardefine:sources|{{#var:sources}}{{#cargo_query:tables=Quests | ||
|fields=_pageName | |fields=_pageName | ||
|where=Rewards HOLDS LIKE "%>{{{1|{{PAGENAME}}}}}<%" | |where=Rewards HOLDS LIKE "%>{{{1|{{PAGENAME}}}}}<%" | ||
Line 20: | Line 20: | ||
|default= | |default= | ||
|intro={{#if:{{#var:sources}}|, }} | |intro={{#if:{{#var:sources}}|, }} | ||
}}}} | }}}}{{#vardefine:sources|{{#var:sources}}{{#cargo_query:tables=VendorItems | ||
|fields=CONCAT("[[Vendors#", Vendor, "\{\{!\}\}", Vendor, "]]") | |fields=CONCAT("[[Vendors#", Vendor, "\{\{!\}\}", Vendor, "]]") | ||
|where=Item="{{{1|{{PAGENAME}}}}}" | |where=Item="{{{1|{{PAGENAME}}}}}" |