Template:Form infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(This'll help)
mNo edit summary
 
(48 intermediate revisions by 14 users not shown)
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-color: {{{bg|white}}}; border:1px solid {{{border|#8a8}}}; color:black"
{| class="infobox" style="width:280px;background:#d0f0c0;border-color:#87A96B"
| align="center" colspan="2" bgcolor="{{{titlebg|white}}}" style="font-size:145%;" | '''{{{title|{{PAGENAME}}}}}'''
! colspan="2" style="font-size:125%;background:#ADDFAD" | {{{title|{{PAGETITLE}}}}}
|-
|-
|align="center" colspan="2" | {{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
{{#if:{{{appeared_in|}}}|{{!}}
|-
{{!}}'''Appeared in'''
{{#if:{{{applies_to|}}}|
{{!}} style="width:17em" {{!}} {{{appeared_in|}}}- style="vertical-align: top;"
{{!}} '''Applies to'''
|}}
{{!}} {{{applies_to}}}
{{#if:{{{item|}}}|{{!}}- style="vertical-align: top;"
}}
{{!}} '''Item Needed'''
|-
{{#if:{{{item|}}}|
{{!}} '''Item needed'''
{{!}} {{{item}}}
{{!}} {{{item}}}
|}}
}}
{{#if:{{{powers|}}}|{{!}}- style="vertical-align: top;"
|-
{{!}} '''Power(s) Given'''
{{#if:{{{powers|}}}|
{{!}} '''Power(s) given'''
{{!}} {{{powers}}}
{{!}} {{{powers}}}
|}}
}}
{{#if:{{{level|}}}|{{!}}- style="vertical-align: top;"
|-
{{!}} '''Level(s)'''
{{#if:{{{first_appearance|}}}|
{{!}} {{{level}}}
{{!}} '''First appearance'''
|}}
{{!}} {{{first_appearance}}}
}}
|-
{{#if:{{{latest_appearance|}}}|
{{!}} '''Latest appearance'''
{{!}} {{{latest_appearance}}}
}}
|}<noinclude>
|}<noinclude>
*bg &ndash; Main background (blue default).
Infobox parameters:
*border &ndash; border bg color
 
*image &ndash; an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.
*title &ndash; default pagename sans identifier, just in case can be changed.
*titlebg &ndash; bgcolor of where it says ''character-infobox'', the pagename.
*image &ndash; an image.
*title &ndash; default pagename, just in case can be changed
*applies_to &ndash; which character(s) this form applies to.
*secbg &ndash; the alternating bg color in the rows, next to the white
*item &ndash; what item gives Mario this form.
*appeared_in &ndash; which games this form appeared in, from oldest to newest
*powers &ndash; the powers Mario gets in this form.
*item &ndash; what item gives Mario this form
*first_appearance &ndash; the game this form debuted in.
*powers &ndash; the powers Mario gets in this form
*latest_appearance &ndash; the latest game this form appears in.
All of these can be left blank and will not show, but fill in as many of the details as possible, of course.
All of these can be left blank and will not show, but fill in as many of the details as possible, of course.
[[Category:Formatting Templates]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 11:50, June 6, 2024

Form infobox

Infobox parameters:

  • title – default pagename sans identifier, just in case can be changed.
  • image – an image.
  • applies_to – which character(s) this form applies to.
  • item – what item gives Mario this form.
  • powers – the powers Mario gets in this form.
  • first_appearance – the game this form debuted in.
  • latest_appearance – the latest game this form appears in.

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