Difference between revisions of "Template:Infobox machine/doc"

From Captain of Industry Wiki
Jump to: navigation, search
(update example of {{{Description}}})
m (whitespace)
Line 5: Line 5:
| Description  = In-game building description goes here. The template will handle even very long text gracefully.
| Description  = In-game building description goes here. The template will handle even very long text gracefully.
| Recipe        =  
| Recipe        =  
      {{Machine Recipe
  {{Machine Recipe
      | Input1Name  = Construction Material I
    | Input1Name  = Construction Material I
      | Input1Qty  = 12
    | Input1Qty  = 12
      | Input2Name  = Iron
    | Input2Name  = Iron
      | Input2Qty  = 12
    | Input2Qty  = 12
      }}
    }}
| Workers      = 10
| Workers      = 10
| Electricity  = 20 KW
| Electricity  = 20 KW
Line 29: Line 29:
| Description  = In-game building description goes here. The template will handle even very long text gracefully.
| Description  = In-game building description goes here. The template will handle even very long text gracefully.
| Recipe        =  
| Recipe        =  
      {{Machine Recipe
  {{Machine Recipe
      | Input1Name  = Construction material i
    | Input1Name  = Construction Material I
      | Input1Qty  = 12
    | Input1Qty  = 12
      | Input2Name  = Iron
    | Input2Name  = Iron
      | Input2Qty  = 12
    | Input2Qty  = 12
      }}
    }}
| Workers      = 10
| Workers      = 10
| Electricity  = 20 KW
| Electricity  = 20 KW

Revision as of 13:31, 16 January 2022

Fuel Gas.png
Groundwater Pump
T1
Groundwater Pump.png
In-game building description goes here. The template will handle even very long text gracefully.
Construction
Construction Material I.png
12
+
Iron.png
12
WorkersWorker.png 10
ElectricityElectricity.png 20 KW
MaintenanceMaintenance I.png 5.0 / 60 Clock.png
Footprint6x4
CargoWater
Storage5000
Required ResearchCement Production
DesignationGeneral Machines 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 Material I
    | 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 -->
| Cargo         = [[Water]]
| Storage       = 5000
| Designation   = General Machines
| DesigImgOverride = Fuel Gas.png <!-- only used if needed to override the automatic image -->
| Variants      = [[Blast Furnace II]]
}}