Template:BMC building info: Difference between revisions
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
< | <includeonly>{|class="info" | ||
{|class="info" | |||
!class="head"|{{{name M}}} | !class="head"|{{{name M}}} | ||
|- | |- | ||
| Line 77: | Line 7: | ||
|{{#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|}}}]]}} | ||
|- | |- | ||
| | |{{{description M}}} | ||
|} | |} | ||
</tab> | </tab> | ||
| Line 85: | Line 15: | ||
|{{#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|}}}]]}} | ||
|- | |- | ||
| | |{{{description F}}} | ||
|} | |} | ||
</tab>}} | </tab>}} | ||
| Line 111: | Line 41: | ||
|colspan=3|{{#ifeq:{{{xp F|{{{xp M|}}}}}}|{{{xp M|}}}|{{{xp M|}}}|{{{xp F|}}} <small>(Flash)</small><br>{{{xp M|}}} <small>(mobile)</small>}} | |colspan=3|{{#ifeq:{{{xp F|{{{xp M|}}}}}}|{{{xp M|}}}|{{{xp M|}}}|{{{xp F|}}} <small>(Flash)</small><br>{{{xp M|}}} <small>(mobile)</small>}} | ||
|} | |} | ||
|}<noinclude>{{/doc}}[[Category:Infoboxes]][[Category:BMC templates]]</noinclude> | |}{{#cargo_store:_table=bmc_buildings | ||
|id={{{id|}}} | |||
|category_order={{{order|}}} | |||
|name_F ={{{name F|}}} | |||
|name_M ={{{name M|}}} | |||
|image_F ={{{image F|}}} | |||
|image_M ={{{image M|}}} | |||
|description_F={{{description F|}}} | |||
|description_M={{{description M|}}} | |||
|category ={{{category|}}} | |||
|tile_footprint_x ={{{tile footprint x|}}} | |||
|tile_footprint_y ={{{tile footprint y|}}} | |||
|sub_footprint_x ={{{sub footprint x|}}} | |||
|sub_footprint_y ={{{sub footprint y|}}} | |||
|disallowed_terrain={{{disallowed terrain|}}} | |||
|required_terrain ={{{required terrain|}}} | |||
|requires_building={{{requires building|}}} | |||
|requires_mission ={{{requires mission|}}} | |||
|level_F ={{{level F|}}} | |||
|level_M ={{{level M|}}} | |||
|base_quota ={{{base quota|}}} | |||
|levels_per_quota ={{{levels per quota|}}} | |||
|cc_F ={{{cc F|}}} | |||
|cc_M ={{{cc M|}}} | |||
|power_F={{{power F|}}} | |||
|power_M=[[File:BMCM ui power icon.png|x17px|link=Power (BMC)|Power]]{{{power M|}}} | |||
|time_F ={{{time F|}}} | |||
|time_M ={{{time M|}}} | |||
|xp_F ={{{xp F|}}} | |||
|xp_M =[[File:BMCM ui xp icon.png|x17px|link=Experience]]{{{xp M|}}} | |||
}}[[Category:{{{category}}} Buildings]]</includeonly><noinclude>{{#cargo_declare:_table=bmc_buildings | |||
|id=String | |||
|category_order=Integer | |||
|name_F =String | |||
|name_M =String | |||
|image_F =File | |||
|image_M =File | |||
|description_F=String | |||
|description_M=String | |||
|category =String | |||
|tile_footprint_x =Integer | |||
|tile_footprint_y =Integer | |||
|sub_footprint_x =Integer | |||
|sub_footprint_y =Integer | |||
|disallowed_terrain=List (, ) of String | |||
|required_terrain =List (, ) of String | |||
|requires_building=String | |||
|requires_mission =String | |||
|level_F =Integer | |||
|level_M =Integer | |||
|base_quota =Integer | |||
|levels_per_quota =Integer | |||
|cc_F =Integer | |||
|cc_M =Integer | |||
|power_F=Integer | |||
|power_M=Integer | |||
|time_F =Integer | |||
|time_M =Integer | |||
|xp_F =Integer | |||
|xp_M =Integer | |||
}} | |||
{{/doc}}[[Category:Infoboxes]][[Category:BMC templates]]</noinclude> | |||