Template:BTD5 tower info: Difference between revisions
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!-- | ||
--><div class="head">{{{name}}}</div> | |||
<tabs> | |||
{{#if:{{{image M|}}}|<tab name="Multiplatform"> | |||
<tab name=" | {{{!}}class="subtable main centered" | ||
{ | {{!}}[[File:{{{image M}}}|200px|Portrait of {{{name}}}]] | ||
{{!}}- | |||
{{!}}class="flex-left-icon-wrapper"{{!}}[[File:{{{icon M}}}|50px|Icon of {{{name M}}}]]{{{description M}}} | |||
{{!}}} | |||
</tab>}} | |||
</tab> | |||
{{#if:{{{image F|}}}|<tab name="Flash"> | {{#if:{{{image F|}}}|<tab name="Flash"> | ||
{ | {{{!}}class="subtable main centered" | ||
{{!}}[[File:{{{image F}}}|200px|Portrait of {{{name}}}]] | |||
{{!}}- | |||
{{!}}class="flex-left-icon-wrapper"{{!}}[[File:{{{icon F}}}|50px|Icon of {{{name F}}}]]{{{description F}}} | |||
{{!}}} | |||
</tab>}} | </tab>}} | ||
</tabs> | </tabs> | ||
{|class="subtable" | {|class="subtable" | ||
!Cost | !Cost | ||
|colspan=" | |colspan="2"|{{#ifexpr:{{{cost F|{{{cost M|0}}}}}} = {{{cost M|0}}} and {{{cost D|{{{cost M|0}}}}}} = {{{cost M|0}}}||<!-- | ||
||{{#ifeq:{{{cost F|0}}}|{{{cost D|0}}} | -->{{#ifeq:{{{cost F|0}}}|{{{cost D|0}}}|'''Flash / ''Deluxe''''':<br>{{BTD5F cost by difficulty|{{{cost F|0}}}}}<br>'''Multiplatform''':<br>|<!-- | ||
|'''Flash / ''Deluxe''''':<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}}}}}<br>}}}}'''Multiplatform''':<br>}}<!-- | |||
}}''' | -->{{BTD5M cost by difficulty|{{{cost M|0}}}}} | ||
|} | |}</div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd5_towers | ||
| | |||
|id={{{id|}}} | |id={{{id|}}} | ||
| Line 49: | Line 45: | ||
|image={{{image M|}}} | |image={{{image M|}}} | ||
|keywords=BTD5 {{{name M|}}} | |keywords=BTD5 {{{name M|}}} | ||
}}</includeonly><noinclude>{{#cargo_declare:_table=btd5_towers | }}}}</includeonly><noinclude>{{#cargo_declare:_table=btd5_towers | ||
|id=String | |id=String | ||