Difference between revisions of "Template:Infobox character"

From Petal Crashers Wiki

(Created page with "{{{!}} class="infobox" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em;" {{!}}+ class="infobox-title" style="text-size: 125%; text-ali...")
 
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
  +
<noinclude>
{{{!}} class="infobox" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em;"
 
  +
A template for character infoboxes.
{{!}}+ class="infobox-title" style="text-size: 125%; text-align: center;" {{!}} {{{title|{{PAGENAME}}}}}}
 
  +
</noinclude>
  +
{{{!}} class="infobox" style="float: right; width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; border-spacing: 0.5em; border-collapse: separate; border: 1px solid black;"
  +
{{!}}-
  +
{{!}} class="infobox-title" style="font-size: 125%; font-weight: bold; text-align: center;" colspan="2" {{!}} {{{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="text-align: center;" colspan="2" {{!}} [[File:{{{image}}}]]}}
  +
{{!}}-
{{#if:{{{label1|}}}|{{#if:{{{data1|}}}|
 
  +
{{!}} Sacred Blossom
  +
{{!}} {{{sacredblossom|}}}
  +
{{!}}-
  +
{{!}} Type
  +
{{!}} {{{type|}}}
 
{{!}}-
 
{{!}}-
  +
{{!}} Gender
{{{label1}}}{{!}}{{{data1}}}}}}}
 
{{#if:{{{label2|}}}|{{#if:{{{data2|}}}|
+
{{!}} {{{gender|}}}
 
{{!}}-
 
{{!}}-
  +
{{!}} Likes
{{{label2}}}{{!}}{{{data2}}}}}}}
 
{{#if:{{{label3|}}}|{{#if:{{{data3|}}}|
+
{{!}} {{{likes|}}}
 
{{!}}-
 
{{!}}-
  +
{{!}} Dislikes
{{{label3}}}{{!}}{{{data3}}}}}}}
 
{{#if:{{{label4|}}}|{{#if:{{{data4|}}}|
+
{{!}} {{{dislikes|}}}
 
{{!}}-
 
{{!}}-
  +
{{!}} Occupation
{{{label4}}}{{!}}{{{data4}}}}}}}
 
{{#if:{{{label5|}}}|{{#if:{{{data5|}}}|
+
{{!}} {{{occupation|}}}
 
{{!}}-
 
{{!}}-
  +
{{!}} Theme
{{{label5}}}{{!}}{{{data5}}}}}}}
 
  +
{{!}} {{{theme|}}}
 
{{!}}}
 
{{!}}}

Latest revision as of 00:04, 18 January 2021

A template for character infoboxes.

Infobox character
Sacred Blossom
Type
Gender
Likes
Dislikes
Occupation
Theme