FANDOM


(New page: {| class="infobox" style="font-size:89%; width:300px;" |- ! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}} |- style="te...)
Line 1: Line 1:
 
{| class="infobox" style="font-size:89%; width:300px;"
 
{| class="infobox" style="font-size:89%; width:300px;"
 
|-
 
|-
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
+
! colspan="2" style="background-color:#920D0F; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
 
|- style="text-align:center;"
 
|- style="text-align:center;"
 
| colspan="2" style="padding:0.5em;" | [[{{{image|Image:Placeholder person.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
 
| colspan="2" style="padding:0.5em;" | [[{{{image|Image:Placeholder person.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
 
|-
 
|-
! colspan="2" style="background-color:#3366CC; color:#ffffff;" | Vital statistics
+
! colspan="2" style="background-color:#920D0F; color:#ffffff;" | Vital statistics
 
|-
 
|-
| style="width:30%;" | '''Title'''
+
| style="width:30%;" | '''Titles'''
| style="width:70%;" | {{{title}}}
+
| style="width:70%;" | {{{titles}}}
 
|-
 
|-
 
| '''Gender'''
 
| '''Gender'''
 
| {{{gender}}}
 
| {{{gender}}}
 
|-
 
|-
| '''Race'''
+
{{ #if:{{{age|}}} |
| {{{race}}}
+
{{!}} <div style="color:white">'''Age'''</div>
  +
{{!}} <div style="color:white">{{{age|}}}</div>
  +
}}
 
|-
 
|-
| '''Faction'''
+
| '''Affiliation'''
| {{{faction}}}
+
| {{{affiliation}}}
 
|-
 
|-
| '''Health'''
+
| '''Role'''
| {{{health}}}
+
| {{{role}}}
 
|-
 
|-
| '''Level'''
+
{{ #if:{{{weapons|}}} |
| {{{level}}}
+
{{!}} <div style="color:white">'''Weapons'''</div>
|-
+
{{!}} <div style="color:white">{{{weapons|}}}</div>
| '''Status'''
+
}}
| {{{status}}}
 
 
|-
 
|-
 
| '''Location'''
 
| '''Location'''

Revision as of 22:38, May 10, 2010

Infobox character
250px
Vital statistics
Titles {{{titles}}}
Gender {{{gender}}}
Affiliation {{{affiliation}}}
Role {{{role}}}
Location {{{location}}}

[edit · purge]
Template documentation (for the template shown above, sometimes hidden or invisible)
Description
This template is used to create a character infobox.
Syntax
Type {{infobox character|<...>}} somewhere, with parameters as shown below.
Sample output
{{infobox character
| name       = Bob [defaults to pagename]
| image      = Image:Example.jpg
| imagewidth = [defaults to 250]
| caption    = Bob the Flower
| titles      = The Flower
| gender     = Male
| affiliation = Flora
| age        = 2
| location   = The Garden
| weapons    = Leaves
| role       = Flower
| game       = ''[[Red Dead Redemption]]''
}}

Results in...


Documentation transcluded from Template:Infobox character/doc.
Community content is available under CC-BY-SA unless otherwise noted.