Template:Infobox object: Difference between revisions

285 bytes added ,  12:27, 24 July 2022
m
Fix optional inputs
(Create template)
 
m (Fix optional inputs)
Line 5: Line 5:
| imagestyle = text-align: center
| imagestyle = text-align: center
| captionstyle = text-align: center
| captionstyle = text-align: center
| image1    = {{{image1}}}
| image1    = {{#if: {{{image1|}}}|{{{image1}}}|}}
| caption1  = {{{caption1}}}
| caption1  = {{#if: {{{caption1|}}}|{{{caption1}}}|}}
| image2    = {{{image2}}}
| image2    = {{#if: {{{image2|}}}|{{{image2}}}|}}
| caption2  = {{{caption2}}}
| caption2  = {{#if: {{{caption2|}}}|{{{caption2}}}|}}


| label1    = Grid size
| label1    = {{#if: {{{grid_size|}}}|Grid size|}}
|  data1    = {{{grid_size}}}
|  data1    = {{{grid_size}}}


| label2    = Base cost
| label2    = {{#if: {{{base_cost|}}}|Base cost|}}
|  data2    = {{{base_cost}}}
|  data2    = {{{base_cost}}}


| label3    = Fuel consumption
| label3    = {{#if: {{{fuel_consumption|}}}|Fuel consumption|}}
|  data3    = {{{fuel_consumption}}}
|  data3    = {{{fuel_consumption}}}


| label4    = Power consumption
| label4    = {{#if: {{{power_consumption|}}}|Power consumption|}}
|  data4    = {{{power_consumption}}}
|  data4    = {{{power_consumption}}}


| label5    = Inputs
| label5    = {{#if: {{{inputs|}}}|Inputs|}}Inputs
|  data5    = {{{inputs}}}
|  data5    = {{{inputs}}}


| label6    = Outputs
| label6    = {{#if: {{{outputs|}}}|Outputs|}}Outputs
|  data6    = {{{outputs}}}
|  data6    = {{{outputs}}}
}}
}}