Template:BATTD upgrade info: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
||
| (4 intermediate revisions by one other user not shown) | |||
| Line 3: | Line 3: | ||
|- | |- | ||
| | | | ||
{|class=" | {|class="subtable main centered-cells" | ||
|style="text-align:center"|[[File:{{{image}}}|100px]] | |style="text-align:center"|[[File:{{{image}}}|100px]] | ||
|- | |- | ||
|{{{description}}} | |{{{description}}} | ||
|} | |} | ||
{|class=" | {|class="subtable" | ||
![[Character]] | ![[Character]] | ||
|colspan="2"|[[{{{tower}}} (BATTD)|{{{tower}}}]] | |colspan="2"|[[{{{tower}}} (BATTD)|{{{tower}}}]] | ||
| Line 23: | Line 23: | ||
|- | |- | ||
!Prerequisites | !Prerequisites | ||
|colspan="2"|{{#if:{{{previous|}}}|{{#cargo_query:tables = battd_upgrades= | |colspan="2"|{{#if:{{{previous|}}}|{{#cargo_query:tables = battd_upgrades=main_table, battd_upgrades__previous, battd_upgrades=prerequisites_table | ||
|join on = | |join on = main_table._ID=battd_upgrades__previous._RowID, battd_upgrades__previous._value=prerequisites_table.id | ||
|fields=CONCAT("[[", | |fields=CONCAT("[[", prerequisites_table._pageName, "|", prerequisites_table.name, "]]") = text | ||
|where= | |where=main_table.id = "{{{id|x}}}" AND NOT prerequisites_table.unused | ||
|format=ul | |format=ul | ||
|default=― | |default=― | ||
| 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 | ||
Latest revision as of 05:50, 4 April 2026
This template defines the Cargo table "battd_upgrades". View table.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id | no description | Unknown | optional |
| name | name | no description | Unknown | optional |
| image | image | no description | Unknown | optional |
| description | description | no description | Unknown | optional |
| tower | tower | no description | Unknown | optional |
| cost | cost | no description | Unknown | optional |
| previous | previous | no description | Unknown | optional |
| locked by upgrades | locked by upgrades | no description | Unknown | optional |
| level required | level required | no description | Unknown | optional |
| weapon required | weapon required | no description | Unknown | optional |
| trinket required | trinket required | no description | Unknown | optional |
| character nearby required | character nearby required | no description | Unknown | optional |
| character upgrade required | character upgrade required | no description | Unknown | optional |