Template:BMC upgrade info: Difference between revisions

m reformatted to be neater
Pymonkibot (talk | contribs)
m Text replacement - "<div class="info">" to "<div class="info subtable-container">"
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><templatestyles src="Info/style.css"/><div class="info"><!--
<includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!--
--><div class="head">{{{name M}}}</div><!--
--><div class="head">{{{name M}}}</div><!--
--><tabs><tab name="Multiplatform">
--><tabs><tab name="Multiplatform">
{|class="subtable main centered"
{|class="subtable main centered"
|colspan="4"|[[File:{{{image M}}}|200px|Portrait of {{{name M}}}]]
|[[File:{{{image M}}}|200px|Portrait of {{{name M}}}]]
|-
|-
|[[File:{{{icon M}}}|50x50px]]
|class="flex-left-icon-wrapper"|[[File:{{{icon M}}}|50px|Icon of {{{name M}}}]]{{{description M}}}
|colspan="3" style="text-align:left"|{{{description M}}}
|}
|}
</tab>
</tab>
{{#if:{{{image F|}}}|<tab name="Flash">
{{#if:{{{image F|}}}|<tab name="Flash">
{{{!}}class="subtable main centered"
{{{!}}class="subtable main centered"
{{!}}colspan="4"{{!}}[[File:{{{image F}}}|200px|Portrait of {{{name F}}}]]
{{!}}[[File:{{{image F}}}|200px|Portrait of {{{name F}}}]]
{{!}}-
{{!}}-
{{!}}[[File:{{{icon F}}}|50x50px]]
{{!}}class="flex-left-icon-wrapper"{{!}}[[File:{{{icon F}}}|50px|Icon of {{{name F}}}]]{{{description F}}}
{{!}}colspan="3" style="text-align:left"{{!}}{{{description F}}}
{{!}}}
{{!}}}
</tab>}}
</tab>}}
</tabs>
</tabs>
{|class="subtable centered"
{|class="subtable"
!Tower
!Tower
|colspan="2"|[[{{{tower}}} (BMC)|{{{tower}}}]] — Path {{{path}}} — Tier {{{tier}}}
|colspan="2"|[[{{{tower}}} (BMC)|{{{tower}}}]] — Path {{{path}}} — Tier {{{tier}}}
Line 29: Line 27:
!colspan="3"|Research
!colspan="3"|Research
|-
|-
!Prerequisites
!Requirements
|colspan="2"|{{#if:{{#ifexpr:{{{level|1}}} > 1|a}}{{#if:{{{building|}}}|b}}|
|colspan="2"|{{#if:{{#ifexpr:{{{level|1}}} > 1|a}}{{#if:{{{building|}}}|b}}|
{{#ifexpr:{{{level|1}}} > 1|[[City Level]] {{{level}}}}}<br>{{#if:{{{building|}}}|{{{building}}} built}}|—}}
{{#ifexpr:{{{level|1}}} > 1|[[City Level]] {{{level}}}}}<br>{{#if:{{{building|}}}|{{{building}}} built}}|—}}