Difference between revisions of "Template: Infobox character"

From A Wiki of Ice and Fire
Jump to: navigation, search
(fix table so if there's a missing DOB, it doesn't just say ", at ..." or a missing POB doesn't just say "In ..., ")
(add space)
Line 21: Line 21:
  
 
| label10 = Born
 
| label10 = Born
| data10 = {{#if:{{{Date_of_Birth|}}}|{{#if:{{{Place_of_Birth|}}}|In {{{Date_of_Birth}}}, at{{{Place_of_Birth}}}|In {{{Date_of_Birth}}}}}|{{#if:{{{Place_of_Birth|}}}|At {{{Place_of_Birth}}}|}}|}}
+
| data10 = {{#if:{{{Date_of_Birth|}}}|{{#if:{{{Place_of_Birth|}}}|In {{{Date_of_Birth}}}, at {{{Place_of_Birth}}}|In {{{Date_of_Birth}}}}}|{{#if:{{{Place_of_Birth|}}}|At {{{Place_of_Birth}}}|}}|}}
 
| label11 = Died  
 
| label11 = Died  
 
| data11 = {{#if:{{{Date_of_Death|}}}|In {{{Date_of_Death}}}|}}{{#if:{{{Date_of_Death|}}}{{{Place_of_Death|}}}|, |}}{{#if:{{{Place_of_Death|}}}|at {{{Place_of_Death}}}|}}
 
| data11 = {{#if:{{{Date_of_Death|}}}|In {{{Date_of_Death}}}|}}{{#if:{{{Date_of_Death|}}}{{{Place_of_Death|}}}|, |}}{{#if:{{{Place_of_Death|}}}|at {{{Place_of_Death}}}|}}

Revision as of 03:13, 4 November 2012


Character name
175px
Image caption

Alias text
Title text
Allegiance text
Race text
Culture text
Born date
text
Died date
text
Spouse text
Personal arms COA
Book text

Played by text
TV series text

Usage

{{Infobox character
| Character_name = 
| image          = 
| image_caption  = 
| Alias          =
| Title          =
| Allegiance     =
| Race           =
| Culture        =
| Spouse         =
| Place_of_Birth =
| Date_of_Birth  =
| Place_of_Death =
| Date_of_Death  =
| Books          =
| coat-of-arms   =
| Played_by      =
| TV_series      = 
}}

Parameters

  • Parameters which get no value are not shown when the template used.
  • you can add multipile values by seperating them with '<br>' tag.
Character_name Character name to display in top header
image Image of the character. Use full image syntax, for example [[File:example.png|200px|alt=Example alt text]].
image_caption
Alias
Title
Allegiance InterLink to the appropriate [[Noble Houses]].
Race ???
Culture Choose appropriate values from the list of Cultures
Spouse InterLink to the appropriate [[Characters]].
Place_of_Birth InterLink to the appropriate [[Location]].
Date_of_Birth Use {{Date|XXX}}| to display dates.
Place_of_Death
Date_of_Death
Books Choose appropriate values from the list of Books
coat-of-arms ??? add Image or description ???
Played by link to Wikipedia with [[w:Article name|Actor name]]
TV_series