Template:BMC building info: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=bmc_buildings
<includeonly>{|class="info"
|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
}}</noinclude>
<includeonly>{{#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={{{power M|}}}
|time_F ={{{time F|}}}
|time_M ={{{time M|}}}
|xp_F  ={{{xp F|}}}
|xp_M  ={{{xp M|}}}
}}[[Category:{{{category}}} Buildings]]</includeonly>
{|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}}}''
|{{{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}}}''
|{{{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>

Revision as of 21:24, 31 July 2024

This template defines the Cargo table "bmc_buildings". View table.

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
idid

no description

Unknownoptional
orderorder

no description

Unknownoptional
name Fname F

no description

Unknownoptional
name Mname M

no description

Unknownoptional
image Fimage F

no description

Unknownoptional
image Mimage M

no description

Unknownoptional
description Fdescription F

no description

Unknownoptional
description Mdescription M

no description

Unknownoptional
categorycategory

no description

Unknownoptional
tile footprint xtile footprint x

no description

Unknownoptional
tile footprint ytile footprint y

no description

Unknownoptional
sub footprint xsub footprint x

no description

Unknownoptional
sub footprint ysub footprint y

no description

Unknownoptional
disallowed terraindisallowed terrain

no description

Unknownoptional
required terrainrequired terrain

no description

Unknownoptional
requires buildingrequires building

no description

Unknownoptional
requires missionrequires mission

no description

Unknownoptional
level Flevel F

no description

Unknownoptional
level Mlevel M

no description

Unknownoptional
base quotabase quota

no description

Unknownoptional
levels per quotalevels per quota

no description

Unknownoptional
cc Fcc F

no description

Unknownoptional
cc Mcc M

no description

Unknownoptional
power Fpower F

no description

Unknownoptional
power Mpower M

no description

Unknownoptional
time Ftime F

no description

Unknownoptional
time Mtime M

no description

Unknownoptional
xp Fxp F

no description

Unknownoptional
xp Mxp M

no description

Unknownoptional