Template:BMC building info: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
||
| (3 intermediate revisions by one other user not shown) | |||
| 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}}| | ||
| Line 39: | Line 39: | ||
|- | |- | ||
!colspan=2|Build time | !colspan=2|Build time | ||
|colspan=3|{{#ifeq:{{{time F|{{{time M|}}}}}}|{{{time M|{{{time F|0}}}}}}||'''Flash''': {{BMC time format|{{{time F|0}}}}}<br>'''Mobile''':}} {{BMC time format|{{{time M|{{{time F|0}}}}}}}} | |colspan=3|{{#ifeq:{{{time M|}}}|0|Instant|{{#ifeq:{{{time F|{{{time M|0}}}}}}|{{{time M|{{{time F|0}}}}}}||'''Flash''': {{BMC time format|{{{time F|0}}}}}<br>'''Mobile''':}} {{BMC time format|{{{time M|{{{time F|0}}}}}}}}}} | ||
|- | |- | ||
!colspan=2|XP for building | !colspan=2|XP for building | ||
|colspan=3|{{#ifeq:{{{xp F|{{{xp M|}}}}}}|{{{xp M|{{{xp F|}}}}}}||'''Flash''': {{BMCF xp|{{{xp F|}}}}}<br>'''Mobile''':}} {{#if:{{{xp M|}}}|{{BMCM xp|{{{xp M|0}}}}}|{{BMCF xp|{{{xp F|0}}}}}}} | |colspan=3|{{#ifeq:{{{xp F|{{{xp M|}}}}}}|{{{xp M|{{{xp F|}}}}}}||'''Flash''': {{BMCF xp|{{{xp F|}}}}}<br>'''Mobile''':}} {{#if:{{{xp M|}}}|{{BMCM xp|{{{xp M|0}}}}}|{{BMCF xp|{{{xp F|0}}}}}}} | ||
|} | |} | ||
|}{{#cargo_store:_table=bmc_buildings | |}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=bmc_buildings | ||
|id={{{id|}}} | |id={{{id|}}} | ||
|category_order={{{order|}}} | |category_order={{{order|}}} | ||
| Line 81: | Line 81: | ||
|image={{#if:{{{image M|}}}|{{{image M|}}}|{{{image F|}}}}} | |image={{#if:{{{image M|}}}|{{{image M|}}}|{{{image F|}}}}} | ||
|keywords=BMC {{{name M|}}} | |keywords=BMC {{{name M|}}} | ||
}}</includeonly><noinclude | }}}}</includeonly><noinclude>{{#cargo_declare:_table=bmc_buildings | ||
|id=String | |id=String | ||
|category_order=Integer | |category_order=Integer | ||
| Line 116: | Line 115: | ||
|xp_F =Integer | |xp_F =Integer | ||
|xp_M =Integer | |xp_M =Integer | ||
}} | }}{{/doc}}</noinclude> | ||
Latest revision as of 05:53, 4 April 2026
This template defines the Cargo table "bmc_buildings". View table.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id | no description | Unknown | optional |
| order | order | no description | Unknown | optional |
| name F | name F | no description | Unknown | optional |
| name M | name M | no description | Unknown | optional |
| image F | image F | no description | Unknown | optional |
| image M | image M | no description | Unknown | optional |
| description F | description F | no description | Unknown | optional |
| description M | description M | no description | Unknown | optional |
| category | category | no description | Unknown | optional |
| tile footprint x | tile footprint x | no description | Unknown | optional |
| tile footprint y | tile footprint y | no description | Unknown | optional |
| sub footprint x | sub footprint x | no description | Unknown | optional |
| sub footprint y | sub footprint y | no description | Unknown | optional |
| disallowed terrain | disallowed terrain | no description | Unknown | optional |
| required terrain | required terrain | no description | Unknown | optional |
| requires building | requires building | no description | Unknown | optional |
| requires mission | requires mission | no description | Unknown | optional |
| level F | level F | no description | Unknown | optional |
| level M | level M | no description | Unknown | optional |
| base quota | base quota | no description | Unknown | optional |
| levels per quota | levels per quota | no description | Unknown | optional |
| cc F | cc F | no description | Unknown | optional |
| cc M | cc M | no description | Unknown | optional |
| power F | power F | no description | Unknown | optional |
| power M | power M | no description | Unknown | optional |
| time F | time F | no description | Unknown | optional |
| time M | time M | no description | Unknown | optional |
| xp F | xp F | no description | Unknown | optional |
| xp M | xp M | no description | Unknown | optional |