Template:BTD6 power pro 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">" |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!-- | ||
--><div class="head">{{{name}}}</div> | |||
{|class="subtable main centered" | |||
|[[File:{{{icon}}}|100px|Icon of {{{name}}}]] | |||
{|class=" | |||
|[[File:{{{icon}}}|100px]] | |||
|- | |- | ||
|{{{description}}} | |{{{description}}} | ||
|} | |} | ||
{|class=" | {|class="subtable" | ||
!colspan="2"|[[ | !Tower | ||
|colspan="2"|[[{{{tower}}}]] — Path {{{path}}} — Tier {{{tier}}} | |||
|- | |- | ||
!Cost | !Cost | ||
|colspan=" | |colspan="2"|{{BTD6 upgrade cost by difficulty|{{{cost|0}}}}} | ||
|} | |}<!-- | ||
<!-- upgrade prev/next --> | upgrade prev/next | ||
--><div class="foot">{{#cargo_query:table=btd6_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 | |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 | |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=btd6_upgrades | ||
|id={{{id|}}} | |id={{{id|}}} | ||
|unused={{{unused|No}}} | |unused={{{unused|No}}} | ||
Latest revision as of 02:37, 6 July 2026
This template adds rows to the table "btd6_upgrades", which is declared by the template BTD6 upgrade info. View table.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id | no description | Unknown | optional |
| name | name | no description | Unknown | optional |
| icon | icon | no description | Unknown | optional |
| description | description | no description | Unknown | optional |
| description C | description C | no description | Unknown | optional |
| tower | tower | no description | Unknown | optional |
| path | path | no description | Unknown | optional |
| tier | tier | no description | Unknown | optional |
| xp | xp | no description | Unknown | optional |
| cost | cost | no description | Unknown | optional |
| cost C | cost C | no description | Unknown | optional |
| unused | unused | no description | Unknown | optional |
| image | image | no description | Unknown | optional |