Template:Sources: Difference between revisions

From IdleOn MMO Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=FullSourceLists
<includeonly><div style="display: None">{{#vardefine:sources|{{#cargo_query:tables=AnvilCraft
|Item=String
|Sources=Wikitext
}}</noinclude><includeonly><div style="display: None">{{#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}}}}}"
|format=list
|format=list
|order by=_pageName ASC
|order by=_pageName ASC
|no html
|default=
|default=
}}}}{{#vardefine:sources|{{#var:sources}}{{#cargo_query:tables=DropTables
}}}}{{#vardefine:sources|{{#var:sources}}{{#cargo_query:tables=DropTables
Line 15: Line 11:
|group by=DropSourceEntity
|group by=DropSourceEntity
|order by=DropSourceEntity ASC
|order by=DropSourceEntity ASC
|no html
|default=
|default=
|intro={{#if:{{#var:sources}}|, }}
|intro={{#if:{{#var:sources}}|, }}
Line 23: Line 18:
|format=list
|format=list
|group by=_pageName
|group by=_pageName
|no html
|default=
|default=
|intro={{#if:{{#var:sources}}|, }}
|intro={{#if:{{#var:sources}}|, }}
Line 31: Line 25:
|format=list
|format=list
|order by=Vendor
|order by=Vendor
|no html
|default=
|default=
|intro={{#if:{{#var:sources}}|, }}
|intro={{#if:{{#var:sources}}|, }}
Line 39: Line 32:
|format=list
|format=list
|order by=Source
|order by=Source
|no html
|default=
|default=
|intro={{#if:{{#var:sources}}|, }}
|intro={{#if:{{#var:sources}}|, }}
Line 47: Line 39:
|format=list
|format=list
|group by=Item
|group by=Item
|no html
|default=
|default=
}}}}</div>{{#var:sources | Unobtainable}}{{#cargo_store:_table=FullSourceLists
}}}}</div>{{#var:sources | Unobtainable}}<includeonly>
|Item={{{1|{{PAGENAME}}}}}
|Sources={{#var:sources | Unobtainable}}
}}<includeonly>

Revision as of 05:22, 28 December 2022