Template:Infobox character: Difference between revisions

Added a title property.
m (Text replacement - "<noinclude> ==Info==" to "<noinclude> {{clear}} ==Info==")
(Added a title property.)
 
(2 intermediate revisions by 2 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 49: 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 60: 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 96: Line 99:
<pre>
<pre>
{{infobox character
{{infobox character
|title      =
|image      =  
|image      =  
|size      =  
|size      =