Template:Form infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{| class="infobox" cellpadding=2 cellspacing=2 align=right width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background: {{{bg|#AAAAFF}}}; border:1px solid {{{border|#8a8}}}; color:black"
{| class="infobox" align=right width=280px style="font-family: verdana; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background: {{{bg|#d0f0c0}}}; border:1px solid {{{border|#87A96B}}};"
| align="center" colspan="2" bgcolor="{{{titlebg|white}}}" style="font-size:145%;" | '''{{{title|{{PAGENAME}}}}}'''
! colspan="2" bgcolor="{{{titlebg|#ADDFAD}}}" style="font-size:145%;" | '''{{{title|{{PAGENAME}}}}}'''
|-
|-
|align="center" colspan="2" | {{{image|}}}
|align="center" colspan="2" | {{{image|}}}
Line 7: Line 7:
{{!}} style="width:17em; vertical-align: top;" {{!}} {{{first_appearance|}}}
{{!}} style="width:17em; vertical-align: top;" {{!}} {{{first_appearance|}}}
|}}
|}}
{{#if:{{{latest_appearance|}}}|{{!-}} 
{{!}}'''Latest Appearance'''
{{!}} style="width:17em; vertical-align: top;" {{!}} {{{latest_appearance|}}}
|}}
|}}
{{#if:{{{item|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{item|}}}|{{!}}- style="vertical-align: top;"
Line 19: Line 16:
{{!}} {{{powers}}}
{{!}} {{{powers}}}
|}}
|}}
{{#if:{{{latest_appearance|}}}|{{!-}} 
{{!}}'''Latest Appearance'''
{{!}} style="width:17em; vertical-align: top;" {{!}} {{{latest_appearance|}}}
{{#if:{{{character|}}}|{{!-}} style="vertical-align: top;"
{{#if:{{{character|}}}|{{!-}} style="vertical-align: top;"
{{!}} '''Used on'''
{{!}} '''Used on'''
Line 24: Line 24:
|}}
|}}
|}<noinclude>
|}<noinclude>
*bg &ndash; Main background (blue default).
*bg &ndash; Main background (green default).
*border &ndash; border bg color
*border &ndash; border bg color
*image &ndash; an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.
*image &ndash; an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.

Revision as of 19:07, June 26, 2010

Form infobox

}


{{#if:||-  |Latest Appearance | style="width:17em; vertical-align: top;" |

|}

  • bg – Main background (green default).
  • border – border bg color
  • image – an image. Must use {{!}} for a | break symbol in image syntax.
  • titlebg – bgcolor of where it says character-infobox, the pagename.
  • title – default pagename, just in case can be changed
  • secbg – the alternating bg color in the rows, next to the white
  • first_appearance – the game this form debuted in
  • latest_appearance – the latest game this form appeared in
  • item – what item gives Mario this form
  • powers – the powers Mario gets in this form
  • character – which character uses this form

All of these can be left blank and will not show, but fill in as many of the details as possible, of course.