Template:BTD5 upgrade info: Difference between revisions
mNo edit summary |
added navigation links for prev/next upgrades |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{|class="info" | ||
!class="head"|{{{name M}}} | !class="head"|{{{name M}}} | ||
|- | |- | ||
|<tabs> | |||
<tab name="Mobile"> | <tab name="Mobile"> | ||
{|class="info-sub main centered-cells" | {|class="info-sub main centered-cells" | ||
| Line 42: | Line 20: | ||
</tab>}} | </tab>}} | ||
</tabs> | </tabs> | ||
{|class="info-sub centered-cells" | {|class="info-sub centered-cells" | ||
!colspan=2|Tower | !colspan=2|Tower | ||
| Line 53: | Line 29: | ||
|{{{tier}}} | |{{{tier}}} | ||
|} | |} | ||
{|class="info-sub" | {|class="info-sub" | ||
|- | |- | ||
!Total [[Tower XP|XP]] to unlock | !Total [[Tower XP|XP]] to unlock | ||
|colspan="3"|{{#ifeq:{{{xp F|{{{xp M|}}}}}}|{{{xp M|}}}||'''[[Bloons TD 5 (Flash)|Flash]] / ''[[Bloons TD 5 Deluxe|Deluxe]]''''': {{formatnum:{{{xp F|0}}}}}<br>'''[[Bloons TD 5 (mobile)|Mobile]] / [[Bloons TD 5 (console)|console]]''': }}{{formatnum:{{{xp M|0}}}}} | |colspan="3"|{{#ifeq:{{{xp F|{{{xp M|}}}}}}|{{{xp M|}}}||'''[[Bloons TD 5 (Flash)|Flash]] / ''[[Bloons TD 5 Deluxe|Deluxe]]''''': {{formatnum:{{{xp F|0}}}}}<br>'''[[Bloons TD 5 (mobile)|Mobile]] / [[Bloons TD 5 (console)|console]]''':}} {{formatnum:{{{xp M|0}}}}} | ||
|- | |- | ||
!Cost | !Cost | ||
| Line 67: | Line 41: | ||
}}'''Mobile / console''':<br>}}{{BTD5M cost by difficulty|{{{cost M|0}}}}} | }}'''Mobile / console''':<br>}}{{BTD5M cost by difficulty|{{{cost M|0}}}}} | ||
|} | |} | ||
|}[[Category:{{{tower}}} upgrades in BTD5]][[Category:Path {{{path}}} upgrades in BTD5]][[Category:Tier {{{tier}}} upgrades in BTD5]]{{#seo: | |- | ||
<!-- upgrade prev/next --> | |||
|class="foot"|{{#cargo_query:table=btd5_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=btd5_upgrades | |||
|name_F ={{{name F|}}} | |||
|name_M ={{{name M|}}} | |||
|name_C ={{{name C|}}} | |||
|icon_F ={{{icon F|}}} | |||
|icon_M ={{{icon M|}}} | |||
|image_F ={{{image F|}}} | |||
|image_M ={{{image M|}}} | |||
|description_F={{{description F|}}} | |||
|description_M={{{description M|}}} | |||
|description_C={{{description C|}}} | |||
|tower={{{tower|}}} | |||
|path ={{{path|}}} | |||
|tier ={{{tier|}}} | |||
|cost_F={{{cost F|}}} | |||
|cost_D={{{cost D|}}} | |||
|cost_M={{{cost M|}}} | |||
|xp_F ={{{xp F|}}} | |||
|xp_M ={{{xp M|}}} | |||
|unused={{{unused|No}}} | |||
}}[[Category:{{{tower}}} upgrades in BTD5]][[Category:Path {{{path}}} upgrades in BTD5]][[Category:Tier {{{tier}}} upgrades in BTD5]]{{#seo: | |||
|image={{{image M|}}} | |image={{{image M|}}} | ||
|keywords=BTD5 {{{name M|}}} | |keywords=BTD5 {{{name M|}}} | ||
}}</includeonly><noinclude> | }}}}</includeonly><noinclude>{{#cargo_declare:_table=btd5_upgrades | ||
|name_F =String | |name_F =String | ||
|name_M =String | |name_M =String | ||
| Line 94: | Line 96: | ||
|xp_M =Integer | |xp_M =Integer | ||
|unused=Boolean | |unused=Boolean | ||
}} | }}{{/doc}}</noinclude> | ||