Difference between revisions of "Template:Infobox machine/doc"
From Captain of Industry Wiki
ABravePanda (talk | contribs) |
m (Add Research2 and 3 to Example and Template) |
||
(23 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox machine | {{Infobox machine | ||
| Name = Groundwater Pump | | Name = Groundwater Pump | ||
| Tier = 1 | |||
| Image = | | Image = | ||
| Description = | | 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 | | Workers = 10 | ||
| Electricity = 20 | | Electricity = 20 KW | ||
| Unity = +1.00 | |||
| Maintenance = 5 | | Maintenance = 5 | ||
| Footprint = 6x4 | |||
| Research = Cement Production | |||
| Research2 = Basic Desalination <!-- Accepts at most 3 researches --> | |||
| Cargo = [[Water]] | |||
| Storage = 5000 | |||
| BoostByUnity = yes | |||
| Designation = General Machines | | Designation = General Machines | ||
| DesigImgOverride = Fuel Gas.png <!-- only used if needed to override the automatic image --> | |||
| Variants = [[Blast Furnace II]] | |||
}} | }} | ||
Example usage:<pre> | Example usage:<pre> | ||
{{Infobox machine | {{Infobox machine | ||
| Name = Groundwater Pump | | Name = Groundwater Pump | ||
| Tier = 1 | |||
| Image = | | Image = | ||
| Description = | | 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 | | Workers = 10 | ||
| Electricity = 20 | | Electricity = 20 KW | ||
| Maintenance = 5 | | 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 | | Designation = General Machines | ||
| DesigImgOverride = Fuel Gas.png <!-- only used if needed to override the automatic image --> | |||
| Variants = [[Blast Furnace II]] | |||
}} | |||
</pre> | |||
Blank template: | |||
<pre> | |||
{{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 = | |||
}} | }} | ||
</pre> | </pre> | ||
<includeonly>[[Category:Infobox templates|Material]]</includeonly><!-- | <includeonly>[[Category:Infobox templates|Material]]</includeonly><!-- | ||
--><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | --><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 14:06, 1 April 2023
Construction | |
Workers | 10 |
Electricity | 20 KW |
Unity | +1.00 /month |
Maintenance | 5.0 / 60 |
Footprint | 6x4 |
Cargo | Water |
Storage | 5000 |
Required Research | Cement Production or Basic Desalination |
Boost by Unity | Available |
Designation | General Machines |
Variants | Blast 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 = }}