Template:BTDB2 upgrade info: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Pymonkibot (talk | contribs) m Text replacement - "<div class="info">" to "<div class="info subtable-container">" |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
< | <includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!-- | ||
| | --><div class="head">{{{name}}}</div> | ||
| | {|class="subtable main centered" | ||
|[[File:{{{image}}}|200px|Portrait of {{{name}}}]] | |||
|- | |||
|class="flex-left-icon-wrapper"|[[File:{{{icon}}}|50px|Icon of {{{name}}}]]{{{description}}} | |||
|} | |||
{|class="subtable" | |||
!Tower | |||
|colspan="2"|[[{{{tower}}} (Battles 2)|{{{tower}}}]] — Path {{{path}}} — Tier {{{tier}}} | |||
|- | |||
!Cost | |||
|colspan="2"|${{formatnum:{{{cost|0}}}}} | |||
|}<!-- | |||
upgrade prev/next | |||
--><div 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 | ||
| | |||
| | |||
|tower= | |where=tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) AND NOT unused | ||
|path = | |delimiter= | ||
|tier = | }}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btdb2_upgrades | ||
| | |||
}}</ | |||
< | |||
|id={{{id|}}} | |id={{{id|}}} | ||
|unused={{{unused|No}}} | |unused={{{unused|No}}} | ||
|name | |name ={{{name|}}} | ||
|icon | |icon ={{{icon|}}} | ||
|image | |image ={{{image|}}} | ||
|description | |description={{{description|}}} | ||
|tower={{{tower|}}} | |tower={{{tower|}}} | ||
|path ={{{path|}}} | |path ={{{path|}}} | ||
|tier ={{{tier|}}} | |tier ={{{tier|}}} | ||
|cost | |cost ={{{cost|}}} | ||
}}[[Category:{{{tower}}} upgrades in Battles 2]][[Category:Path {{{path}}} upgrades in Battles 2]][[Category:Tier {{{tier}}} upgrades in Battles 2]]{{#seo: | }}[[Category:{{{tower}}} upgrades in Battles 2]][[Category:Path {{{path}}} upgrades in Battles 2]][[Category:Tier {{{tier}}} upgrades in Battles 2]]{{#seo: | ||
|image={{{image|}}} | |image={{{image|}}} | ||
|keywords=Battles 2 {{{name|}}}, BTDB2 {{{name|}}} | |keywords=Battles 2 {{{name|}}}, BTDB2 {{{name|}}} | ||
}}</includeonly> | }}}}</includeonly><noinclude>{{#cargo_declare:_table=btdb2_upgrades | ||
{ | |id=String | ||
|unused=Boolean | |||
| | |||
|name =String | |||
|icon =File | |||
| | |image =File | ||
| | |description=String | ||
| | |tower=String | ||
|path =Integer | |||
|tier =Integer | |||
|cost =Integer | |||
}}{{/doc}}</noinclude> | |||
| | |||
| | |||
| | |||
Latest revision as of 02:39, 6 July 2026
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 |