Difference between revisions of "Template: Infobox character"

From A Wiki of Ice and Fire
Jump to: navigation, search
(Added predecessor/successor and lovers modules)
(One intermediate revision by one other user not shown)
Line 9: Line 9:
  
 
| data2 = {{#if:{{{image|}}}|{{#ifeq:{{{image|}}}|<br>||<hr>}}}}
 
| data2 = {{#if:{{{image|}}}|{{#ifeq:{{{image|}}}|<br>||<hr>}}}}
| label3 = Alias
+
| label3 = Alias(es)
 
| data3 = {{{Alias|}}}
 
| data3 = {{{Alias|}}}
| label4        = Title
+
| label4        = Title(s)
 
| data4        = {{{Title|}}}
 
| data4        = {{{Title|}}}
 
| label5 = Allegiance
 
| label5 = Allegiance
 
| data5 = {{{Allegiance|}}}
 
| data5 = {{{Allegiance|}}}
 +
| label6        = Predecessor
 +
| data6        = {{{Predecessor|}}}
 +
| label7        = Successor
 +
| data7        = {{{Successor|}}}
  
 
| label8 = Race
 
| label8 = Race
 
| data8 = {{#if:{{{Race|}}}|{{{Race}}}[[Category:Pages with the race parameter]]}}
 
| data8 = {{#if:{{{Race|}}}|{{{Race}}}[[Category:Pages with the race parameter]]}}
| label9 = Culture
+
| label9 = Culture(s)
 
| data9 = {{{Culture|}}}
 
| data9 = {{{Culture|}}}
  
Line 25: Line 29:
 
| label11 = Died  
 
| label11 = Died  
 
| data11 = {{#if:{{{Date_of_Death|}}}|{{#if:{{{Place_of_Death|}}}|In&nbsp;{{{Date_of_Death}}},&nbsp;at&nbsp;{{{Place_of_Death}}}|In&nbsp;{{{Date_of_Death}}}}}|{{#if:{{{Place_of_Death|}}}|At&nbsp;{{{Place_of_Death}}}|}}|}}
 
| data11 = {{#if:{{{Date_of_Death|}}}|{{#if:{{{Place_of_Death|}}}|In&nbsp;{{{Date_of_Death}}},&nbsp;at&nbsp;{{{Place_of_Death}}}|In&nbsp;{{{Date_of_Death}}}}}|{{#if:{{{Place_of_Death|}}}|At&nbsp;{{{Place_of_Death}}}|}}|}}
| label14       = Father
+
| label12 = Spouse(s)
| data14       = {{{Father|}}}
+
| data12 = {{{Spouse|}}}
| label15      = Mother
+
| label13       = Lover(s)
| data15        = {{{Mother|}}}
+
| data13       = {{{Lover|}}}
| label16 = Spouse
+
| label14 = Issue
| data16 = {{{Spouse|}}}
+
| data14 = {{{Issue|}}}
| label17 = Issue
+
| label15      = Father
| data17 = {{{Issue|}}}
+
| data15        = {{{Father|}}}
| label19 = Book(s)
+
| label16      = Mother
| data19 = {{{Books|}}}
+
| data16        = {{{Mother|}}}
 +
| label17 = Book(s)
 +
| data17 = {{{Books|}}}
  
| label18 = Personal Arms
+
| label18 = Personal arms
 
| data18 = {{{coat-of-arms|}}}
 
| data18 = {{{coat-of-arms|}}}
  

Revision as of 14:17, 26 December 2020

Template documentation[view] [edit] [history] [purge]
None.svg {{{title}}}
{{{nickname}}} {{{firstname}}} {{{particle}}} {{{lastname}}}
{{{epithet}}}
None.svg
No portrait.svg
{{{image_caption}}}

Alias {{{Alias}}}
Title {{{Title}}}
Allegiance {{{Allegiance}}}
Predecessor {{{Predecessor}}}
Successor {{{Successor}}}
Race {{{Race}}}
Culture {{{Culture}}}
Born {{{Date_of_Birth}}}
{{{Place_of_Birth}}}
Died {{{Date_of_Death}}}
{{{Place_of_Death}}}
Buried {{{Date_of_Burial}}}
{{{Place_of_Burial}}}
Father {{{Father}}}
Mother {{{Mother}}}
Spouse {{{Spouse}}}
Lover {{{Lover}}}
Issue {{{Issue}}}
Personal arms {{{coat}}}
Book {{{Books}}}

Played by {{{Played_by}}}
TV series {{{TV_series}}}

Usage

{{Infobox character  <!-- Example shown on the right -->
| title 		= {{{title}}}
| nickname 		= {{{nickname}}}
| firstname 		= {{{firstname}}}
| particle 		= {{{particle}}}
| lastname 		= {{{lastname}}}
| epithet 		= {{{epithet}}}
| arms 			= None
| arms2 		= <!-- not needed if identical to {{{arms}}} -->
| image 		= No portrait.svg
| image_caption 	= {{{image_caption}}}
| Alias 		= {{{Alias}}}
| Title 		= {{{Title}}}
| Allegiance 		= {{{Allegiance}}}
| Predecessor 		= {{{Predecessor}}}
| Successor 		= {{{Successor}}}
| Race 			= {{{Race}}}
| Culture 		= {{{Culture}}}
| Date_of_Birth 	= {{{Date_of_Birth}}}
| Place_of_Birth 	= {{{Place_of_Birth}}}
| Date_of_Death 	= {{{Date_of_Death}}}
| Place_of_Death 	= {{{Place_of_Death}}}
| Date_of_Burial 	= {{{Date_of_Burial}}}
| Place_of_Burial 	= {{{Place_of_Burial}}}
| Father 		= {{{Father}}}
| Mother 		= {{{Mother}}}
| Spouse 		= {{{Spouse}}}
| Lover 		= {{{Lover}}}
| Issue 		= {{{Issue}}}
| coat-of-arms 		= {{{coat}}}
| Books 		= {{{Books}}}
| Played_by 		= {{{Played_by}}} 
| TV_series 		= {{{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.
Name parts
  • title
  • nickname
  • firstname
  • particle
  • lastname
  • epithet
Name parts
  • Main title that the character bears
  • Nickname, when it is a main part of the name
  • First name
  • Particle coming before the last name (e.g. "of", "zo", "mo")
  • Last name/house name
  • Epithet/sobriquet, also used for nameless characters (e.g. "the Tall", "A certain man")
arms Main coat of arms / symbol representing the character.
Template:Coa/list contains all the available values.
arms2 Secondary coat of arms / symbol representing the character. Not needed if identical to main one!
image Image of the character. Use just the file name or the full image syntax.
For example: Example.png or [[File:example.png|200px|alt=Example alt text]].
image_caption
Alias
Title
Allegiance InterLink to the appropriate [[Noble House]]s.
Predecessor
Successor
Culture Choose appropriate values from the list of Cultures
Date_of_Birth Use {{Date|XXX}} to display dates.
Place_of_Birth InterLink to the appropriate [[Location]].
Date_of_Death Use {{Date|XXX}} to display dates.
Place_of_Death InterLink to the appropriate [[Location]].
Date_of_Burial Use {{Date|XXX}} to display dates.
Place_of_Burial InterLink to the appropriate [[Location]].
Father InterLink to the appropriate [[Character]].
Mother InterLink to the appropriate [[Character]].
Spouse InterLink to the appropriate [[Character]]s.
Lover InterLink to the appropriate [[Character]]s.
Issue InterLink to the appropriate [[Character]]s.
coat-of-arms ??? add Image or description ???
Books Choose appropriate values from the list of Books
Played_by link to Wikipedia with [[w:Article name|Actor name]]
TV_series