Template:Infobox machine: Difference between revisions

From Captain of Industry Wiki
Jump to: navigation, search
NaK (talk | contribs)
Add 3 categories: Buildings requesting Maintenance I, II, and III
NaK (talk | contribs)
m Rename some categories
 
Line 189: Line 189:
             --><td class="table-td-right"><!--
             --><td class="table-td-right"><!--
               -->{{ #ifeq: {{{BoostByUnity}}} | yes <!--
               -->{{ #ifeq: {{{BoostByUnity}}} | yes <!--
                 --> | Available {{#if: {{NAMESPACE}} || [[Category:Boostable Building]]}} | <!--
                 --> | Available {{#if: {{NAMESPACE}} || [[Category:Boostable Buildings]]}} | <!--
                 --> {{ #ifeq: {{{BoostByUnity}}} | no <!--
                 --> {{ #ifeq: {{{BoostByUnity}}} | no <!--
                   --> | Not Available {{#if: {{NAMESPACE}} || [[Category:Unboostable Building]]}} <!--
                   --> | Not Available {{#if: {{NAMESPACE}} || [[Category:Unboostable Buildings]]}} <!--
                   --> | <font color="red">'''ERROR: Input "yes" or "no"'''</font> <!--
                   --> | <font color="red">'''ERROR: Input "yes" or "no"'''</font> <!--
                 -->}}<!--
                 -->}}<!--

Latest revision as of 01:23, 31 May 2023

Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Groundwater Pump
T1

In-game building description goes here. The template will handle even very long text gracefully.
Construction
12
+
12
Workers 10
Electricity 20 KW
Unity +1.00 /month
Maintenance 5.0 / 60 
Footprint6x4
CargoWater
Storage5000
Required ResearchCement Production
or Basic Desalination
Boost by UnityAvailable
DesignationGeneral Machines 
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      = 
}}
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.)