Template:Infobox character: Difference between revisions

Added a title property.
m (Text replacement - "[[Image:" to "[[File:")
(Added a title property.)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox"
{| class="infobox"
! colspan="2" class="infoboxTitle" | ''{{{name|{{PAGENAME}}}}}''
! colspan="2" class="infoboxTitle" | ''{{{title|{{{name|{{PAGENAME}}}}}}}}''
|-
|-
| colspan="2" style="text-align: center;" | [[File:{{{image}}}|{{{size|160px}}}|{{{caption|}}}]]
| colspan="2" style="text-align: center;" | [[File:{{{image}}}|{{{size|160px}}}|{{{caption|}}}]]
Line 9: Line 9:
| {{{name}}}
| {{{name}}}
|-
|-
! Gender
{{#if:{{{gender|}}}|! Gender
| {{{gender}}}
{{!}} {{{gender}}} }}
|-
|-
! Age
{{#if:{{{age|}}}|! Age
| {{{age}}}
{{!}} {{{age}}} }}
|-
|-
! Eye color
{{#if:{{{eyecolor|}}}|! Eye color
| {{{eyecolor}}}
{{!}} {{{eyecolor}}} }}
|-
|-
! Hair color
{{#if:{{{haircolor|}}}|! Hair color
| {{{haircolor}}}
{{!}} {{{haircolor}}} }}
|-
|-
! Home planet
! Home planet
Line 40: Line 40:
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Characters]]}}</includeonly><noinclude>
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Characters]]}}</includeonly><noinclude>


{{clear}}
==Info==
==Info==
Place this template at the top of character articles. This will create an information box with data about the character.
Place this template at the top of character articles. This will create an information box with data about the character.
Line 48: Line 49:
{| class = "wikitable"
{| class = "wikitable"
! Parameter || Mandatory || Default || Detailed description
! Parameter || Mandatory || Default || Detailed description
|-
! title
| No ||  || Infobox title, if different from the character's name.
|-
|-
! image
! image
Line 59: Line 63:
|-
|-
! gender
! gender
| '''Yes''' ||  || The character's gender.
| No ||  || The character's gender.
|-
|-
! age
! age
| '''Yes''' ||  || The character's age. If unknown but the stage of life is evident, write the name of the stage (e.g. adulthood), followed by "(age unknown)".
| No ||  || The character's age. If unknown but the stage of life is evident, write the name of the stage (e.g. adulthood), followed by "(age unknown)".
|-
|-
! eyecolor
! eyecolor
| '''Yes''' ||  || Eye color.
| No ||  || Eye color.
|-
|-
! haircolor
! haircolor
| '''Yes''' ||  || Hair color.
| No ||  || Hair color.
|-
|-
! homeplanet
! homeplanet
Line 95: Line 99:
<pre>
<pre>
{{infobox character
{{infobox character
|title      =
|image      =  
|image      =  
|size      =  
|size      =