Template:SM2 Infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
m (Text replacement - "{{([Cc]olor|[Cc]olor-link|[Cc]olor-link-external)\|(1=)?([^\|{}\n]+)\|(2=)?([^\|{}\n]+)([\|}])" to "{{$1|$5|$3$6")
 
(55 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=3 cellspacing=2 width={{{width|220}}}px style="font-family: arial, sans-serif; padding: 4px; margin: {{#switch:{{{align|}}}|left=0 1em 1em 0|center=1em 1em 1em 1em|0 0 1em 1em}}; font-size: 11px; background-color: #fcfffc; border:1px solid #{{#switch:{{{color|green}}}|green=8c8|blue=88c|red=c88}};float:{{{align|right}}}; color:black"
<noinclude>{{abandoned}}</noinclude>
{| class="infobox" style="width:{{{width|220}}}px; background-color: #fcfffc; border:1px solid #{{#switch:{{{color|red}}}|green=8c8|blue=88c|red=c88}}; color:red"
|-
|-
| align="center" style="background-color:#{{#switch:{{{color|green}}}|green=ccffcc|blue=ccccff|red=ffcccc}}; border:1px solid #{{#switch:{{{color|green}}}|green=8c8|blue=88c|red=c88}}" | {{#if:{{{smaller sprite|}}}|[[Image:{{{smaller sprite}}}|35px|right]]}}''{{color-link-piped|Super Smash Bros. (series)|black|Super Super Bros.2 Character}}''<br><font size=3>'''{{{name|{{PAGENAME}}}}}'''</font>
| colspan=2 align="center" style="background-color:#{{#switch:{{{color|yellow}}}|green=ccffcc|blue=ccccff|red=ffcccc}}; border:1px solid #{{#switch:{{{color|green}}}|green=8c8|blue=88c|red=c88|yellow=c64}}" | {{#if:{{{Team Sprite|}}}|[[Image:{{{Team Sprite}}}|35px|right]]}}''{{color-link|Gray|Super Mario Bros. 2|Super Mario Bros.2 Character}}''<br><font size=3>'''{{{name|{{PAGENAME}}}}}'''</font>
|-  
|-  
|{{#if:{{{image|}}}|[[Image:{{{image|}}}|{{{width|220}}}px|center]]}}
| colspan=2 | {{#if:{{{image|}}}|[[Image:{{{image|}}}|{{{width|220}}}px|center]]}}
|-
|- background:#{{#switch:{{{color|green}}}|green=9c9|blue=99c|red=c99}
|-
| width=17em | '''Games''' || {{{games|}}}
| {{{games|}}}
|- background:#{{#switch:{{{color|green}}}|green=9c9|blue=99c|red=c99}
|-
| '''Attacks''' || {{{attacks|}}} &nbsp;&nbsp; {{{standard|}}}
|-
|- background:#{{#switch:{{{color|green}}}|green=9c9|blue=99c|red=c99}
| {{{attacks|}}} &nbsp;&nbsp; {{{standard|}}}<noinclude>
| '''Description'''|| {{{description|}}} &nbsp;&nbsp; {{{standard|}}}
|}<noinclude><br clear=all>
== Usage Instructions ==
== Usage Instructions ==
This infobox template is used for  characters in the ''[[Super Mario Bros. 2]]''. It gives information about the games the character has appears in and about their special moves.
This infobox template is used for  characters in the ''[[Super Mario Bros. 2]]''. It gives information about the games the character has appears in and about their info.


Copy the following code to use the template:
Copy the following code to use the template:
<pre>
<pre>
{{SM2 Infobox|
{{SM2 Infobox
|color =
|color=
|width =  
|width=
|align =
|align=
|name =
|Team Sprite=
|image =
|name=
|games =  
|image=
|attack =
|games=
|attacks=
|description=
}}
}}
</pre>
</pre>
== Parameters ==
== Parameters ==
*'''color:''' Set the color of the box. Use '''green''' for characters that are rare, '''blue''' for characters that are uncommon, and '''red''' for characters that are common.
*'''color:''' Set the color of the box. Use '''green''' for characters that are rare, '''blue''' for characters that are uncommon, and '''red''' for characters that are common!
*'''width:''' Set the width of the box. Default is '''220'''px.
*'''width:''' Set the width of the box. Default is '''220'''px.
*'''align:''' Set the align of the box. Default is '''right'''.
*'''align:''' Set the align of the box. Default is '''right'''.
*'''Team Sprite:'''Shyguys stand for 8-bit member,Wart means a wart creation and Mario means a good guy!
*'''name:''' Set the name of the box. Default is the article's name.
*'''name:''' Set the name of the box. Default is the article's name.
*'''image:''' Add the image of the character.
*'''image:''' Add the image of the character.
*'''games:''' List the games in that the character has appeared in here.
*'''games:''' List the games in that the character has appeared in here.
*'''attack:''' A character's attack!
*'''attacks:''' A character's attack!


== Example ==
==Example==
<pre>
<pre>
{{SM2 Infobox|
{{SM2 Infobox
|color = red
|color=red
|width = 220
|width=220
|align = right
|align=right
|name = Shyguy
|Team Sprite=shy.png
|image = shy.png
|name=Shyguy
|games = [[Super Mario Bros.2]] [[Doki Doki Panic]] [[Super Mario World 2]]
|image=shy.png
|attack = walking  
|games=''[[Super Mario Bros. 2]], ''[[Yume Kōjō: Doki Doki Panic]]'' ''[[Super Mario World 2]]''
|attacks=walking  
|description=Most common character!
}}
}}
</pre>
</pre>
Result:
Result:
{{SM2 Infobox|
{{SM2 Infobox
|color = red
|color=red
|width = 220
|width=220
|align = right
|align=right
|name = Shyguy
|Team Sprite=shy.png
|image = shy.png
|name=Shyguy
|games = [[Super Mario Bros.2]] [[Doki Doki Panic]] [[Super Mario World 2]]
|image=shy.png
|attack = walking  
|games=''[[Super Mario Bros. 2]]'', ''[[Yume Kōjō: Doki Doki Panic]]'', ''[[Super Mario World 2]]''
}}
|attacks=walking
[[Category: Formatting Templates|{{PAGENAME}}]]</noinclude>
|description=Most common character!
}}</noinclude>

Latest revision as of 10:53, June 6, 2024

It has been decided that the Super Mario Wiki will no longer support this feature. This page is kept and protected strictly for historical purposes.

Super Mario Bros.2 Character
SM2 Infobox
Games
Attacks   
Description   


Usage Instructions

This infobox template is used for characters in the Super Mario Bros. 2. It gives information about the games the character has appears in and about their info.

Copy the following code to use the template:

{{SM2 Infobox
|color=
|width=
|align=
|Team Sprite=
|name=
|image=
|games=
|attacks=
|description=
}}

Parameters

  • color: Set the color of the box. Use green for characters that are rare, blue for characters that are uncommon, and red for characters that are common!
  • width: Set the width of the box. Default is 220px.
  • align: Set the align of the box. Default is right.
  • Team Sprite:Shyguys stand for 8-bit member,Wart means a wart creation and Mario means a good guy!
  • name: Set the name of the box. Default is the article's name.
  • image: Add the image of the character.
  • games: List the games in that the character has appeared in here.
  • attacks: A character's attack!

Example

{{SM2 Infobox
|color=red
|width=220
|align=right
|Team Sprite=shy.png
|name=Shyguy
|image=shy.png
|games=''[[Super Mario Bros. 2]], ''[[Yume Kōjō: Doki Doki Panic]]'' ''[[Super Mario World 2]]''
|attacks=walking 
|description=Most common character!
}}

Result:

Shy.png
Super Mario Bros.2 Character
Shyguy
Shy.png
Games Super Mario Bros. 2, Yume Kōjō: Doki Doki Panic, Super Mario World 2
Attacks walking   
Description Most common character!