Template:Infobox building: Difference between revisions
From Workers & Resources: Soviet Republic Official Wiki
m (1 revision imported) |
m (removed abbr) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude><infobox | <onlyinclude><infobox layout="stacked"> | ||
<title source="name"><default>{{PAGENAME}}</default></title> | <title source="name"><default>{{PAGENAME}}</default></title> | ||
<panel name="images"> | <panel name="images"> | ||
Line 34: | Line 34: | ||
</data> | </data> | ||
<data source="material"><label>Material cost</label><format>[[#Construction|See below]]</format></data> | <data source="material"><label>Material cost</label><format>[[#Construction|See below]]</format></data> | ||
<data source="steps"><label> | <data source="steps"><label>Construction steps</label><format>[[#Construction|See below]]</format></data> | ||
</group> | </group> | ||
</section> | </section> |
Latest revision as of 04:10, 10 October 2024
Infobox template for Resources in game.
Usage
Place the following at the top of the article, below any page management templates:
{{Infobox building <!-- insert parameters --> }}
Parameters
Specific parameters
options
Game options required to build this building.
research
Researches required to build this building.
storage_main_type
R
storage_main_capacity
R
workers
Maximum ammount of workers in this building.
workers_high_education
Maximum ammount of workers with high education.
building_lifespan
R
machines_lifespan
R
produces
R
warehouse_export
R
pollution
R
electricity_production
R
water_tank_import
R
sewage_tank_import
R
max_daily_waste
R
garbage_per_worker
R
waste_export
R
consumes
Resources consumed during working time.
warehouse_import
R
electricity consumption
R
circuit_breaker
R
heat_water_tank
R
water_consumption
R
water_minimum_quality
R
water_tank_export
R
water_tank
R
sewage_tank
R
sewage_tank_export
R
work_days
R
material
R
steps
R
aux_storage_fuel
R
parking_spots
Internal parking spots.
loading_unloading_stations
Vehicle loading/unloading stations.
connections
Building connections.
note
General notes.
General infobox parameters
image up to image5
File name of image(s) (without "File:") to be displayed below main header and above main infobox content.
caption
Description for
image
, displayed below the image.name
Main title/"headline" of the infobox. By default, the name of the current page without any disambiguation suffixes (i.e. terms in brackets at the end) is used.
Example
{{Infobox building |name =Coal mine |image =Coal mine-toolbar.png |caption =Toolbar icon |image2 =Coal mine-screenshot.jpg |caption2 =Coal mine |options =yes |research = |storage_main_type =?? |storage_main_capacity =?? |workers =250 |workers_high_education = |building_lifespan =20 |machines_lifespan = |produces ={{Resource icon|Iron ore|4.0}} per worker |warehouse_export ={{Resource icon|Iron ore|20t}} |pollution =??? |electricity_production = |water_tank_import =?? |sewage_tank_import =?? |max_daily_waste =16.17 |garbage_per_worker =0.43 |garbage_per_customer =0.67 |waste_export ={{Resource icon|Mixed waste|86}} |consumes =?? |warehouse_import =?? |electricity consumption =11 MWh |circuit_breaker =187 kW |heat_water_tank =7 m3 |water_consumption =?? |water_minimum_quality = |water_tank_export =?? |water_tank =?? |sewage_tank =?? |sewage_tank_export =?? |work_days =3932 |material =[[#Construction|See below]] |steps =[[#Construction|See below]] |aux_storage_fuel = |parking_spots = |loading_unloading_stations =None |connections =2x Footpath access<br/>1x Road access<br/>1x Conveyor connection |note =Iron mines require conveyor belts to transport resources. }}
Copy/paste
{{Infobox building |name = |image = |caption = |image2 = |caption2 = |options = |research = |storage_main_type = |storage_main_capacity = |workers = |workers_high_education = |building_lifespan = |machines_lifespan = |produces = |warehouse_export = |pollution = |electricity_production = |water_tank_import = |sewage_tank_import = |max_daily_waste = |garbage_per_worker = |garbage_per_customer = |waste_export = |consumes = |warehouse_import = |electricity consumption = |circuit_breaker = |heat_water_tank = |water_consumption = |water_minimum_quality = |water_tank_export = |water_tank = |sewage_tank = |sewage_tank_export = |work_days = |material = |steps = |aux_storage_fuel = |parking_spots = |loading_unloading_stations = |connections = |note = }}