Template:BTDB upgrade info: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| (23 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 subtable-container"><!-- | ||
--><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> | |||
{{#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>}} | |||
</tabs> | |||
{|class="subtable" | |||
!Tower | |||
|colspan="2"|[[{{{tower}}} (Battles)|{{{tower}}}]] — Path {{{path}}} — Tier {{{tier}}} | |||
|- | |||
!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 | |||
|where={{#if:{{{prev|}}}{{{next|}}}|name_M="{{{prev|???}}}" OR name_M="{{{next|???}}}"|tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1)}} | |||
|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 46: | ||
|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]] | }}[[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 | |||
|name_F =String | |name_F =String | ||
|name_M =String | |name_M =String | ||
| Line 62: | Line 57: | ||
|image_F =File | |image_F =File | ||
|image_M =File | |image_M =File | ||
|description_F= | |description_F=Wikitext string | ||
|description_M= | |description_M=Wikitext string | ||
|description_C= | |description_C=Wikitext string | ||
|tower=String | |tower=String | ||
| Line 76: | Line 71: | ||
|xp_M =Integer | |xp_M =Integer | ||
|unused=Boolean | |unused=Boolean | ||
}} | }}{{/doc}}</noinclude> | ||