Template:Infobox object: Difference between revisions

From The Last Starwiki
Jump to navigation Jump to search
(Create template)
 
(Categorize if a sprite is missing.)
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(11 intermediate revisions by the same user not shown)
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: {{{power_category|}}}|Power category|}}
|  data5    = {{{inputs}}}
|  data5    = {{{power_category|}}}


| label6    = 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}}}