Template:Infobox construction: Difference between revisions

From The Last Starwiki
Jump to navigation Jump to search
(Created page with "{{Infobox | headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}} | above = {{{name}}} | imagestyle = text-align: center | captionstyle = text-align: center | image1 = {{#if: {{{image1|}}}|{{{image1}}}|}} | caption1 = {{#if: {{{caption1|}}}|{{{caption1}}}|}} | image2 = {{#if: {{{image2|}}}|{{{image2}}}|}} | caption2 = {{#if: {{{caption2|}}}|{{{caption2}}}|}} | label1 = {{#if: {{{base_cost|}}}|Base cost|}} | data1 = {{{base_cost|}}}...")
 
(Adds additional fields for mass and toughness)
 
(7 intermediate revisions by 2 users not shown)
Line 12: Line 12:
| label1    = {{#if: {{{base_cost|}}}|Base cost|}}
| label1    = {{#if: {{{base_cost|}}}|Base cost|}}
|  data1    = {{{base_cost|}}}
|  data1    = {{{base_cost|}}}
| label2    = {{#if: {{{mass|}}}|Mass|}}
|  data2    = {{{mass|}}}
| label3    = {{#if: {{{toughness|}}}|Toughness|}}
|  data3    = {{{toughness|}}}


}}
}}{{#if: {{{image1|}}}||<includeonly>[[Category:Missing sprites]]</includeonly>}}
{{#if: {{{image1|}}}||<includeonly>[[Category:Missing sprites]]</includeonly>}}

Latest revision as of 16:11, 24 February 2023

{{{name}}}