Template:Infobox machine/doc: Difference between revisions

From TwentyOneWiki
Jump to navigation Jump to search
Template:Infobox machine/doc>NaK
m (Add Research2 and 3 to Example and Template)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 22:12, 7 February 2024

{{#vardefineecho:info_bldg|Groundwater Pump}}{{#vardefine:hidebldg|yes}}{{#vardefine:game_object_type|building}}
T1
File:Groundwater Pump.png
In-game building description goes here. The template will handle even very long text gracefully.
ConstructionTemplate:Machine Recipe
Workers 10
ElectricityFile:Electricity.png 20 KW
UnityFile:Unity.png +1.00 /month
MaintenanceFile:Maintenance I.png 5.0 / 60 
Footprint6x4
CargoWater
Storage5000
Required ResearchTemplate:ResearchLink
or Template:ResearchLink
Boost by UnityAvailable
DesignationGeneral Machines File:Fuel Gas.png
VariantsBlast Furnace II

Example usage:

{{Infobox machine
| Name          = Groundwater Pump
| Tier          = 1
| Image         = 
| Description   = In-game building description goes here. The template will handle even very long text gracefully.
| Recipe        = 
  {{Machine Recipe
    | Input1Name  = Construction Parts
    | Input1Qty   = 12
    | Input2Name  = Iron
    | Input2Qty   = 12
    }}
| Workers       = 10
| Electricity   = 20 KW
| Maintenance   = 5
| Footprint     = 6x4
| Research      = Cement Production <!-- What tech is required for this building to be unlocked -->
| Research2     = Basic Desalination <!-- Accepts at most 3 researches -->
| Cargo         = [[Water]]
| Storage       = 5000
| BoostByUnity  = yes
| Designation   = General Machines
| DesigImgOverride = Fuel Gas.png <!-- only used if needed to override the automatic image -->
| Variants      = [[Blast Furnace II]]
}}

Blank template:

{{Infobox machine
| Name          = 
| Tier          = 
| Image         = 
| Description   = 
| Recipe        = 
  {{Machine Recipe
    | Input1Name  = 
    | Input1Qty   = 
    | Input2Name  = 
    | Input2Qty   = 
    }}
| Workers       = 
| Electricity   = 
| Maintenance   = 
| ResearchSpeed = 
| Footprint     = 
| Research      = 
| Research2     = 
| Research3     = 
| Cargo         = 
| Storage       = 
| BoostByUnity  = 
| Designation   = 
| DesigImgOverride = <!-- only used if needed to override the automatic image -->
| Variants      = 
}}