Template:Infobox building: Difference between revisions

From Workers & Resources: Soviet Republic Official Wiki
m (1 revision imported)
m (infobox fix)
Line 1: Line 1:
<onlyinclude><infobox theme="typedtab">
<onlyinclude><infobox>
<title source="name"><default>{{PAGENAME}}</default></title>
<title source="name"><default>{{PAGENAME}}</default></title>
<panel name="images">
<panel name="images">

Revision as of 23:01, 14 June 2024

Template documentation (for the template shown above, sometimes hidden or invisible)

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

Neutral
options
Game options required to build this building.
Neutral
research
Researches required to build this building.
Neutral
storage_main_type
R
Neutral
storage_main_capacity
R
Neutral
workers
Maximum ammount of workers in this building.
Neutral
workers_high_education
Maximum ammount of workers with high education.
Neutral
building_lifespan
R
Neutral
machines_lifespan
R
Neutral
produces
R
Neutral
warehouse_export
R
Neutral
pollution
R
Neutral
electricity_production
R
Neutral
water_tank_import
R
Neutral
sewage_tank_import
R
Neutral
max_daily_waste
R
Neutral
garbage_per_worker
R
Neutral
waste_export
R
Neutral
consumes
Resources consumed during working time.
Neutral
warehouse_import
R
Neutral
electricity consumption
R
Neutral
circuit_breaker
R
Neutral
heat_water_tank
R
Neutral
water_consumption
R
Neutral
water_minimum_quality
R
Neutral
water_tank_export
R
Neutral
water_tank
R
Neutral
sewage_tank
R
Neutral
sewage_tank_export
R
Neutral
work_days
R
Neutral
material
R
Neutral
steps
R
Neutral
aux_storage_fuel
R
Neutral
parking_spots
Internal parking spots.
Neutral
loading_unloading_stations
Vehicle loading/unloading stations.
Neutral
connections
Building connections.
Neutral
note
General notes.

General infobox parameters

Neutral
image up to image5
File name of image(s) (without "File:") to be displayed below main header and above main infobox content.
Neutral
caption
Description for image, displayed below the image.
Neutral
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                       =
}}
Documentation transcluded from Template:Infobox building/doc.