Template:BTDB2 upgrade info: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
added navigation links for prev/next upgrades |
||
| Line 20: | Line 20: | ||
|colspan=2|${{formatnum:{{{cost|0}}}}} | |colspan=2|${{formatnum:{{{cost|0}}}}} | ||
|} | |} | ||
|}{{#cargo_store:_table=btdb2_upgrades | |- | ||
<!-- upgrade prev/next --> | |||
|class="foot"|{{#cargo_query:table=btdb2_upgrades | |||
|fields=CONCAT(IF(tier<{{{tier|0}}}, "<div style='float:left'>[[", "<div style='float:right'>[["), _pageName, "{{!}}", IF(tier>{{{tier|0}}}, CONCAT(name, " →]]"), CONCAT("← ", name, "]]")), "</div>") = text | |||
|where=tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) AND NOT unused | |||
|delimiter= | |||
}} | |||
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btdb2_upgrades | |||
|id={{{id|}}} | |id={{{id|}}} | ||
|unused={{{unused|No}}} | |unused={{{unused|No}}} | ||
| Line 36: | Line 44: | ||
|image={{{image|}}} | |image={{{image|}}} | ||
|keywords=Battles 2 {{{name|}}}, BTDB2 {{{name|}}} | |keywords=Battles 2 {{{name|}}}, BTDB2 {{{name|}}} | ||
}}</includeonly><noinclude>{{#cargo_declare:_table=btdb2_upgrades | }}}}</includeonly><noinclude>{{#cargo_declare:_table=btdb2_upgrades | ||
|id=String | |id=String | ||
|unused=Boolean | |unused=Boolean | ||
Revision as of 13:56, 2 May 2025
This template defines the Cargo table "btdb2_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 |
| icon | icon | no description | Unknown | optional |
| description | description | no description | Unknown | optional |
| tower | tower | no description | Unknown | optional |
| path | path | no description | Unknown | optional |
| tier | tier | no description | Unknown | optional |
| cost | cost | no description | Unknown | optional |
| unused | unused | no description | Unknown | optional |