Template:Species infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Protected "Template:Species-infobox" ([edit=autoconfirmed] (indefinite) [move=sysop] (indefinite)))
m (Removing custom colors.)
Line 1: Line 1:
{| class="infobox {{{expand|noexpandable}}}" cellpadding=2 cellspacing=2 align=right width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: {{{bg|ghostwhite}}}; border:1px solid {{{border|#8a8}}}; color:black"
{| class="infobox {{{expand|noexpandable}}}" cellpadding=2 cellspacing=2 align=right width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: ghostwhite; border:1px solid #8a8; color:black"
| align="center" colspan="2" bgcolor="{{{titlebg|#10274c}}}" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>'''
| align="center" colspan="2" bgcolor="#10274c" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>'''
|-
|-
|align="center" colspan="2" | {{{image|}}}
|align="center" colspan="2" | {{{image|}}}
|- style="vertical-align: top"  
|- style="vertical-align: top"  
{{#if:{{{species_origin|}}}|{{!}}- style="background:{{{secbg|#c5ced6}}}; vertical-align: top;"
{{#if:{{{species_origin|}}}|{{!}}- style="background:#c5ced6; vertical-align: top;"
{{!}} '''Species Origin'''
{{!}} '''Species Origin'''
{{!}} style="width:17em" {{!}} {{{species_origin}}}
{{!}} style="width:17em" {{!}} {{{species_origin}}}
Line 14: Line 14:
|}}
|}}
|- style="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{first_appearance|}}}|{{!}}- style="background:{{{secbg|#c5ced6}}}; vertical-align:top"
{{#if:{{{first_appearance|}}}|{{!}}- style="background:#c5ced6; vertical-align:top"
{{!}} '''First Appearance'''
{{!}} '''First Appearance'''
{{!}} {{{first_appearance}}}
{{!}} {{{first_appearance}}}
Line 42: Line 42:
|}}
|}}
|}<noinclude>
|}<noinclude>
*bg &ndash; Main background (white default).
*border &ndash; border bg color
*image &ndash; an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.
*image &ndash; an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.
*titlebg &ndash; bgcolor of where it says ''character-infobox'', the pagename.
*title &ndash; default pagename, just in case can be changed
*title &ndash; default pagename, just in case can be changed
*secbg &ndash; the alternating bg color in the rows, next to the white
*sub_species &ndash; i.e [[Goomba]]'s sub species is [[Gloomba]]s
*sub_species &ndash; i.e [[Goomba]]'s sub species is [[Gloomba]]s
*related &ndash; Similar species, such as Boomerang Bros. to Hammer Bros.
*related &ndash; Similar species, such as Boomerang Bros. to Hammer Bros.

Revision as of 09:17, October 24, 2011

Species infobox
  • image – an image. Must use {{!}} for a | break symbol in image syntax.
  • title – default pagename, just in case can be changed
  • sub_species – i.e Goomba's sub species is Gloombas
  • related – Similar species, such as Boomerang Bros. to Hammer Bros.
  • notable – Notable members like how Magikoopas would have Kamek.
  • species_origin – Species where Sub-species comes from (if it is a sub-species), so Spear Guy's Species Origin is Shy Guy
  • affiliation – i.e., Koopa Troop, X-Naut
  • latest_appearance
  • expand – Collapsing the "sub_species" and "notable" list when it is long. Activate this by writing "expandable". "noexpandable" by default.