Template:Sources: Difference between revisions

From IdleOn MMO Wiki
No edit summary
Tag: Manual revert
(Blanked the page)
Tag: Blanking
 
Line 1: Line 1:
<includeonly>{{#vardefine:sources|{{#cargo_query:tables=AnvilCraft
 
|fields=IF(RecipeFrom = "Start", CONCAT("\[\[Smithing\]\]"), CONCAT("\[\[Smithing\]\] (", RecipeFrom, ")"))
|where=_pageName LIKE "{{{1|{{PAGENAME}}}}}"
|format=list
|order by=_pageName ASC
|default=
}}}}{{#vardefine:sources|{{#var:sources}}{{#cargo_query:tables=DropTables
|fields=CONCAT("\[\[", DropSourceEntity, "\]\]")
|where=DropItem="{{{1|{{PAGENAME}}}}}" AND NOT DropSourceEntity LIKE "%DropTable%"
|format=list
|group by=DropSourceEntity
|order by=DropSourceEntity ASC
|default=
|intro={{#if:{{#var:sources}}|, }}
}}}}{{#vardefine:sources|{{#var:sources}}{{#cargo_query:tables=Quests
|fields=CONCAT("\[\[", TRIM(_pageName), "\]\]")
|where=Rewards HOLDS LIKE "%>{{{1|{{PAGENAME}}}}}<%"
|format=list
|group by=_pageName
|default=
|intro={{#if:{{#var:sources}}|, }}
}}}}{{#vardefine:sources|{{#var:sources}}{{#cargo_query:tables=VendorItems
|fields=CONCAT("\[\[Vendors#", Vendor, "\{\{!\}\}", Vendor, "\]\]")
|where=Item="{{{1|{{PAGENAME}}}}}"
|format=list
|order by=Vendor
|default=
|intro={{#if:{{#var:sources}}|, }}
}}}}{{#vardefine:sources|{{#var:sources}}{{#cargo_query:tables=Sources
|fields=CONCAT("\[\[", Link, "\]\]", IF(SpecialText = "None", "", CONCAT(" (", SpecialText, ")")))
|where=Item="{{{1|{{PAGENAME}}}}}"
|format=list
|order by=Source
|default=
|intro={{#if:{{#var:sources}}|, }}
}}}}{{#vardefine:sources|{{#var:sources}}{{#cargo_query:tables=Sources
|fields=CONCAT("''", Item, " can be obtained from any enemy during its event.''")
|where=Item="{{{1|{{PAGENAME}}}}}" AND EventRules=1
|format=ul
|group by=Item
|default=
}}}}<includeonly>

Latest revision as of 15:48, 29 December 2022