Navigation menu
Template:Character-infobox: Difference between revisions
From Metroid Wiki
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{| | {| width="300px" cellpadding="3" cellspacing="0" align="right" style="{{round|20px}} {{border|2}} {{background|neutral}}; font-size: 11px" | ||
| | | | ||
{| width="100%" cellpadding="3" cellspacing="0" align="center" style="{{round}}" | |||
! colspan="2" style="{{#if: {{{image|}}}| {{roundt}} | {{round}}}} {{border}} {{background}} font-size: 13px;" | ''{{{name|{{PAGENAME}}}}}'' | |||
|- | |- | ||
{{#if:{{{image|}}}| | {{#if: {{{image|}}}| | ||
! colspan="2" | ! colspan="2" align="center" style="{{roundb}} {{border}} {{background}}" {{!}} <div style="float:center; border-bottom:1px solid #{{mw color light}}">{{{image|}}}<br /><br /></div> | ||
<span style="font-size: 10px">{{{caption|}}}</span>}} | |||
|} | |||
{ | |||
|- | |- | ||
| | |||
{| width="100%" cellpadding="3" cellspacing="0" align="center" style="{{round}} {{border}} {{background}}" | |||
! style="width: 30%; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Game(s) | |||
{{!}} | |||
{{{games|''None''}}} | |||
|- | |||
{{#if:{{{appearances|}}}| | {{#if:{{{appearances|}}}| | ||
! style=" | ! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Appearances | ||
{{!}} style=" | {{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} | ||
{{{appearances|}}}}} | {{{appearances|}}}}} | ||
|- | |- | ||
{{#if:{{{planet|}}}| | {{#if:{{{planet|}}}| | ||
! style="border:1px solid #{{mw color light}}" align="right" {{!}} Home Planet | ! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Home Planet | ||
{{!}} style="border:1px solid #{{mw color light}}" {{!}} {{{planet|}}}}} | {{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{planet|}}}}} | ||
|- | |- | ||
{{#if:{{{gender|}}}| | {{#if:{{{gender|}}}| | ||
! style="border:1px solid #{{mw color light}}" align="right" {{!}} Gender | ! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Gender | ||
{{!}} style="border:1px solid #{{mw color light}}" {{!}} {{{gender|}}}}} | {{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{gender|}}}}} | ||
|- | |- | ||
{{#if:{{{voice actor(s)|}}}| | {{#if:{{{voice actor(s)|}}}| | ||
! style="border:1px solid #{{mw color light}}" align="right" {{!}} Voice Actor(s) | ! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Voice Actor(s) | ||
{{!}} style="border:1px solid #{{mw color light}}" {{!}} | {{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} | ||
{{{voice actor(s)|}}}}} | {{{voice actor(s)|}}}}} | ||
|- | |- | ||
{{#if:{{{family|}}}| | {{#if:{{{family|}}}| | ||
! style="border:1px solid #{{mw color light}}" align="right" {{!}} Family | ! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Family | ||
{{!}} style="border:1px solid #{{mw color light}}" {{!}} | {{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} | ||
{{{family|}}}}} | {{{family|}}}}} | ||
|- | |- | ||
! style=" | ! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Race | ||
{{!}} style=" | {{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{race|Unknown}}} | ||
| | |} | ||
|}<includeonly>{{#ifeq:{{NAMESPACE}}|User|{{Void}}|{{#if:{{{nocat|}}}||[[Category:Characters]]}}}}</includeonly><noinclude>{{clear}} | |}<includeonly>{{#ifeq:{{NAMESPACE}}|User|{{Void}}|{{#if:{{{nocat|}}}||[[Category:Characters]]}}}}</includeonly><noinclude>{{clear}} | ||
== Usage == | == Usage == | ||
This template is used to display a character's vital information. Either games, appearance, or both must be present. Race must also be present. The other fields are optional. <br/> | This template is used to display a character's vital information. Either games, appearance, or both must be present. Race must also be present. The other fields are optional. <br/> | ||
To add this template to an article copy and paste the following code and then fill in the information: | To add this template to an article copy and paste the following code and then fill in the information: | ||
{{Character-infobox | {{Character-infobox | ||
*'''Image:''' An image of the character, preferably artwork | *'''''Image:''''' An image of the character, preferably artwork | ||
*'''Caption:''' A caption for the image, be brief, always include with an image | *'''''Caption:''''' A caption for the image, be brief, always include with an image | ||
*'''Games:''' Any games the character appeared in | *'''''Games:''''' Any games the character appeared in | ||
*'''Appearances:''' Appearances outside of games | *'''''Appearances:''''' Appearances outside of games | ||
*'''Planet:''' The planet on which the character was born | *'''''Planet:''''' The planet on which the character was born | ||
*'''Gender:''' The gender of the character <small>(Male, Female, or Unknown)</small> | *'''''Gender:''''' The gender of the character <small>(Male, Female, or Unknown)</small> | ||
*'''Family:''' Any family related to the character | *'''''Family:''''' Any family related to the character | ||
*'''Voice actor(s):''' Voice actors who have played the character | *'''''Voice actor(s):''''' Voice actors who have played the character | ||
*'''Race:''' The physiological race of the character <small>(e.g. Human, Chozo)</small> Write Unknown or Unique if the creature is unique or most likely unique | *'''''Race:''''' The physiological race of the character <small>(e.g. Human, Chozo)</small> Write Unknown or Unique if the creature is unique or most likely unique | ||
'''Blank code <small>(paste onto page)</small>:''' | '''Blank code <small>(paste onto page)</small>:''' |
Revision as of 02:52, 25 January 2011
Usage
This template is used to display a character's vital information. Either games, appearance, or both must be present. Race must also be present. The other fields are optional.
To add this template to an article copy and paste the following code and then fill in the information:
{{Character-infobox
- Image: An image of the character, preferably artwork
- Caption: A caption for the image, be brief, always include with an image
- Games: Any games the character appeared in
- Appearances: Appearances outside of games
- Planet: The planet on which the character was born
- Gender: The gender of the character (Male, Female, or Unknown)
- Family: Any family related to the character
- Voice actor(s): Voice actors who have played the character
- Race: The physiological race of the character (e.g. Human, Chozo) Write Unknown or Unique if the creature is unique or most likely unique
Blank code (paste onto page):
{{Character-infobox |image= |caption= |planet= |gender= |games= |appearances= |family= |voice actor(s)= |race= |sprite= }}