Template:Sources: Difference between revisions

From IdleOn MMO Wiki
No edit summary
No edit summary
Line 1: Line 1:
<noinclude><!--
<includeonly><div style="display: None">{{#vardefine:sources|{{#cargo_query:tables=AnvilCraft
 
### Cargo Declare ###
-->{{#cargo_declare:_table=FullSourceLists
  |Item=String (mandatory)
  |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}}}}}"
Line 46: Line 40:
|group by=Item
|group by=Item
|default=
|default=
}}}}<!--
}}}}</div>{{#ifeq:{{#var:sources}}|{{#var:sources}}|{{{backup|Unobtainable}}}}}<includeonly>
 
### Cargo Store ###
-->{{#cargo_store:_table=FullSourceLists
  |Item={{{1|{{PAGENAME}}}}}
  |Sources={{#ifeq:{{#var:sources}}|{{#var:sources}}|{{{backup|Unobtainable}}}}}
}}</div><includeonly>

Revision as of 16:40, 27 December 2022