Difference between revisions of "Template: Infobox character/doc"

From A Wiki of Ice and Fire
Jump to: navigation, search
m (Betrothed)
m
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
+
{{Infobox character
 
+
| title = {{{title}}}
{{Character  <!-- Example show on the right -->
+
| nickname = {{{nickname}}}
| Character_name = Character name
+
| firstname = {{{firstname}}}
| image         = [[Image:No portrait.svg|250px]]
+
| particle = {{{particle}}}
| image_caption = Image caption
+
| lastname = {{{lastname}}}
| Alias         = text
+
| epithet = {{{epithet}}}
| Title         = text
+
| arms = None
| Allegiance     = text
+
| arms2 = <!-- not needed if identical to {{{arms}}} -->
| Race           = text
+
| image = No portrait.svg
| Culture       = text
+
| image_caption = {{{image_caption}}}
| Betrothed      = text
+
| Alias = {{{Alias}}}
| Spouse        = text
+
| Title = {{{Title}}}
| Issue          = text
+
| Allegiance = {{{Allegiance}}}
| Place_of_Birth = text
+
| Predecessor = {{{Predecessor}}}
| Date_of_Birth  = date
+
| Successor = {{{Successor}}}
| Place_of_Death = text
+
| Race = {{{Race}}}
| Date_of_Death  = date
+
| Culture = {{{Culture}}}
| Books          = text
+
| Date_of_Birth = {{{Date_of_Birth}}}
| coat-of-arms   = COA
+
| Place_of_Birth = {{{Place_of_Birth}}}
| Played_by     = text
+
| Date_of_Death = {{{Date_of_Death}}}
| TV_series     = text
+
| 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}}}
 
}}
 
}}
  
 
===Usage===
 
===Usage===
<pre>{{Infobox character
+
<pre>{{Infobox character <!-- Example shown on the right -->
| Character_name =  
+
| title = {{{title}}}
| image         =  
+
| nickname = {{{nickname}}}
| image_caption =  
+
| firstname = {{{firstname}}}
| Alias         =
+
| particle = {{{particle}}}
| Title         =
+
| lastname = {{{lastname}}}
| Allegiance     =
+
| epithet = {{{epithet}}}
| Race           =
+
| arms = None
| Culture       =
+
| arms2 = <!-- not needed if identical to {{{arms}}} -->
| Betrothed      =
+
| image = No portrait.svg
| Spouse        =
+
| image_caption = {{{image_caption}}}
| Issue          =
+
| Alias = {{{Alias}}}
| Place_of_Birth =
+
| Title = {{{Title}}}
| Date_of_Birth  =
+
| Allegiance = {{{Allegiance}}}
| Place_of_Death =
+
| Predecessor = {{{Predecessor}}}
| Date_of_Death  =
+
| Successor = {{{Successor}}}
| Books          =
+
| Race = {{{Race}}}
| coat-of-arms   =
+
| Culture = {{{Culture}}}
| Played_by     =
+
| Date_of_Birth = {{{Date_of_Birth}}}
| TV_series     =  
+
| 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}}}
 
}}</pre>
 
}}</pre>
  
 
===Parameters===
 
===Parameters===
 
* Parameters which get no value are not shown when the template used.
 
