Template:Infobox object: Difference between revisions

From The Last Starwiki
Jump to navigation Jump to search
m (Fix optional inputs)
(Categorize if a sprite is missing.)
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(10 intermediate revisions by the same user not shown)
Line 11: Line 11:


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


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


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


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


| label5    = {{#if: {{{inputs|}}}|Inputs|}}Inputs
| label5    = {{#if: {{{power_category|}}}|Power category|}}
|  data5    = {{{inputs}}}
|  data5    = {{{power_category|}}}


| label6    = {{#if: {{{outputs|}}}|Outputs|}}Outputs
| label6   = {{#if: {{{inputs|}}}|Inputs|}}
data6   = {{{outputs}}}
|  data6    = {{{inputs|}}}
}}
 
| label7   = {{#if: {{{outputs|}}}|Outputs|}}
data7   = {{{outputs|}}}
}}{{#if: {{{power_category|}}}|{{#if: {{{power_consumption|}}}||<includeonly>[[Category:Unknown power consumption]]</includeonly>|}}}}{{#if: {{{power_category|}}}|<includeonly>[[Category:Powergrid {{{power_category}}}]]</includeonly>|}}{{#if: {{{image1|}}}||<includeonly>[[Category:Missing sprites]]</includeonly>}}

Latest revision as of 22:47, 5 September 2022

{{{name}}}