Template:Space infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(42 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=3 cellspacing=2 width=270px style="font-family: arial, sans-serif; padding: 4px; margin:{{#switch:{{{align|right}}}|left=0 1em 1em 0|center=1em 1em 1em 1em|right=0 0 1em 1em}}; font-size: 11px; background-color:#fc6; border:1px solid #c8c;float:{{{align|right}}}; color:black"
{| class="infobox" style="width:270px;background:#fc6;border-color:#c8c"
! colspan="2" style="font-size:125%;background:#f93" | {{{title|{{PAGETITLE}}}}}
|-
| colspan="2" style="text-align:center" | {{{image|}}}
|-
|-
| align="center" style="background-color:#f93; border:1px solid #f60" colspan=2 | <font size=3>'''{{{name|{{PAGENAME}}}}}'''</font>
{{#if:{{{purpose|}}}|
|-  
{{!}} '''Purpose'''
| colspan=2 | {{#if:{{{image|}}}|[[Image:{{{image|}}}|{{{width|50}}}px|center]]}}
{{!}} {{{purpose}}}
}}
|-
{{#if:{{{first_appearance|}}}|
{{!}} '''First appearance'''
{{!}} {{{first_appearance}}}
}}
|-
{{#if:{{{latest_appearance|}}}|
{{!}} '''Latest appearance'''
{{!}} {{{latest_appearance}}}
}}
|}<noinclude>{{br}}
==Usage==
{|border=1 style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em" cellpadding=3
!colspan=2|Syntax
|-
|&#124;title=
|The name of the space (only necessary when the name of the article sans identifier is not the desired title)
|-
|&#124;image=
|An image depicting the space.
|-
|&#124;purpose=
|A concise description of the general effect the space has when landed upon.
|-
|&#124;first_appearance
|The first appearance of the space in the ''Mario Party'' series.
|-
|-
{{#if:{{{purpose|}}}|{{!}}-
|&#124;latest_appearance=
{{!}} '''Purpose''' {{!}}{{!}} {{{purpose}}}|}}
|The latest game in the ''Mario Party'' series that the space has appeared in. The game must have been released in order for this parameter to be updated.
{{#if:{{{first_appearance|}}}|{{!}}-
|}
{{!}} '''First Appearance''' {{!}}{{!}} {{{first_appearance}}}|}}
 
|}<noinclude><br clear="all">
<pre>
{{space infobox
|title=
|image=
|purpose=
|first_appearance=
|latest_appearance=
}}
</pre>


[[Category: Formatting Templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 16:51, November 21, 2023

Space infobox

Usage

Syntax
|title= The name of the space (only necessary when the name of the article sans identifier is not the desired title)
|image= An image depicting the space.
|purpose= A concise description of the general effect the space has when landed upon.
|first_appearance The first appearance of the space in the Mario Party series.
|latest_appearance= The latest game in the Mario Party series that the space has appeared in. The game must have been released in order for this parameter to be updated.
{{space infobox
|title=
|image=
|purpose=
|first_appearance=
|latest_appearance=
}}