Template:Form infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(move around. Less confusing and matching Species infobox and Character-infobox.)
mNo edit summary
 
(35 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{| 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}}};"
{| class="infobox" style="width:280px;background:#d0f0c0;border-color:#87A96B"
! colspan="2" bgcolor="{{{titlebg|#ADDFAD}}}" 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:{{{character|}}}|{{!-}} style="vertical-align: top;"
|-
{{!}} '''Used on'''
{{#if:{{{applies_to|}}}|
{{!}} {{{character}}}
{{!}} '''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:{{{first_appearance|}}}|{{!-}} 
|-
{{!}}'''First Appearance'''
{{#if:{{{first_appearance|}}}|
{{!}} style="width:17em; vertical-align: top;" {{!}} {{{first_appearance|}}}
{{!}} '''First appearance'''
|}}
{{!}} {{{first_appearance}}}
{{#if:{{{latest_appearance|}}}|{{!-}} 
}}
{{!}}'''Latest Appearance'''
|-
{{!}} style="width:17em; vertical-align: top;" {{!}} {{{latest_appearance|}}}
{{#if:{{{latest_appearance|}}}|
|}}
{{!}} '''Latest appearance'''
{{!}} {{{latest_appearance}}}
}}
|}<noinclude>
|}<noinclude>
*bg &ndash; Main background (green 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.
*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 appeared in
*first_appearance &ndash; the game this form debuted in.
*item &ndash; what item gives Mario this form
*latest_appearance &ndash; the latest game this form appears in.
*powers &ndash; the powers Mario gets in this form
*character &ndash; 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.
All of these can be left blank and will not show, but fill in as many of the details as possible, of course.
[[Category:Infobox Templates|{{PAGENAME}}]]</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.