Template:Item infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
m (Removing custom colors. Centering description.)
Line 1: Line 1:
{| class="infobox" cellpadding=2 cellspacing=2 align=right width=250px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: {{{mainbg|whitesmoke}}}; border:1px solid darkgray; color:black"
{| class="infobox" cellpadding=2 cellspacing=2 align=right width=250px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: whitesmoke; border:1px solid darkgray; color:black"
| align="center" colspan="2" bgcolor="{{{titlebg|silver}}}" style="font-size:145%;" | '''{{{title|{{PAGENAME}}}}}'''
| align="center" colspan="2" bgcolor="silver" style="font-size:145%;" | '''{{{title|{{PAGENAME}}}}}'''
|-
|-
|align="center" colspan="2" | {{{image|}}}
|align="center" colspan="2" | {{{image|}}}
|- style="vertical-align:top"
|- style="vertical-align:top"
! colspan=2 bgcolor={{{bg|gainsboro}}}|Description
! colspan=2 bgcolor=gainsboro|Description
|-
|-
| colspan=2 style="border-bottom:1px solid darkgray; text-align:justified"| {{{description|}}}
| colspan=2 style="border-bottom:1px solid darkgray; text-align:center"| {{{description|}}}
{{#if:{{{first_appearance|}}}|{{!-}} valign=top {{#if:{{{secbg|}}}|style="background:{{{secbg}}}"}}
{{#if:{{{first_appearance|}}}|{{!-}} valign=top
{{!}} width=15% {{!}}
{{!}} width=15% {{!}}
* '''First Appearance'''
* '''First Appearance'''
{{!}}{{{first_appearance|}}}}}
{{!}}{{{first_appearance|}}}}}
{{#if:{{{latest_appearance|}}}|{{!-}}valign=top {{#if:{{{secbg|}}}|style="background:{{{secbg}}}"}}
{{#if:{{{latest_appearance|}}}|{{!-}}valign=top
{{!}} width=15% {{!}}
{{!}} width=15% {{!}}
*'''Latest Appearance'''
*'''Latest Appearance'''
Line 17: Line 17:
|- valign=top
|- valign=top
| width=15% |
| width=15% |
{{#if:{{{effect|}}}|{{!-}}valign=top {{#if:{{{secbg|}}}|style="background:{{{secbg}}}"}}
{{#if:{{{effect|}}}|{{!-}}valign=top
{{!}} width=15% {{!}}
{{!}} width=15% {{!}}
*'''Effect on Player'''
*'''Effect on Player'''
Line 24: Line 24:
|}<noinclude>
|}<noinclude>
*title; The name of the item - only use this if it is different from the name of the article.
*title; The name of the item - only use this if it is different from the name of the article.
*titlebg; Behind the title
*bg; The background of the "Description" header
*mainbg; The background
*secbg; Sections background
*image; An image of the item
*image; An image of the item
*description; Describe the item
*description; Describe the item

Revision as of 09:25, October 24, 2011

Item infobox
Description


  • title; The name of the item - only use this if it is different from the name of the article.
  • image; An image of the item
  • description; Describe the item
  • first_appearance; The first time this item appeared
  • latest_appearance; The most recent time this item appeared
  • effect; What this item does to its user.