Template:Sources: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) No edit summary |
Kiokurashi (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#vardefine:sources|{{#cargo_query:tables=AnvilCraft | ||
|fields=IF(RecipeFrom = "Start", CONCAT("[[Smithing]]"), CONCAT("[[Smithing]] (", RecipeFrom, ")")) | |fields=IF(RecipeFrom = "Start", CONCAT("[[Smithing]]"), CONCAT("[[Smithing]] (", RecipeFrom, ")")) | ||
|where=_pageName LIKE "{{{1|{{PAGENAME}}}}}" | |where=_pageName LIKE "{{{1|{{PAGENAME}}}}}" | ||
Line 5: | Line 5: | ||
|order by=_pageName ASC | |order by=_pageName ASC | ||
|default= | |default= | ||
}}}}-- | }}}}<!--{{#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}}}}}<%" |