Difference between revisions of "Template:Infobox character"

From Petal Crashers Wiki

Line 6: Line 6:
 
{{!}} class="infobox-title" style="font-size: 125%; font-weight: bold; text-align: center;" {{!}} {{{title|{{PAGENAME}}}}}
 
{{!}} class="infobox-title" style="font-size: 125%; font-weight: bold; text-align: center;" {{!}} {{{title|{{PAGENAME}}}}}
 
{{#if:{{{image|}}}|{{!}}-
 
{{#if:{{{image|}}}|{{!}}-
{{!}} class="infobox-image" style="display: block; margin-left: auto; margin-right: auto;" {{!}} [[File:{{{image}}}|300px]]}}
+
{{!}} class="infobox-image" style="display: block; margin-left: auto; margin-right: auto;" {{!}} [[File:{{{image}}}]]}}
 
{{#if:{{{label1|}}}|{{#if:{{{data1|}}}|
 
{{#if:{{{label1|}}}|{{#if:{{{data1|}}}|
 
{{!}}-
 
{{!}}-
{{!}} {{{label1}}} {{!}} {{{data1}}}}}}}
+
{{!}} {{{label1}}} {{!}}{{!}} {{{data1}}}}}}}
 
{{#if:{{{label2|}}}|{{#if:{{{data2|}}}|
 
{{#if:{{{label2|}}}|{{#if:{{{data2|}}}|
 
{{!}}-
 
{{!}}-
{{!}} {{{label2}}} {{!}} {{{data2}}}}}}}
+
{{!}} {{{label2}}} {{!}}{{!}} {{{data2}}}}}}}
 
{{#if:{{{label3|}}}|{{#if:{{{data3|}}}|
 
{{#if:{{{label3|}}}|{{#if:{{{data3|}}}|
 
{{!}}-
 
{{!}}-
{{!}} {{{label3}}} {{!}} {{{data3}}}}}}}
+
{{!}} {{{label3}}} {{!}}{{!}} {{{data3}}}}}}}
 
{{#if:{{{label4|}}}|{{#if:{{{data4|}}}|
 
{{#if:{{{label4|}}}|{{#if:{{{data4|}}}|
 
{{!}}-
 
{{!}}-
{{!}} {{{label4}}} {{!}} {{{data4}}}}}}}
+
{{!}} {{{label4}}} {{!}}{{!}} {{{data4}}}}}}}
 
{{#if:{{{label5|}}}|{{#if:{{{data5|}}}|
 
{{#if:{{{label5|}}}|{{#if:{{{data5|}}}|
 
{{!}}-
 
{{!}}-
{{!}} {{{label5}}} {{!}} {{{data5}}}}}}}
+
{{!}} {{{label5}}} {{!}}{{!}} {{{data5}}}}}}}
  +
{{#if:{{{label6|}}}|{{#if:{{{data6|}}}|
  +
{{!}}-
  +
{{!}} {{{label6}}} {{!}}{{!}} {{{data6}}}}}}}
 
{{!}}}
 
{{!}}}

Revision as of 14:48, 1 November 2020

A template for infoboxes.

Infobox character