Template:Building List

From Oxygen Not Included Wiki
Jump to navigation Jump to search
This template uses the Cargo extension.
This template uses Extension:Cargo, an integral part of the wiki's back-end.
  • This template queries the table "Buildings". View table.
Template-info.svg Documentation Edit this documentation at Template:Building_List/doc.

This template helps querying the Buildings Cargo table and formatting the result. Read about the Cargo extension in detail on the Gamepedia Help Wiki.

The queried fields' name should be supplied as anonymous parameters. Valid field names are stored by Template:Infobox Building. There are a special values that combine the base fields. These are:

| nameAndImage | descriptionAndFlavor | dimensions | decorAndRadius | piping | ventilation | input | output | IO | autoIn | autoOut | auto | materials

Additional combinations and special formatting for the default fields should be added as needed in Template:Building List/FieldFormat. (Meaning this template is not complete.)

Named Parameters

| where= Selector criteria. Corresponds to the cargoQuery parameter of the same name.

| orderBy= Sort by this field. Corresponds to the order by= cargoQuery parameter.

To-do

  • Combined output accepts for reqires, storage, power (if negative), input and autoIn.
  • Combined output emits for effects, power (if positive), heat, noise, decorAndRadius, output and autoOut.

Example

{{Building List|nameAndImage|descriptionAndFlavor|research|requires|effects|power
|where=category="Oxygen"
|orderBy=name
}}
Name Description Research Requires Effects Power
Consumes Algae to produce Oxygen and remove some Carbon Dioxide.
Gains a 10% efficiency boost in direct Light.
Algae colony, Duplicant colony... We're more alike than we are different.
Basic Farming Algae: -30 g/s
Water: -300 g/s
Oxygen: 40 g/s @ 30 °C+
(44 g/s in Light)
Carbon Dioxide: -333.33 mg/s
Polluted Water: 290.33 g/s @ 30 °C+
Uses Water to filter Carbon Dioxide from the air.
Carbon skimmers remove large amounts of carbon dioxide, but produce no breathable air.
Decontamination Water: -1,000 g/s
Carbon Dioxide: -300 g/s
Polluted Water: +1,000 g/s
-120 W
Uses Sand to filter Polluted Oxygen from the air, reducing Disease spread.
Oh! Citrus scented!
Decontamination Filtration Medium: -133.33 g/s
Polluted Oxygen: -100.0 g/s
Clay: +143.33 g/s
Oxygen: +90.0 g/s
-5 W
Converts Water into Oxygen and Hydrogen.
Becomes idle when the area reaches maximum pressure capacity.
Water goes in one end, life sustaining oxygen comes out the other.
Air Systems Water: -1000 g/s Oxygen: +888 g/s @ 70+ °C
Hydrogen: +112 g/s @ 70+ °C
-120 W
Converts large amounts of Algae into Oxygen.
Becomes idle when the area reaches maximum pressure capacity.
Oxygen diffusers are inefficient, but output enough oxygen to keep a colony breathing.
Algae: -550 g/s Oxygen: +500 g/s @30+ °C
-120 W
Stores a small chunk of Oxylite which gradually releases Oxygen into the environment.
Sconces prevent diffused oxygen from being wasted inside storage bins.
Portable Gases '"`UNIQ--templatestyles-00000002-QINU`"'Oxylite Storage Capacity: 240 kg
Oxygen: 350g/s (average from the Oxylite)
Converts Rust into Oxygen and Chlorine.
Becomes idle when the area reaches maximum pressure capacity.
Rust and salt goes in, oxygen comes out.
Air Systems Rust: -750 g/s
Salt: -250 g/s
Oxygen: +570 g/s @ 75+ °C
Chlorine: +30 g/s @ 75+ °C
Iron Ore: +400 g/s @ 75+ °C
-60 W
Speeds up the conversion of Polluted Dirt into Polluted Oxygen.
Sublimination is the sublime process by which solids convert into gas.
Polluted Dirt: -1000 g/s Polluted Oxygen: 660 g/s
-60 W