Template:Form-infobox: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content added Content deleted
m (Text replacement - "Category:Infobox Templates" to "Category:Infobox templates")
(oop)
 
(3 intermediate revisions by the same user 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: #d0f0c0; border:1px solid #87A96B;"
{| class="infobox" style="width:280px;background:#d0f0c0;border-color:#87A96B"
! colspan="2" bgcolor="#ADDFAD" style="font-size:145%;" | '''{{{title|{{PAGENAME}}}}}'''
! colspan="2" style="font-size:125%;background:#ADDFAD" | {{{title|{{PAGENAME}}}}}
|-
|-
|align="center" colspan="2" | {{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
|-
{{#if:{{{character|}}}|{{!-}} style="vertical-align: top;"
{{#if:{{{applies_to|}}}|
{{!}} '''Used on'''
{{!}} {{{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;"
{{#if:{{{powers|}}}|
{{!}} '''Power(s) Given'''
{{!}} '''Power(s) given'''
{{!}} {{{powers}}}
{{!}} {{{powers}}}
|}}
}}
|-
{{#if:{{{first_appearance|}}}|{{!-}} 
{{#if:{{{first_appearance|}}}|
{{!}}'''First Appearance'''
{{!}} '''First appearance'''
{{!}} style="width:17em; vertical-align: top;" {{!}} {{{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>
*title &ndash; default pagename sans identifier, just in case can be changed.
*image &ndash; an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.
*image &ndash; an image.
*title &ndash; default pagename, just in case can be changed
*first_appearance &ndash; the game this form debuted in
*applies_to &ndash; which character(s) this form applies to.
*latest_appearance &ndash; the latest game this form appeared in
*item &ndash; what item gives Mario this form.
*item &ndash; what item gives Mario this form
*powers &ndash; the powers Mario gets in this form.
*powers &ndash; the powers Mario gets in this form
*first_appearance &ndash; the game this form debuted in.
*character &ndash; which character uses 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:Infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 18:37, June 6, 2022

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.