Template:SM2 Infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 6: Line 6:
|- background::#{{#switch:{{{color|green}}}|green=9c9|blue=99c|red=c99}}
|- background::#{{#switch:{{{color|green}}}|green=9c9|blue=99c|red=c99}}
| width=17em | '''Games''' || {{{games|}}}
| width=17em | '''Games''' || {{{games|}}}
|- background:#{{#switch:{{{color|green}}}|green=9c9|blue=99c|red=c99}}
|- background:#{{#switch:{{{color|green}}}|green=9c9|blue=99c|red=c99}|pink=c64}
| '''Attacks''' || {{{attacks|}}}    {{{standard|}}}
| '''Attacks''' || {{{attacks|}}}    {{{standard|}}}
|}<noinclude><br clear="all">
|}<noinclude><br clear="all">
Line 26: Line 26:
</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,pink for playable characters!
*'''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'''.

Revision as of 22:20, July 20, 2007

Template:Color-link-piped
SM2 Infobox
Games
Attacks   


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.

Copy the following code to use the template:

{{SM2 Infobox|
|color =
|width = 
|align =
|smaller sprite = 
|name =
|image =
|games = 
|attacks =
}}

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,pink for playable characters!
  • width: Set the width of the box. Default is 220px.
  • align: Set the align of the box. Default is right.
  • smaller sprite:A smaller sprite on the right!
  • 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
|smaller sprite = shy.png
|name = Shyguy
|image = shy.png
|games = ''[[Super Mario Bros 2]], ''[[Doki Doki Panic]]'' ''[[Super Mario World 2]]''
|attacks = walking 
|Description = Shyguy is the most common character of Super Mario Bros. 2
}}

Result:

Shy.png
Template:Color-link-piped
Shyguy
Shy.png
Games Super Mario Bros 2, Doki Doki Panic, Super Mario World 2
Attacks walking