Template:SM2 Infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
m (Preparing for category split. Do not revert.)
Line 16: Line 16:
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=
|Team Sprite =  
|Team Sprite=
|name =
|name=
|image =
|image=
|games =  
|games=
|attacks =
|attacks=
|description =
|description=
}}
}}
</pre>
</pre>
Line 38: Line 38:
*'''attacks:''' 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
|Team Sprite = shy.png
|Team Sprite=shy.png
|name = Shyguy
|name=Shyguy
|image = shy.png
|image=shy.png
|games = ''[[Super Mario Bros. 2]], ''[[Doki Doki Panic]]'' ''[[Super Mario World 2]]''
|games=''[[Super Mario Bros. 2]], ''[[Doki Doki Panic]]'' ''[[Super Mario World 2]]''
|attacks = walking  
|attacks=walking  
|description = Most common character!
|description = Most common character!
}}
}}
</pre>
</pre>
Result:
Result:
{{SM2 Infobox|
{{SM2 Infobox
|color = red
|color=red
|width = 220
|width=220
|align = right
|align=right
|Team Sprite = shy.png
|Team Sprite=shy.png
|name = Shyguy
|name=Shyguy
|image = shy.png
|image=shy.png
|games = ''[[Super Mario Bros. 2]]'', ''[[Doki Doki Panic]]'', ''[[Super Mario World 2]]''
|games=''[[Super Mario Bros. 2]]'', ''[[Doki Doki Panic]]'', ''[[Super Mario World 2]]''
|attacks = walking
|attacks=walking
|description = Most common character!
|description=Most common character!
}}
}}
[[Category: Formatting Templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>

Revision as of 16:56, March 20, 2010

Template:Color-link-piped
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]], ''[[Doki Doki Panic]]'' ''[[Super Mario World 2]]''
|attacks=walking 
|description = Most common character!
}}

Result:

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