Difference between pages "Template:Infobox machine" and "Template:Infobox machine/sandbox"
(Difference between pages)
m (Rename some categories) |
(Added new row: "Boost by Unity") |
||
Line 2: | Line 2: | ||
--><div class="infobox-wrapper"><!-- | --><div class="infobox-wrapper"><!-- | ||
--><div class="outer-box"><!-- | --><div class="outer-box"><!-- | ||
--><div class="inner-header"><!-- | --><div class="inner-header"><!-- | ||
--><div class="designation"><!-- | --><div class="designation"><!-- | ||
Line 14: | Line 13: | ||
--></div><!-- | --></div><!-- | ||
--><div class="title"><!-- | --><div class="title"><!-- | ||
-->{{#if: {{{Name|}}} | -->{{#if: {{{Name|}}} | {{#vardefineecho:info_bldg|{{{Name}}}}}{{#vardefine:hidebldg|yes}} | Unknown Machine }}<!-- | ||
--></div><!-- | --></div><!-- | ||
--><div class="tier"><!-- | --><div class="tier"><!-- | ||
Line 25: | Line 19: | ||
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
--><div class="inner-main"><!-- | --><div class="inner-main"><!-- | ||
-->[[File:{{#if: {{{Image|}}} | {{{Image}}} | {{#if: {{{Name|}}} | {{{Name}}} | Placeholder machine}}.png}}]]<br/><!-- | -->[[File:{{#if: {{{Image|}}} | {{{Image}}} | {{#if: {{{Name|}}} | {{{Name}}} | Placeholder machine}}.png}}]]<br/><!-- | ||
-->{{#if: {{{Description|}}} | {{#ifeq: {{lc:{{{Description}}}}} | none | | -->{{#if: {{{Description|}}} | {{#ifeq: {{lc:{{{Description}}}}} | none | |<!-- | ||
--><div class="description">{{{Description}}}</div> |<!-- | --><div class="description">{{{Description}}}</div> |<!-- | ||
-->{{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing descriptions]] }} }}<!-- | -->{{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing descriptions]] }} }}<!-- | ||
-->}}}}<!-- | -->}} }}<!-- | ||
--></div><!-- | --></div><!-- | ||
--><div class="inner-table"><!-- | --><div class="inner-table"><!-- | ||
--><div class="inner-inner-table"><!-- | --><div class="inner-inner-table"><!-- | ||
--><table class="table"><!-- | --><table class="table"><!-- | ||
-->{{#if:{{{Recipe|}}}|<!-- | -->{{#if:{{{Recipe|}}}|<!-- | ||
--><tr class="table-tr"><!-- | --><tr class="table-tr"><!-- | ||
Line 46: | Line 34: | ||
--><td class="table-td-right">{{{Recipe}}}</td><!-- | --><td class="table-td-right">{{{Recipe}}}</td><!-- | ||
--></tr>}}<!-- | --></tr>}}<!-- | ||
-->{{#if:{{{Workers|}}}|<!-- | -->{{#if:{{{Workers|}}}|<!-- | ||
--><tr class="table-tr"><!-- | --><tr class="table-tr"><!-- | ||
Line 90: | Line 75: | ||
--></tr><!-- | --></tr><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{ResearchSpeed|}}}|<!-- | -->{{#if:{{{ResearchSpeed|}}}|<!-- | ||
--><tr class="table-tr"><!-- | --><tr class="table-tr"><!-- | ||
Line 98: | Line 81: | ||
--></tr><!-- | --></tr><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{Maintenance|}}}|<!-- | -->{{#if:{{{Maintenance|}}}|<!-- | ||
--><tr class="table-tr"><!-- | --><tr class="table-tr"><!-- | ||
Line 110: | Line 91: | ||
** Note, this is a hacky way to get around the Mediawiki ParserFunctions's limitation of being unable to format numbers as fixed-length floats ** | ** Note, this is a hacky way to get around the Mediawiki ParserFunctions's limitation of being unable to format numbers as fixed-length floats ** | ||
--> / 60 [[File:Clock.png|link=Time|16x16px]]<!-- | --> / 60 [[File:Clock.png|link=Time|16x16px]]<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></td><!-- | --></td><!-- | ||
Line 125: | Line 105: | ||
** Note, this is a hacky way to get around the Mediawiki ParserFunctions's limitation of being unable to format numbers as fixed-length floats ** | ** Note, this is a hacky way to get around the Mediawiki ParserFunctions's limitation of being unable to format numbers as fixed-length floats ** | ||
--> / 60 [[File:Clock.png|link=Time|16x16px]]<!-- | --> / 60 [[File:Clock.png|link=Time|16x16px]]<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></td><!-- | --></td><!-- | ||
Line 140: | Line 119: | ||
** Note, this is a hacky way to get around the Mediawiki ParserFunctions's limitation of being unable to format numbers as fixed-length floats ** | ** Note, this is a hacky way to get around the Mediawiki ParserFunctions's limitation of being unable to format numbers as fixed-length floats ** | ||
--> / 60 [[File:Clock.png|link=Time|16x16px]]<!-- | --> / 60 [[File:Clock.png|link=Time|16x16px]]<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></td><!-- | --></td><!-- | ||
Line 146: | Line 124: | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if: {{{Maintenance}}}{{{MaintenanceII}}}{{{MaintenanceIII}}} || {{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing maintenance]] }} }} }}<!-- | -->{{#if: {{{Maintenance}}}{{{MaintenanceII}}}{{{MaintenanceIII}}} || {{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing maintenance]] }} }} }}<!-- | ||
-->{{#if:{{{Footprint|}}}|<!-- | -->{{#if:{{{Footprint|}}}|<!-- | ||
--><tr class="table-tr"><!-- | --><tr class="table-tr"><!-- | ||
Line 156: | Line 132: | ||
-->{{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing footprint]] }} }}<!-- | -->{{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing footprint]] }} }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{Cargo|}}}|<!-- | -->{{#if:{{{Cargo|}}}|<!-- | ||
--><tr class="table-tr"><!-- | --><tr class="table-tr"><!-- | ||
Line 172: | Line 146: | ||
--><td class="table-td-left">Throughput</td><!-- | --><td class="table-td-left">Throughput</td><!-- | ||
--><td class="table-td-right">{{{Throughput}}} / 60 [[File:Clock.png|link=Time|16x16px]]</td><!-- | --><td class="table-td-right">{{{Throughput}}} / 60 [[File:Clock.png|link=Time|16x16px]]</td><!-- | ||
--></tr>}}<!-- | --></tr>}}<!-- | ||
-->{{#if:{{{Research|}}}|<!-- | -->{{#if:{{{Research|}}}|<!-- | ||
--><tr class="table-tr"><!-- | --><tr class="table-tr"><!-- | ||
--><td class="table-td-left">Required Research</td><!-- | --><td class="table-td-left">Required Research</td><!-- | ||
--><td class="table-td-right"><!-- | --><td class="table-td-right"><!-- | ||
-->{{#ifeq: {{lc:{{{Research}}}}} | none | None | | -->{{#ifeq: {{lc:{{{Research}}}}} | none | None | [[{{{Research}}}]] }}<!-- | ||
-->{{#if:{{{Research2|}}} | <br/>''or'' | -->{{#if:{{{Research2|}}} | <br/>''or'' [[{{{Research2}}}]] }}<!-- | ||
-->{{#if:{{{Research3|}}} | <br/>''or'' | -->{{#if:{{{Research3|}}} | <br/>''or'' [[{{{Research3}}}]] }}<!-- | ||
--></td><!-- | --></td><!-- | ||
--></tr> | [[Category:Machine articles missing research]] }}<!-- | --></tr> | [[Category:Machine articles missing research]] }}<!-- | ||
Line 189: | Line 161: | ||
--><td class="table-td-right"><!-- | --><td class="table-td-right"><!-- | ||
-->{{ #ifeq: {{{BoostByUnity}}} | yes <!-- | -->{{ #ifeq: {{{BoostByUnity}}} | yes <!-- | ||
--> | Available | --> | Available [[Category:Boostable Building]] | <!-- | ||
--> {{ #ifeq: {{{BoostByUnity}}} | no <!-- | --> {{ #ifeq: {{{BoostByUnity}}} | no <!-- | ||
--> | Not Available | --> | Not Available [[Category:Unboostable Building]]<!-- | ||
--> | <font color="red">'''ERROR: Input "yes" or "no"'''</font> <!-- | --> | <font color="red">'''ERROR: Input "yes" or "no"'''</font> <!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 197: | Line 169: | ||
--></td><!-- | --></td><!-- | ||
--></tr>}}<!-- | --></tr>}}<!-- | ||
-->{{#if:{{{Designation|}}}|<!-- | -->{{#if:{{{Designation|}}}|<!-- | ||
--><tr class="table-tr"><!-- | --><tr class="table-tr"><!-- | ||
Line 222: | Line 192: | ||
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
--></includeonly><noinclude>{{ | --></includeonly><noinclude> | ||
{{Infobox machine/sandbox | |||
| 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 --> | |||
| 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]] | |||
}} | |||
</noinclude> |