Template:BMC building info: Difference between revisions
mNo edit summary |
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
||
| Line 4: | Line 4: | ||
|<tabs> | |<tabs> | ||
{{#if:{{{name M|}}}|<tab name="Mobile"> | {{#if:{{{name M|}}}|<tab name="Mobile"> | ||
{|class=" | {|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=" | {|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=" | {|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}}| | ||