Template:Infobox machine: Difference between revisions
From Captain of Industry Wiki
Thadius856 (talk | contribs) import throughput parameter from Template:Infobox transport |
Thadius856 (talk | contribs) add auto-cat for missing designation |
||
| Line 20: | Line 20: | ||
-->{{#if: {{{Description|}}} | <!-- | -->{{#if: {{{Description|}}} | <!-- | ||
--><div class="description">''“{{{Description}}}”''</div> |<!-- | --><div class="description">''“{{{Description}}}”''</div> |<!-- | ||
-->{{#if: {{NAMESPACE}} || [[Category:Machine articles missing descriptions]]}}<!-- | -->{{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing descriptions]] }} }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->[[File:{{#if: {{{Image|}}} | {{{Image}}} | {{#if: {{{Name|}}} | {{{Name}}} | Placeholder machine}}.png}}]]<br/><!-- | -->[[File:{{#if: {{{Image|}}} | {{{Image}}} | {{#if: {{{Name|}}} | {{{Name}}} | Placeholder machine}}.png}}]]<br/><!-- | ||
| Line 42: | Line 42: | ||
--></td><!-- | --></td><!-- | ||
--></tr>|<!-- | --></tr>|<!-- | ||
-->{{#if: {{NAMESPACE}} || [[Category:Machine articles missing workers]]}}<!-- | -->{{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing workers]] }} }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{Electricity|}}}|<!-- | -->{{#if:{{{Electricity|}}}|<!-- | ||
| Line 54: | Line 54: | ||
--></td><!-- | --></td><!-- | ||
--></tr>|<!-- | --></tr>|<!-- | ||
-->{{#if: {{NAMESPACE}} || [[Category:Machine articles missing electricity]]}}<!-- | -->{{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing electricity]] }} }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{Maintenance|}}}|<!-- | -->{{#if:{{{Maintenance|}}}|<!-- | ||
| Line 80: | Line 80: | ||
--></td><!-- | --></td><!-- | ||
--></tr>|<!-- | --></tr>|<!-- | ||
-->{{#if: {{NAMESPACE}} || [[Category:Machine articles missing maintenance]]}}<!-- | -->{{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing maintenance]] }} }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{Footprint|}}}|<!-- | -->{{#if:{{{Footprint|}}}|<!-- | ||
| Line 87: | Line 87: | ||
--><td class="table-td-right">{{{Footprint}}}</td><!-- | --><td class="table-td-right">{{{Footprint}}}</td><!-- | ||
--></tr>|<!-- | --></tr>|<!-- | ||
-->{{#if: {{NAMESPACE}} || [[Category:Machine articles missing footprint]]}}<!-- | -->{{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing footprint]] }} }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{Cargo|}}}|<!-- | -->{{#if:{{{Cargo|}}}|<!-- | ||
| Line 123: | Line 123: | ||
--> [[File:{{{Designation}}}.png{{!}}16x16px{{!}}link=Category:{{{Designation|}}}]]<!-- | --> [[File:{{{Designation}}}.png{{!}}16x16px{{!}}link=Category:{{{Designation|}}}]]<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></tr>}}<!-- | --></tr>|<!-- | ||
-->{{#if: {{NAMESPACE}} || [[Category:Machine articles missing designation]] }} }}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{Variants|}}}|<!-- | -->{{#if:{{{Variants|}}}|<!-- | ||
--><tr class="table-tr"><!-- | --><tr class="table-tr"><!-- | ||
Revision as of 19:30, 20 January 2022
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
}}
| Construction | |
| Workers | |
| Electricity | |
| Maintenance | |
| Footprint | 6x4 |
| Cargo | Water |
| Storage | 5000 |
| Required Research | Cement Production or Basic Desalination |
| Designation | Category:Production |
| Variants | Blast Furnace II |
{{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 = <!-- only used if needed to override the automatic 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.)
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.)
