Template:BMC building info: Difference between revisions

mNo edit summary
Qwertyxp2000 (talk | contribs)
proposal passed, name "mobile" -> "multiplatform"
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
|-
|-
|<tabs>
|<tabs>
{{#if:{{{name M|}}}|<tab name="Mobile">
{{#if:{{{name M|}}}|<tab name="Multiplatform">
{|class="info-sub main centered-cells"
{|class="subtable main centered-cells"
|{{#ifexist:File:{{{image M|???}}}|[[File:{{{image M}}}|150px]]|[[File:missing image.png|150px|link=Special:Upload?wpDestFile={{{image M|}}}]]}}
|{{#ifexist:File:{{{image M|???}}}|[[File:{{{image M}}}|150px]]|[[File:missing image.png|150px|link=Special:Upload?wpDestFile={{{image M|}}}]]}}
|-
|-
Line 11: Line 11:
</tab>}}
</tab>}}
{{#if:{{{name F|}}}|<tab name="Flash">
{{#if:{{{name F|}}}|<tab name="Flash">
{|class="info-sub main centered-cells"
{|class="subtable main centered-cells"
|{{#ifexist:File:{{{image F|???}}}|[[File:{{{image F}}}|150px]]|[[File:missing image.png|150px|link=Special:Upload?wpDestFile={{{image M|}}}]]}}
|{{#ifexist:File:{{{image F|???}}}|[[File:{{{image F}}}|150px]]|[[File:missing image.png|150px|link=Special:Upload?wpDestFile={{{image M|}}}]]}}
|-
|-
Line 18: Line 18:
</tab>}}
</tab>}}
</tabs>
</tabs>
{|class="info-sub"
{|class="subtable"
!colspan=2|Prerequisites
!colspan=2|Prerequisites
|colspan=3|{{#if:{{#ifexpr:{{{level F|1}}} > 1|a}}{{#ifexpr:{{{level M|1}}} > 1|a}}{{#if:{{{requires building|}}}|b}}|
|colspan=3|{{#if:{{#ifexpr:{{{level F|1}}} > 1|a}}{{#ifexpr:{{{level M|1}}} > 1|a}}{{#if:{{{requires building|}}}|b}}|