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

From A Wiki of Ice and Fire
Jump to: navigation, search
Line 8: Line 8:
 
     Three or more coats of arms
 
     Three or more coats of arms
  
--><div style="text-align:justify;text-justify:distribute-all-lines;margin-bottom:-1.3em;">[[File:{{{arms}}}|50x80px]] [[File:{{{arms2}}}|50x80px]] [[File:{{{arms3}}}|50x80px]] {{#if:{{{arms4|}}}|[[File:{{{arms4}}}|50x80px]] {{#if:{{{arms5|}}}|[[File:{{{arms5}}}|50x80px]]}}}}<span style="width:100%;display:inline-block;height:0;"></span></div>{{Br separated entries
+
--><div style="text-align:justify;text-justify:distribute-all-lines;margin-bottom:-1.3em;">[[File:{{{arms}}}|50x70px]] [[File:{{{arms2}}}|50x70px]] [[File:{{{arms3}}}|50x70px]] {{#if:{{{arms4|}}}|[[File:{{{arms4}}}|50x70px]] {{#if:{{{arms5|}}}|[[File:{{{arms5}}}|50x70px]]}}}}<span style="width:100%;display:inline-block;height:0;"></span></div>{{Br separated entries
 
  | 1 = {{#if:{{{honorific_prefix|}}}|<span class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific_prefix}}}</span>}}
 
  | 1 = {{#if:{{{honorific_prefix|}}}|<span class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific_prefix}}}</span>}}
 
  | 2 = <span class="fn">{{{name}}}</span>
 
  | 2 = <span class="fn">{{{name}}}</span>
Line 18: Line 18:
 
-->|{{#if:{{{arms|}}}|<table style="width:100%;">
 
-->|{{#if:{{{arms|}}}|<table style="width:100%;">
 
<tr>
 
<tr>
<td style="vertical-align:top;text-align:left;width:50px;">[[File:{{{arms}}}|50x80px]]</td>
+
<td style="vertical-align:top;text-align:left;width:50px;">[[File:{{{arms}}}|50x70px]]</td>
 
<td style="vertical-align:middle;text-align:center;padding-bottom:5px;">{{Br separated entries
 
<td style="vertical-align:middle;text-align:center;padding-bottom:5px;">{{Br separated entries
 
  | 1 = {{#if:{{{honorific_prefix|}}}|<span class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific_prefix}}}</span>}}
 
  | 1 = {{#if:{{{honorific_prefix|}}}|<span class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific_prefix}}}</span>}}
Line 24: Line 24:
 
  | 3 = {{#if:{{{honorific_suffix|}}}|<span class="honorific-suffix" style="font-size: 77%; font-weight: normal;">{{{honorific_suffix}}}</span>}}
 
  | 3 = {{#if:{{{honorific_suffix|}}}|<span class="honorific-suffix" style="font-size: 77%; font-weight: normal;">{{{honorific_suffix}}}</span>}}
 
  }}</td>
 
  }}</td>
<td style="vertical-align:top;text-align:right;width:50px;">[[File:{{{arms2|{{{arms}}}}}}|50x80px]]</td>
+
<td style="vertical-align:top;text-align:right;width:50px;">[[File:{{{arms2|{{{arms}}}}}}|50x70px]]</td>
 
</tr>
 
</tr>
 
</table>|<!--
 
</table>|<!--

Revision as of 15:39, 6 July 2018

{{{name}}}
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