Template:Form infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Lots of broken code.)
m (Protected "Template:Form infobox" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(42 intermediate revisions by 13 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: {{{bg|#AAAAFF}}}; 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; vertical-align: top;" {{!}} {{{appeared_in|}}}
{{!}} '''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).
*title &ndash; default pagename sans identifier, just in case can be changed.
*border &ndash; border bg color
*image &ndash; an image.
*image &ndash; an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.
*applies_to &ndash; which character(s) this form applies to.
*titlebg &ndash; bgcolor of where it says ''character-infobox'', the pagename.
*item &ndash; what item gives Mario this form.
*title &ndash; default pagename, just in case can be changed
*powers &ndash; the powers Mario gets in this form.
*secbg &ndash; the alternating bg color in the rows, next to the white
*first_appearance &ndash; the game this form debuted in.
*appeared_in &ndash; which games this form appeared in, from oldest to newest
*latest_appearance &ndash; the latest game this form appears in.
*item &ndash; what item gives Mario this form
*powers &ndash; the powers Mario gets in 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:Formatting Templates]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 15:59, November 21, 2023

Form infobox
  • 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.