Difference between revisions of "Template: Infobox monarch"

From A Wiki of Ice and Fire
Jump to: navigation, search
Line 15: Line 15:
 
| imageclass =
 
| imageclass =
 
-->
 
-->
 
+
| headerstyle  = background-color:#B0C4DE;
 
<!-- Biographical Information Section -->
 
<!-- Biographical Information Section -->
| data1 = <div style="width:100%;background-color:#B0C4DE;">Biographical Information</div>
+
| header1 = Biographical Information
  
 
| label2 = Reign
 
| label2 = Reign
Line 41: Line 41:
  
 
<!-- Family Section -->
 
<!-- Family Section -->
| data18 = {{#if: {{{royalhouse|}}}{{{predecessor|}}}{{{heir|}}}{{{successor|}}} {{{queen|}}}{{{consort|}}}{{{spouse|}}}{{{issue|}}} {{{father|}}}{{{mother|}}}| <div style="width:100%;background-color:#B0C4DE;">Family</div>}}
+
| header18 = {{#if: {{{royalhouse|}}}{{{predecessor|}}}{{{heir|}}}{{{successor|}}} {{{queen|}}}{{{consort|}}}{{{spouse|}}}{{{issue|}}} {{{father|}}}{{{mother|}}}| Family}}
  
 
| label19 = Royal House
 
| label19 = Royal House
Line 70: Line 70:
  
 
<!-- References Section -->
 
<!-- References Section -->
| data36 = {{#if: {{{TV_series|}}}{{{Played_by|}}}{{{Books|}}}|<div style="width:100%;background-color:#B0C4DE;">References</div>}}
+
| header36 = {{#if: {{{TV_series|}}}{{{Played_by|}}}{{{Books|}}}|References}}
 
| label37 = Books         
 
| label37 = Books         
 
| data37 = {{{Books|}}}
 
| data37 = {{{Books|}}}

Revision as of 19:58, 3 September 2018


His name
Monarch
Reign From Date to Date
Coronation Date
Full name text
Title Additional titles
Predecessor text
Heir text
Successor text
Personal Information
Alias text
Born Date
text
Died Date
text
Buried Date
text
Culture text
Family
Dynasty text
Queen text
Consort text
Spouse text
Issue list
Father text
Mother text

Usage

Empty Template for easy copy/paste:

{{Infobox monarch
| name          = 
| image         = 
| image_caption	= 
| reign		=
| coronation	=
| othertitles	=
| alias         =
| fullname	=
| predecessor	=
| successor	=
| heir		=
| queen		=
| consort	=
| spouse	=
| issue		=
| royalhouse	=
| father	=
| mother	=
| dateofbirth	=
| placeofbirth	=
| dateofdeath	=
| placeofdeath	=
| dateofburial	=
| placeofburial	=
| culture	= 
| coat-of-arms	=
| Books         =
| Played_by	=
| TV_series	=
}}

Note:Parameters which assigned no value are not shown when the template is used.
you can see a preview of the template with all of its fields on your right side.

{{Infobox monarch
| name          = 
| image         = Full Image syntax for example [[File:....|300px]].
| image_caption	=
| reign		= From {{Date|XXX}} to {{Date|XXX}} - Period during which he ruled
| coronation	= {{Date|XXX}} - when he was crowned
| othertitles	= additional titles 
| alias         =
| fullname	=
| predecessor	= the person who preceded him
| successor	= the person who succeeded him
| queen		= 
| consort	=
| spouse	=
| heir		= 
| issue		= other children
| royalhouse	=
| father	=
| mother	=
| dateofbirth	= {{Date|XXX}}
| placeofbirth	=
| dateofdeath	=
| placeofdeath	=
| dateofburial	=
| placeofburial	= 
| culture	= see [[:Category:Cultures]] for options.
| Books         = 
| Played_by	= 
| TV_series	= 
}}