Template:BMC building info: Difference between revisions
m Polavux moved page Template:BMC stackable building info to Template:BMC building info without leaving a redirect: on second thought, this distinction is not really necessary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<noinclude>{{#cargo_declare:_table= | <noinclude>{{#cargo_declare:_table=bmc_buildings | ||
|id=String | |id=String | ||
|category_order=Integer | |category_order=Integer | ||
| Line 10: | Line 10: | ||
|description_M=String | |description_M=String | ||
|category =String | |||
|tile_footprint_x =Integer | |tile_footprint_x =Integer | ||
|tile_footprint_y =Integer | |tile_footprint_y =Integer | ||
|sub_footprint_x =Integer | |||
|sub_footprint_y =Integer | |||
|disallowed_terrain=List (, ) of String | |disallowed_terrain=List (, ) of String | ||
|required_terrain =List (, ) of String | |required_terrain =List (, ) of String | ||
| | |level_F =Integer | ||
| | |level_M =Integer | ||
| | |requires_building=String | ||
|cc_F =Integer | |cc_F =Integer | ||
| | |cc_M =Integer | ||
|power_F=Integer | |power_F=Integer | ||
|power_M=Integer | |||
|time_F =Integer | |time_F =Integer | ||
|time_M =Integer | |||
| | |xp_F =Integer | ||
| | |||
|xp_M =Integer | |xp_M =Integer | ||
|base_quota =Integer | |base_quota =Integer | ||
|levels_per_quota=Integer | |levels_per_quota=Integer | ||
}}</noinclude> | }}</noinclude> | ||
<includeonly>{{#cargo_store:_table= | <includeonly>{{#cargo_store:_table=bmc_buildings | ||
|id={{{id|}}} | |id={{{id|}}} | ||
|category_order={{{order|}}} | |category_order={{{order|}}} | ||
| Line 45: | Line 46: | ||
|description_M={{{description M|}}} | |description_M={{{description M|}}} | ||
|category ={{{category|}}} | |||
|tile_footprint_x ={{{tile footprint x|}}} | |tile_footprint_x ={{{tile footprint x|}}} | ||
|tile_footprint_y ={{{tile footprint y|}}} | |tile_footprint_y ={{{tile footprint y|}}} | ||
|sub_footprint_x ={{{sub footprint x|}}} | |||
|sub_footprint_y ={{{sub footprint y|}}} | |||
|disallowed_terrain={{{disallowed terrain|}}} | |disallowed_terrain={{{disallowed terrain|}}} | ||
|required_terrain ={{{required terrain|}}} | |required_terrain ={{{required terrain|}}} | ||
| | |level_F ={{{level F|}}} | ||
| | |level_M ={{{level M|}}} | ||
| | |requires_building={{{requires building|}}} | ||
|cc_F ={{{cc F|}}} | |cc_F ={{{cc F|}}} | ||
| | |cc_M ={{{cc M|}}} | ||
|power_F={{{power F|}}} | |power_F={{{power F|}}} | ||
|power_M={{{power M|}}} | |||
|time_F ={{{time F|}}} | |time_F ={{{time F|}}} | ||
|time_M ={{{time M|}}} | |||
| | |xp_F ={{{xp F|}}} | ||
| | |||
|xp_M ={{{xp M|}}} | |xp_M ={{{xp M|}}} | ||
|base_quota ={{{base quota|}}} | |base_quota ={{{base quota|}}} | ||
| Line 80: | Line 81: | ||
| | | | ||
{|class="info-sub" | {|class="info-sub" | ||
!colspan=2| | !colspan=2|Prerequisites | ||
|colspan=3|{{#ifeq:{{{level F|{{{level M|}}}}}}|{{{level M|}}}|{{{level M|}}}|{{{level F|}}} <small>(Flash)</small><br>{{{level M|}}} <small>(mobile)</small>}} | |colspan=3|{{#if:{{#ifexpr:{{{level M|1}}} > 1|a}}{{#if:{{{building|}}}|b}}| | ||
{{#ifexpr:{{{level|1}}} > 1|{{#ifeq:{{{level F|{{{level M|}}}}}}|{{{level M|}}}|[[City Level]] {{{level M|}}}|[[City Level]] {{{level F|}}} <small>(Flash)</small><br>City Level {{{level M|}}} <small>(mobile)</small>}}}}<br>{{#if:{{{requires building|}}}|[[{{{requires building}}}]] built}}|''None''}} | |||
|- | |- | ||
!colspan=2|Terrain requirements | !colspan=2|Terrain requirements | ||
|colspan=3|{{#ifeq:{{{required terrain|}}}||Cannot be placed on:<br>{{{disallowed terrain}}}|Can only be placed on:<br>{{{required terrain}}}}} | |colspan=3|{{#ifeq:{{{required terrain|}}}||Cannot be placed on:<br>{{{disallowed terrain}}}|Can only be placed on:<br>{{{required terrain}}}}} | ||
|- | |- | ||
!colspan=2|Cost to build | !colspan=2|Cost to build | ||
|colspan=3|{{#ifeq:{{{cc F|{{{cc M|}}}}}}|{{{cc M|}}}|{{{cc M|}}}|{{{cc F|}}} <small>(Flash)</small><br>{{{cc M|}}} <small>(mobile)</small>}} | |colspan=3|{{#ifeq:{{{cc F|{{{cc M|}}}}}}|{{{cc M|}}}|{{{cc M|}}}|{{{cc F|}}} <small>(Flash)</small><br>{{{cc M|}}} <small>(mobile)</small>}} | ||
|- | |||
!colspan=2|Power used | |||
|colspan=3|{{#ifeq:{{{power F|{{{power M|}}}}}}|{{{power M|}}}|{{{power M|}}}|{{{power F|}}} <small>(Flash)</small><br>{{{power M|}}} <small>(mobile)</small>}} | |||
|- | |- | ||
!colspan=2|Time to build | !colspan=2|Time to build | ||