Template:Character infobox: Difference between revisions
Fixed |
moving to css. i'll have to delete the color params, though |
||
Line 1: | Line 1: | ||
{| class="infobox" style="width:280px | {| class="infobox character" style="width:280px" | ||
| align="center" colspan="2 | | align="center" colspan="2" style="font-size:115%" | '''{{{name|{{PAGENAME}}}}}''' | ||
|- | |- | ||
|align="center" colspan="2" | {{{image|}}} | |align="center" colspan="2" | {{{image|}}} | ||
{{#if:{{{full_name|}}}| | |- | ||
{{#if:{{{full_name|}}}| | |||
{{!}}'''Full name''' | {{!}}'''Full name''' | ||
{{!}} style="width:17em" {{!}} {{{full_name|}}} | {{!}} style="width:17em" {{!}} {{{full_name|}}} | ||
{{!}}- | |||
}} | |||
{{#if:{{{first_appearance|}}}| | {{#if:{{{first_appearance|}}}| | ||
{{!}} '''First appearance''' | {{!}} '''First appearance''' | ||
{{!}} {{{first_appearance}}} | {{!}} {{{first_appearance}}} | ||
{{!}}- | |||
}} | |||
{{#if:{{{ | {{#if:{{{latest_appearance|}}}| | ||
{{!}} '''Latest appearance''' | |||
{{!}} {{{latest_appearance}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{species|}}}| | |||
{{!}} '''Species''' | {{!}} '''Species''' | ||
{{!}} {{{species}}} | {{!}} {{{species}}} | ||
{{!}}- | |||
}} | |||
{{#if:{{{affiliation|}}}| | {{#if:{{{affiliation|}}}| | ||
{{!}} '''Affiliation(s)''' | {{!}} '''Affiliation(s)''' | ||
{{!}} {{{affiliation}}} | {{!}} {{{affiliation}}} | ||
{{!}}- | |||
}} | |||
{{#if:{{{latest_portrayal|}}}| | |||
{{#if:{{{latest_portrayal|}}}| | |||
{{!}} '''Latest portrayal''' | {{!}} '''Latest portrayal''' | ||
{{!}} {{{latest_portrayal}}} | {{!}} {{{latest_portrayal}}} | ||
{{!}}- | |||
}} | |||
{{#if:{{{portrayed_by|}}}| | {{#if:{{{portrayed_by|}}}| | ||
{{!}} '''Portrayed by''' | {{!}} '''Portrayed by''' | ||
{{!}} {{{portrayed_by}}} | {{!}} {{{portrayed_by}}} | ||
}} | |||
|}<noinclude> | |}<noinclude> | ||
==Parameters== | ==Parameters== | ||
*image – an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax. | *image – an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax. | ||
*name – default pagename, just in case can be changed | *name – default pagename, just in case can be changed | ||
*full_name – 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 – only fill in if there's a different full name than the page name. | |||
*first_appearance – The first appearance in a game or another form of media. | *first_appearance – The first appearance in a game or another form of media. | ||
*species – | *species – e.g., Koopa, Human | ||
*affiliation – | *affiliation – e.g., Koopa Troop, X-Naut | ||
*latest_appearance – The latest appearance the character has appeared in. | *latest_appearance – The latest appearance the character has appeared in. | ||
*latest_portrayal – the actor who has voiced the character most recently | *latest_portrayal – the actor who has voiced the character most recently |