Template:SM2 Infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(New page: {| 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 1...)
 
No edit summary
Line 11: Line 11:
! attacks
! attacks
|-
|-
| {{#if:{{{attacks|}}}|'''attacks'''&nbsp;&nbsp;{{{attacks}}}}|}<noinclude>
| {{#if:{{{attacks|}}}|'''attacks'''&nbsp;&nbsp;|}<noinclude>
== 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 special moves.

Revision as of 21:56, July 20, 2007

Template:Color-link-piped
SM2 Infobox
Game Appearances
attacks
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 =
|name =
|image =
|games = 
|attack =
}}

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.
  • 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.
  • attack: A character's attack!

Example

{{SM2 Infobox|
|color = red
|width = 220
|align = right
|name = Shyguy
|image = shy.png
|games = [[Super Mario Bros.2]] [[Doki Doki Panic]] [[Super Mario World 2]]
|attack = walking 
}}

Result:

Template:Color-link-piped
Shyguy
Shy.png
Game Appearances
Super Mario Bros.2 Doki Doki Panic Super Mario World 2
attacks
attacks  |}