Template:BTDB upgrade info: Difference between revisions
Jump to navigation
Jump to search
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
mNo edit summary |
||
| (11 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!-- | ||
!class=" | --><div class="head">{{{name M}}}</div><!-- | ||
--><tabs><tab name="Multiplatform"> | |||
{|class="subtable main centered" | |||
|[[File:{{{image M}}}|100px|Portrait of {{{name M}}}]] | |||
|- | |- | ||
| | |class="flex-left-icon-wrapper"|[[File:{{{icon M}}}|50px|Icon of {{{name M}}}]]{{{description M}}} | ||
| | |||
|} | |} | ||
</tab> | </tab> | ||
{{#if:{{{ | {{#if:{{{image F|}}}|<tab name="Flash"> | ||
{ | {{{!}}class="subtable main centered" | ||
{{!}}[[File:{{{image F}}}|100px|Portrait of {{{name F}}}]] | |||
{{!}}- | |||
{{!}}class="flex-left-icon-wrapper"{{!}}[[File:{{{icon F}}}|50px|Icon of {{{name F}}}]]{{{description F}}} | |||
{{!}}} | |||
</tab>}} | </tab>}} | ||
</tabs> | </tabs> | ||
{|class="subtable | {|class="subtable" | ||
!colspan="2"| | !Tower | ||
|colspan="2"|[[{{{tower}}} (Battles)|{{{tower}}}]] — Path {{{path}}} — Tier {{{tier}}} | |||
|- | |- | ||
|colspan="2"| | !Cost | ||
| | |colspan="2"|${{formatnum:{{{cost M|0}}}}} {{#ifeq:{{{cost F|{{{cost M|}}}}}}|{{{cost M|}}}||<!-- | ||
--> (<small>[[Bloons TD Battles (multiplatform)|Multiplatform version]]</small>)<br>${{formatnum:{{{cost F|0}}}}} (<small>[[Bloons TD Battles (Flash)|Flash version]]</small>) | |||
}} | |||
|} | |}<div class="foot">{{#cargo_query:table=btdb_upgrades | ||
< | |||
|fields=CONCAT(IF(tier<{{{tier|0}}}, "<div style='float:left'>[[", "<div style='float:right'>[["), _pageName, "{{!}}", IF(tier>{{{tier|0}}}, CONCAT(name_M, " →]]"), CONCAT("← ", name_M, "]]")), "</div>") = text | |fields=CONCAT(IF(tier<{{{tier|0}}}, "<div style='float:left'>[[", "<div style='float:right'>[["), _pageName, "{{!}}", IF(tier>{{{tier|0}}}, CONCAT(name_M, " →]]"), CONCAT("← ", name_M, "]]")), "</div>") = text | ||
|where=tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) AND NOT unused | |where=tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) AND NOT unused | ||
|delimiter= | |delimiter= | ||
}} | }}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btdb_upgrades | ||
|name_F ={{{name F|}}} | |name_F ={{{name F|}}} | ||
|name_M ={{{name M|}}} | |name_M ={{{name M|}}} | ||
Latest revision as of 04:39, 10 July 2026
This template defines the Cargo table "btdb_upgrades". View table.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| name F | name F | no description | Unknown | optional |
| name M | name M | no description | Unknown | optional |
| icon F | icon F | no description | Unknown | optional |
| icon M | icon M | no description | Unknown | optional |
| image F | image F | no description | Unknown | optional |
| image M | image M | no description | Unknown | optional |
| description F | description F | no description | Unknown | optional |
| description M | description M | no description | Unknown | optional |
| tower | tower | no description | Unknown | optional |
| path | path | no description | Unknown | optional |
| tier | tier | no description | Unknown | optional |
| cost F | cost F | no description | Unknown | optional |
| cost M | cost M | no description | Unknown | optional |
| unused | unused | no description | Unknown | optional |