Welcome to the Mario Compendium! If you want to request an account, please do so at Mario Wiki or Fanonpedia.

Template:Character infobox: Difference between revisions

From Mario Compendium
Jump to navigationJump to search
moving to css. i'll have to delete the color params, though
(Fixed)
(moving to css. i'll have to delete the color params, though)
Line 1: Line 1:
{| class="infobox" style="width:280px; background: {{{bg|#f8fff7}}}; border:1px solid {{{border|#8a8}}}; color:{{{color|#000}}}"
{| class="infobox character" style="width:280px"
| align="center" colspan="2" bgcolor="{{{titlebg|#8afa8a}}}" style="font-size:115%;" | '''{{{name|{{PAGENAME}}}}}'''
| align="center" colspan="2" style="font-size:115%" | '''{{{name|{{PAGENAME}}}}}'''
|-
|-
|align="center" colspan="2" | {{{image|}}}
|align="center" colspan="2" | {{{image|}}}
{{#if:{{{full_name|}}}|{{!}}- style="background:{{{secbg|#afa}}}"
|-
{{#if:{{{full_name|}}}|
{{!}}'''Full name'''
{{!}}'''Full name'''
{{!}} style="width:17em" {{!}} {{{full_name|}}}
{{!}} style="width:17em" {{!}} {{{full_name|}}}
|}}
{{!}}-
|- style="vertical-align: top"
}}
{{#if:{{{first_appearance|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{first_appearance|}}}|
{{!}} '''First appearance'''
{{!}} '''First appearance'''
{{!}} {{{first_appearance}}}
{{!}} {{{first_appearance}}}
|}}
{{!}}-
|- style="vertical-align: top"
}}
{{#if:{{{species|}}}|{{!}}- style="background:{{{secbg|#afa}}}"
{{#if:{{{latest_appearance|}}}|
{{!}} '''Latest appearance'''
{{!}} {{{latest_appearance}}}
{{!}}-
}}
{{#if:{{{species|}}}|
{{!}} '''Species'''
{{!}} '''Species'''
{{!}} {{{species}}}
{{!}} {{{species}}}
|}}
{{!}}-
|- style="vertical-align: top"
}}
{{#if:{{{affiliation|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{affiliation|}}}|
{{!}} '''Affiliation(s)'''
{{!}} '''Affiliation(s)'''
{{!}} {{{affiliation}}}
{{!}} {{{affiliation}}}
|}}
{{!}}-
|- style="vertical-align: top"
}}
{{#if:{{{latest_appearance|}}}|{{!}}- style="background:{{{secbg|#afa}}}"
{{#if:{{{latest_portrayal|}}}|
{{!}} '''Latest appearance'''
{{!}} {{{latest_appearance}}}
|}}
|- style="vertical-align: top"
{{#if:{{{latest_portrayal|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''Latest portrayal'''
{{!}} '''Latest portrayal'''
{{!}} {{{latest_portrayal}}}
{{!}} {{{latest_portrayal}}}
|}}
{{!}}-
|- style="vertical-align: top"
}}
{{#if:{{{portrayed_by|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{portrayed_by|}}}|
{{!}} '''Portrayed by'''
{{!}} '''Portrayed by'''
{{!}} {{{portrayed_by}}}
{{!}} {{{portrayed_by}}}
|}}
}}
|}<noinclude>
|}<noinclude>
==Parameters==
==Parameters==
*bg &ndash; Main background (white default).
*border &ndash; border bg color
*color &ndash; The color of the writing
*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 page name.
*name &ndash; default pagename, just in case can be changed
*name &ndash; default pagename, just in case can be changed
*secbg &ndash; the alternating bg color in the rows, next to the white
*full_name &ndash; only fill in if there's a different full name than the page name. For example, Bowser's full name is King Bowser Koopa.
*full_name &ndash; only fill in if there's a different full name than the page name. In other words, Bowser's full name is King Bowser Koopa.
*first_appearance &ndash; The first appearance in a game or another form of media.
*first_appearance &ndash; The first appearance in a game or another form of media.
*species &ndash; i.e., Koopa, Human
*species &ndash; e.g., Koopa, Human
*affiliation &ndash; i.e., Koopa Troop, X-Naut
*affiliation &ndash; e.g., Koopa Troop, X-Naut
*latest_appearance &ndash; The latest appearance the character has appeared in.
*latest_appearance &ndash; The latest appearance the character has appeared in.
*latest_portrayal &ndash; the actor who has voiced the character most recently
*latest_portrayal &ndash; the actor who has voiced the character most recently

Navigation menu