* Parameters which get no value are not shown when the template used.
* you can add multipile values by seperating them with <nowiki>'<br>'</nowiki> tag.
+
* You can add multipile values by seperating them with <nowiki>'<br>'</nowiki> tag.
  
 
{| class="wikitable"
 
{| class="wikitable"
| Character_name|| Character name to display in top header
+
| Name parts
 +
* <code>title</code>
 +
* <code>nickname</code>
 +
* <code>firstname</code>
 +
* <code>particle</code>
 +
* <code>lastname</code>
 +
* <code>epithet</code>
 +
| 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")
 +
|-
 +
| <code>arms</code>          || Main coat of arms / symbol representing the character.<br>'''[[Template:Coa/list]] contains all the available values.'''
 +
|-
 +
| <code>arms2</code>        || Secondary coat of arms / symbol representing the character. '''Not needed if identical to main one!'''
 +
|-
 +
| <code>image</code>        || Image of the character. Use just the file name or the full image syntax.<br>For example: <code><nowiki>Example.png</nowiki></code> or <code><nowiki>[[File:example.png|200px|alt=Example alt text]]</nowiki></code>.
 +
|-
 +
| <code>image_caption</code> ||
 +
|-
 +
| <code>Alias</code>        ||
 +
|-
 +
| <code>Title</code>        ||
 +
|-
 +
| <code>Allegiance</code>    || InterLink to the appropriate  <code><nowiki>[[Noble House]]s</nowiki></code>.
 
|-
 
|-
| image        || Image of the character.  Use full image syntax, for example ''<nowiki>[[File:example.png|200px|alt=Example alt text]]</nowiki>''.
+
| <code>Predecessor</code>   ||
 
|-
 
|-
| image_caption ||  
+
| <code>Successor</code>    ||  
 
|-
 
|-
| Alias        ||  
+
| <code>Culture</code>      || Choose appropriate values from the list of [[:Category:Cultures|Cultures]]
 
|-
 
|-
| Title        ||  
+
| <code>Date_of_Birth</code> || Use <code>{{tl|Date|XXX}}</code>  to display dates.
 
|-
 
|-
| Allegiance    || InterLink to the appropriate ''<nowiki>[[Noble Houses]]</nowiki>''.
+
| <code>Place_of_Birth</code>|| InterLink to the appropriate <code><nowiki>[[Location]]</nowiki></code>.
 
|-
 
|-
| Race          || ???
+
| <code>Date_of_Death</code> || Use <code>{{tl|Date|XXX}}</code> to display dates.
 
|-
 
|-
| Culture      || Choose appropriate values from the list of [[:Category:Cultures|Cultures]]
+
| <code>Place_of_Death</code>|| InterLink to the appropriate <code><nowiki>[[Location]]</nowiki></code>.
 
|-
 
|-
| Betrothed    || InterLink to the appropriate ''<nowiki>[[Characters]]</nowiki>''.
+
| <code>Date_of_Burial</code>|| Use <code>{{tl|Date|XXX}}</code> to display dates.
 
|-
 
|-
| Spouse        || InterLink to the appropriate ''<nowiki>[[Characters]]</nowiki>''.
+
| <code>Place_of_Burial</code>|| InterLink to the appropriate <code><nowiki>[[Location]]</nowiki></code>.
 
|-
 
|-
| Issue        || InterLink to the appropriate ''<nowiki>[[Characters]]</nowiki>''.
+
| <code>Father</code>        || InterLink to the appropriate <code><nowiki>[[Character]]</nowiki></code>.
 
|-
 
|-
| Place_of_Birth|| InterLink to the appropriate ''<nowiki>[[Location]]</nowiki>''.
+
| <code>Mother</code>        || InterLink to the appropriate <code><nowiki>[[Character]]</nowiki></code>.
 
|-
 
|-
| Date_of_Birth || Use [[Template:Date|<nowiki>{{Date|XXX}}</nowiki>|]] to display dates.
+
| <code>Spouse</code>        || InterLink to the appropriate <code><nowiki>[[Character]]s</nowiki></code>.
 
|-
 
|-
| Place_of_Death||  
+
| <code>Lover</code>        || InterLink to the appropriate <code><nowiki>[[Character]]s</nowiki></code>.
 
|-
 
|-
| Date_of_Death ||  
+
| <code>Issue</code>        || InterLink to the appropriate <code><nowiki>[[Character]]s</nowiki></code>.
 
|-
 
|-
| Books        || Choose appropriate values from the list of [[:Category:Books|Books]]
+
| <code>coat-of-arms</code>  || ??? add Image or description ???
 
|-
 
|-
| coat-of-arms  || ??? add Image or description ???
+
| <code>Books</code>        || Choose appropriate values from the list of [[:Category:Books|Books]]
 
|-
 
|-
| Played by     || link to Wikipedia with ''<nowiki>[[w:Article name|Actor name]]</nowiki>''
+
| <code>Played_by</code>     || link to Wikipedia with <code><nowiki>[[w:Article name|Actor name]]</nowiki></code>
 
|-
 
|-
| TV_series    ||  
+
| <code>TV_series</code>     ||  
 
|}
 
|}
 
<includeonly>
 
<includeonly>
 
[[Category:Infobox templates|Character]]</includeonly>
 
[[Category:Infobox templates|Character]]</includeonly>

Latest revision as of 08:29, 15 January 2023

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 In {{{Date_of_Birth}}}, {{{Place_of_Birth}}}
Died In {{{Date_of_Death}}}, {{{Place_of_Death}}}
Buried In {{{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