Template:BTDB upgrade info: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btdb_upgrades
<includeonly><templatestyles src="Info/style.css"/><div class="info"><!--
--><div class="head">{{{name M}}}</div><!--
 
--><tabs><tab name="Mobile">
{|class="subtable main centered"
|colspan="4"|[[File:{{{image M}}}|100px|Portrait of {{{name M}}}]]
|-
|[[File:{{{icon M}}}|50x50px|Icon of {{{name M}}}]]
|colspan="3" style="text-align:left"|{{{description M}}}
|}</tab>
{{#if:{{{name F|}}}|<tab name="Flash">
{|class="subtable main centered"
|colspan="4"|[[File:{{{image F}}}|100px|Portrait of {{{name F}}}]]
|-
|[[File:{{{icon F}}}|50x50px|Icon of {{{name F}}}]]
|colspan="3" style="text-align:left"|{{{description F}}}
|}
</tab>}}</tabs>
{|class="subtable centered"
!colspan="2"|Tower
!Path
!Tier
!colspan="2"|Cost
|-
|colspan="2"|[[{{{tower}}} (Battles)|{{{tower}}}]]
|{{{path}}}
|{{{tier}}}
|colspan="2"|{{#ifeq:{{{cost F|{{{cost M|}}}}}}|{{{cost M|}}}||'''[[Bloons TD Battles (Flash)|Flash]]''': ${{formatnum:{{{cost F|0}}}}}<br>'''[[Bloons TD Battles (mobile)|Mobile]]''':}} ${{formatnum:{{{cost M|0}}}}}
|}<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
 
|where=tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) AND NOT unused
|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|}}}
Line 16: Line 49:
|cost_M={{{cost M|}}}
|cost_M={{{cost M|}}}
|unused={{{unused|No}}}
|unused={{{unused|No}}}
}}[[Category:{{{tower}}} upgrades in Battles]][[Category:Path {{{path}}} upgrades in Battles]][[Category:Tier {{{tier}}} upgrades in Battles]]}}{{#seo:
}}[[Category:{{{tower}}} upgrades in Battles]][[Category:Path {{{path}}} upgrades in Battles]][[Category:Tier {{{tier}}} upgrades in Battles]]{{#seo:
|image={{{image M|}}}
|image={{{image M|}}}
|keywords=BTD Battles {{{name M|}}}, BTDB {{{name M|}}}
|keywords=BTD Battles {{{name M|}}}, BTDB {{{name M|}}}
}}
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btdb_upgrades
{|class="info"
!class="head"|{{{name M}}}
|-
|style="text-align:center"|<tabs>
<tab name="Mobile">
{|class="info-sub main centered-cells"
|colspan="4"|[[File:{{{image M}}}|100px]]
|-
|[[File:{{{icon M}}}|50x50px]]
|colspan="3" style="text-align:left"|{{{description M}}}
|}
</tab>
<tab name="Flash">
{|class="info-sub main centered-cells"
|colspan="4"|[[File:{{{image F}}}|100px]]
|-
|[[File:{{{icon F}}}|50x50px]]
|colspan="3" style="text-align:left"|{{{description F}}}
|}
</tab>
</tabs>
{|class="info-sub centered-cells"
!colspan="2"|Tower
!Path
!Tier
!colspan="2"|Cost
|-
|colspan="2"|[[{{{tower}}} (BTD5)|{{{tower}}}]]
|{{{path}}}
|{{{tier}}}
|colspan="2"|{{#ifeq:{{{cost F|{{{cost M|}}}}}}|{{{cost M|}}}||'''Flash''': ${{formatnum:{{{cost F|0}}}}}<br>'''Mobile''':}} ${{formatnum:{{{cost M|0}}}}}
|}
|}</includeonly><noinclude>{{/doc}}
{|
|{{#cargo_declare:_table=btdb_upgrades
|name_F      =String
|name_F      =String
|name_M      =String
|name_M      =String
Line 62: Line 60:
|image_F      =File
|image_F      =File
|image_M      =File
|image_M      =File
|description_F=String
|description_F=Wikitext string
|description_M=String
|description_M=Wikitext string
|description_C=String
|description_C=Wikitext string


|tower=String
|tower=String
Line 76: Line 74:
|xp_M  =Integer
|xp_M  =Integer
|unused=Boolean
|unused=Boolean
}}
}}{{/doc}}</noinclude>
|}</noinclude>

Latest revision as of 20:19, 19 April 2026

This template defines the Cargo table "btdb_upgrades". View table.

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
name Fname F

no description

Unknownoptional
name Mname M

no description

Unknownoptional
icon Ficon F

no description

Unknownoptional
icon Micon M

no description

Unknownoptional
image Fimage F

no description

Unknownoptional
image Mimage M

no description

Unknownoptional
description Fdescription F

no description

Unknownoptional
description Mdescription M

no description

Unknownoptional
towertower

no description

Unknownoptional
pathpath

no description

Unknownoptional
tiertier

no description

Unknownoptional
cost Fcost F

no description

Unknownoptional
cost Mcost M

no description

Unknownoptional
unusedunused

no description

Unknownoptional