Template:BATTD upgrade info: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 32: | Line 32: | ||
|- | |- | ||
!Prerequisite of | !Prerequisite of | ||
|colspan="2"|{{#cargo_query:table=battd_upgrades | |colspan="2"|{{#if:{{{prerequisite of|}}}| | ||
*{{{prerequisite of}}}}}|{{#cargo_query:table=battd_upgrades | |||
|fields=CONCAT("[[", _pageName, "|", name, "]]") = text | |fields=CONCAT("[[", _pageName, "|", name, "]]") = text | ||
|where=previous HOLDS "{{{id|x}}}" AND NOT unused | |where=previous HOLDS "{{{id|x}}}" AND NOT unused | ||
|format=ul | |format=ul | ||
|default=― | |default=― | ||
}} | }}}} | ||
|} | |} | ||
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=battd_upgrades | |}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=battd_upgrades | ||