Template:BTD5 upgrade info: Difference between revisions
Pymonkibot (talk | contribs) m Text replacement - "<div class="info">" to "<div class="info subtable-container">" |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 26: | Line 26: | ||
|- | |- | ||
!Cost | !Cost | ||
|colspan="2"|{{#ifexpr:{{{cost F|{{{cost M|0}}}}}} = {{{cost M|0}}} and {{{cost D|{{{cost M|0}}}}}} = {{{cost M|0}}}||<!-- | |colspan="2"|{{#ifexpr:{{{cost F|{{{cost M|0}}}}}} = {{{cost M|0}}} and {{{cost D|{{{cost M|0}}}}}} = {{{cost M|0}}}|{{BTD5M cost by difficulty|{{{cost M|0}}}}}|<!-- | ||
-->{{#ifeq:{{{cost F|0}}}|{{{cost D|0}}}|'''Flash / ''Deluxe''''':<br>{{BTD5F cost by difficulty|{{{cost F|0}}}}} | -->'''Multiplatform''':<br>{{BTD5M cost by difficulty|{{{cost M|0}}}}}<br><!-- | ||
-->{{#ifeq:{{{cost F|0}}}|{{{cost D|0}}}|'''Flash / ''Deluxe''''':<br>{{BTD5F cost by difficulty|{{{cost F|0}}}}}|<!-- | |||
-->{{#if:{{{cost F|}}}|'''Flash''':<br>{{BTD5F cost by difficulty|{{{cost F|0}}}}}<br>}}<!-- | -->{{#if:{{{cost F|}}}|'''Flash''':<br>{{BTD5F cost by difficulty|{{{cost F|0}}}}}<br>}}<!-- | ||
-->{{#if:{{{cost D|}}}|'''''Deluxe''''':<br>{{BTD5F cost by difficulty|{{{cost D|0}}}}} | -->{{#if:{{{cost D|}}}|'''''Deluxe''''':<br>{{BTD5F cost by difficulty|{{{cost D|0}}}}}}}}}}} | ||
|} | |} | ||
<!-- upgrade prev/next --> | <!-- upgrade prev/next --> | ||
<div class="foot">{{#cargo_query:table=btd5_upgrades | <div 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_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) | |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= | |delimiter= | ||
}}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd5_upgrades | }}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd5_upgrades | ||