Difference between revisions of "Template:Infobox machine"

From Captain of Industry Wiki
Jump to: navigation, search
(Created page with "<includeonly><!-- --><div style="float:right; clear: right;"><!-- --><div style="display:inline-block; min-width: 250px; max-width: 350px; border: 3px solid rgba(252,162,58,1); border-radius: 15px; margin:10px; font-size:14px; background-color: rgba(46,46,46,1);"><!-- --><div style="width: 100%; vertical-align: middle; text-align: center; background-color: rgba(0,0,0,1); font-size: 20px; color: rgba(252,162,58,1); text-shadow: 0 0 10px rgba(255,162,58,.7); font-family:...")
 
Line 17: Line 17:
           --><tr style="border-top: 1px solid white; vertical-align: top;"><!--
           --><tr style="border-top: 1px solid white; vertical-align: top;"><!--
             --><td style="text-align: right; font-weight: bold; padding: 5px 5px 5px 0;">Workers</td><!--
             --><td style="text-align: right; font-weight: bold; padding: 5px 5px 5px 0;">Workers</td><!--
             --><td style="padding: 5px 0 5px 5px;">{{{Workers}}}</td><!--
             --><td style="padding: 5px 0 5px 5px;">{{{Workers}}} [[File:Worker.png|14px]]</td><!--
           --></tr>}}<!--
           --></tr>}}<!--
         -->{{#if:{{{Electricity|}}}|<!--
         -->{{#if:{{{Electricity|}}}|<!--

Revision as of 02:49, 13 January 2022

Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Groundwater Pump
“In-game building description goes here. The template will handle even very long text gracefully.”
Groundwater Pump.png
Workers10 Worker.png
Electricity20 KW Electricity.png
Maintenance5 / 60 🕓
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      = 
}}
The above text is transcluded from Template:Infobox machine/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Please add categories and interwikis to Template:Infobox machine/doc. (View all subpages of this page.)