Template:Character infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
(per this passed proposal. making way for incoming proposals)
 
(53 intermediate revisions by 17 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=2 cellspacing=2 align={{{align|right}}} width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background: #f8fff7; border:1px solid #8a8; color:#000"
<templatestyles src="Character infobox/styles.css"/>
| align="center" colspan="2" bgcolor="#8afa8a" style="font-size:145%;" | '''{{{title|{{PAGENAME}}}}}'''
{| id="character" class="infobox" style="width:300px"
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
|-
|-
|align="center" colspan="2" | {{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
{{#if:{{{full_name|}}}|{{!}}- style="background:#afa"
|-
{{!}}'''Full Name'''
{{#if:{{{full_name|}}}|
{{!}} style="width:17em" {{!}} {{{full_name|}}}
{{!}} '''Full name'''
|}}
{{!}} {{{full_name}}}
|- style="vertical-align: top"
}}
{{#if:{{{first_appearance|}}}|{{!}}- style="vertical-align: top;"
|-
{{!}} '''First Appearance'''
{{#if:{{{species|}}}|
{{!}} {{{first_appearance}}}
|}}
|- style="vertical-align: top"
{{#if:{{{species|}}}|{{!}}- style="background:#afa"
{{!}} '''Species'''
{{!}} '''Species'''
{{!}} {{{species}}}
{{!}} {{{species}}}
|}}
}}
|- style="vertical-align: top"
|-
{{#if:{{{affiliation|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{first_appearance|}}}|
{{!}} '''Affiliation(s)'''
{{!}} '''First appearance'''
{{!}} {{{affiliation}}}
{{!}} {{{first_appearance}}}
|}}
}}
|- style="vertical-align: top"
|-
{{#if:{{{latest_appearance|}}}|{{!}}- style="background:#afa"
{{#if:{{{latest_appearance|}}}|
{{!}} '''Latest Appearance'''
{{!}} '''Latest appearance'''
{{!}} {{{latest_appearance}}}
{{!}} {{{latest_appearance}}}
|}}
}}
|- style="vertical-align: top"
|-
{{#if:{{{latest_portrayal|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{portrayed_by|}}}|
{{!}} '''Latest Portrayal'''
{{!}} {{{latest_portrayal}}}
|}}
|- style="vertical-align: top"
{{#if:{{{portrayed_by|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''Portrayed by'''
{{!}} '''Portrayed by'''
{{!}} {{{portrayed_by}}}
{{!}} {{{portrayed_by}}}
|}}
}}
|-
{{#if:{{{latest_portrayal|}}}|
{{!}} '''Latest portrayal'''
{{!}} {{{latest_portrayal}}}
}}
|-
{{#if:{{{member_of|}}}|
{{!}} '''Member of'''
{{!}} {{{member_of}}}
}}
|-
{{#if:{{{affiliation|}}}|
{{!}} '''Affiliation(s)'''
{{!}} {{{affiliation}}}
}}
|}<noinclude>{{br}}
|}<noinclude>{{br}}
==Usage==
==Usage==
{|border=1 style=border-collapse:collapse;width:70%;float:right;margin-left:1em; cellpadding=3
{|border=1 style="float:right;width:70%;border-collapse:collapse;margin:0 0 1em 1em" cellpadding=3
!colspan=2|Syntax
!colspan=2 bgcolor=#8AFA8A|Syntax
|-
|&#124;title=
|By default, this is not necessary, as it will automatically use the article title sans identifier. For special cases, it can be manually specified.
|-
|-
|&#124;image=
|&#124;image=
|A representative image of the character - ideally, artwork from the most recently released game. However, if the latest artwork is specialized for that game (i.e. the character's wearing sporting gear, driving a kart, etc.), an older image may be retained as the infobox image instead. Note that the infobox cannot be updated while a game is still upcoming: it can only be changed ''after the game is released''.
|A representative image of the character - ideally, artwork from the most recently released game. However, if the latest artwork is specialized for that game (i.e. the character's wearing sporting gear, driving a kart, etc.), an older image may be retained as the infobox image instead. Note that the infobox cannot be updated while a game is still upcoming: it can only be changed ''after the game is released''.
|-
|-
|&#124;full name=
|&#124;full_name=
|The character's full name (for example, "King Bowser Koopa" is [[Bowser]]'s full name).
|The character's full name (for example, "King Bowser Koopa" is [[Bowser]]'s full name). Only use this parameter if the full name is not the same as the title already used for the article or infobox (for example, do not list [[Donkey Kong]]'s full name as "Donkey Kong," as it is redundant).
|-
|&#124;species=
|The character's species. Do not list species the character has briefly turned into or any one-off alternate interpretations (e.g. the [[Super Mario Bros. (film)|''Super Mario Bros.'' film]]).
|-
|-
|&#124;first appearance=
|&#124;first_appearance=
|The first game, book, cartoon episode, comic issue, movie, etc. that the character appeared in.
|The first game, book, cartoon episode, comic issue, movie, etc. that the character appeared in.
|-
|-
|&#124;species=
|style="white-space:nowrap"|&#124;latest_appearance=
|The character's species. Do not list species the character has briefly turned into or any one-off alternate interpretations (i.e. the [[Super Mario Bros. (film)|''Super Mario Bros.'' film]]).
|The latest game (etc) that the character has appeared in. This does not include upcoming games: the game ''must have been released'' before the infobox can be updated. Ongoing serialized comics (e.g. ''[[Super Mario-kun]]'') are not included here.
|-
|&#124;latest_portrayal=
|Who voiced (or otherwise portrayed) the character in the most recently released game (etc).
|-
|-
|&#124;affiliation=
|&#124;portrayed_by=
|Important characters, groups or places associated with the character in question. <b>Note that this parameter is no longer in use in wiki articles and stays on the template only due to its usage on an entry of [[MarioWiki:BJAODN]].</b>
|If only one person has portrayed the character, use this instead of "latest portrayal".
|-
|-
|style=white-space:nowrap|&#124;latest appearance=
|&#124;member_of=
|The latest game (etc.) that the character has appeared in. This does not include upcoming games: the game ''must have been released'' before the infobox can be updated. Ongoing serialized comics (i.e. ''[[Super Mario-Kun]]'') are not included here.
|Groups the character is a member of.
|-
|-
|&#124;latest portrayal=
!colspan=2 bgcolor=#8AFA8A|Deprecated syntax
|Who voiced (or otherwise portrayed) the character in the most recently released game (etc.).
|-
|-
|&#124;portrayed by=
|&#124;affiliation=
|If only one person has portrayed the character, use this instead of "latest portrayal".
|<b>(This parameter is no longer used in wiki articles and stays on the template only due to its usage on an entry of [[MarioWiki:BJAODN]].)</b> Important characters, groups or places associated with the character in question.
|}
|}
<pre>
<pre>
{{character-infobox
{{character infobox
|title=
|image=
|image=
|full_name=
|full_name=
|species=
|first_appearance=
|first_appearance=
|species=
|affiliation=
|latest_appearance=
|latest_appearance=
|latest_portrayal=
|latest_portrayal=
|portrayed_by=
|member_of=
}}
}}
</pre>
</pre>
[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 20:46, June 26, 2024

Character infobox

Usage

Syntax
|title= By default, this is not necessary, as it will automatically use the article title sans identifier. For special cases, it can be manually specified.
|image= A representative image of the character - ideally, artwork from the most recently released game. However, if the latest artwork is specialized for that game (i.e. the character's wearing sporting gear, driving a kart, etc.), an older image may be retained as the infobox image instead. Note that the infobox cannot be updated while a game is still upcoming: it can only be changed after the game is released.
|full_name= The character's full name (for example, "King Bowser Koopa" is Bowser's full name). Only use this parameter if the full name is not the same as the title already used for the article or infobox (for example, do not list Donkey Kong's full name as "Donkey Kong," as it is redundant).
|species= The character's species. Do not list species the character has briefly turned into or any one-off alternate interpretations (e.g. the Super Mario Bros. film).
|first_appearance= The first game, book, cartoon episode, comic issue, movie, etc. that the character appeared in.
|latest_appearance= The latest game (etc) that the character has appeared in. This does not include upcoming games: the game must have been released before the infobox can be updated. Ongoing serialized comics (e.g. Super Mario-kun) are not included here.
|latest_portrayal= Who voiced (or otherwise portrayed) the character in the most recently released game (etc).
|portrayed_by= If only one person has portrayed the character, use this instead of "latest portrayal".
|member_of= Groups the character is a member of.
Deprecated syntax
|affiliation= (This parameter is no longer used in wiki articles and stays on the template only due to its usage on an entry of MarioWiki:BJAODN.) Important characters, groups or places associated with the character in question.
{{character infobox
|title=
|image=
|full_name=
|species=
|first_appearance=
|latest_appearance=
|latest_portrayal=
|portrayed_by=
|member_of=
}}