Difference between revisions of "Template: Infobox monarch"

From A Wiki of Ice and Fire
Jump to: navigation, search
(test of additional affiliations)
(Undo revision 248779 by Potsk (talk))
(Tag: Undo)
 
(12 intermediate revisions by 7 users not shown)
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 28: Line 28:
 
| label6 = Alias
 
| label6 = Alias
 
| data6 = {{{alias|}}}
 
| data6 = {{{alias|}}}
| label7 = Other Titles
+
| label7 = Titles
 
| data7 = {{{othertitles|}}}
 
| data7 = {{{othertitles|}}}
| label40      = Affiliations
+
 
| date40        = {{affiliations|}}
 
 
| label10 = Born in
 
| label10 = Born in
| data10 = {{{dateofbirth|}}}{{#IF:{{{placeofbirth|}}}|, at {{{placeofbirth}}}|}}
+
| data10 = {{{dateofbirth|}}}{{#IF:{{{placeofbirth|}}}|{{#IF:{{{dateofbirth|}}}, at }}}} {{{placeofbirth|}}}
 
| label12 = Died in
 
| label12 = Died in
| data12 = {{{dateofdeath|}}}{{#IF:{{{placeofdeath|}}}|, at {{{placeofdeath}}}|}}
+
| data12 = {{{dateofdeath|}}}{{#IF:{{{placeofdeath|}}}|{{#IF:{{{dateofdeath|}}}, at }}}} {{{placeofdeath|}}}
 
| label14 = Buried in
 
| label14 = Buried in
| data14 = {{{dateofburial|}}}{{#IF:{{{placeofburial|}}}|, at {{{placeofburial}}}|}}
+
| data14 = {{{dateofburial|}}}{{#IF:{{{placeofburial|}}}|{{#IF:{{{dateofburial|}}}, at }}}} {{{placeofburial|}}}
 
| label16 = Culture
 
| label16 = Culture
 
| data16 = {{{culture|}}}
 
| data16 = {{{culture|}}}
  
 
<!-- 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 57: Line 56:
 
| label24 = Consort
 
| label24 = Consort
 
| data24 = {{{consort|}}}
 
| data24 = {{{consort|}}}
| label25 = Wife
+
| label25 = Betrothed
| data25 = {{{spouse1|{{{spouse|}}}}}}<!-- for compatibility-->
+
| data25 = {{{betrothed|}}}
| label26 = Issue
+
| label26 = Spouse
| data26 = {{{issue|}}}
+
| data26 = {{{spouse1|{{{spouse|}}}}}}<!-- for compatibility-->
 +
| label27 = Issue
 +
| data27 = {{{issue|}}}
  
| label27 = Father
+
| label28 = Father
| data27 = {{{father|}}}
+
| data28 = {{{father|}}}
| label28 = Mother
+
| label29 = Mother
| data28 = {{{mother|}}}
+
| data29 = {{{mother|}}}
  
| label28 = Mother
+
| label30      = Personal arms
| data28 = {{{mother|}}}
 
 
| data30 = {{{coat-of-arms|}}}
 
| data30 = {{{coat-of-arms|}}}
  
 
<!-- 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|}}}
Line 89: Line 89:
 
| alias        = text  
 
| alias        = text  
 
| othertitles = Additional titles
 
| othertitles = Additional titles
| affiliations  = Additional affiliations
 
 
| fullname = text
 
| fullname = text
 
| predecessor = text
 
| predecessor = text
Line 96: Line 95:
 
| queen = text
 
| queen = text
 
| consort = text
 
| consort = text
 +
| betrothed = text
 
| spouse = text
 
| spouse = text
| issue = Yes/No (I think)
+
| issue = list
 
| royalhouse = text
 
| royalhouse = text
 
| father = text
 
| father = text
Line 120: Line 120:
 
| coronation =
 
| coronation =
 
| othertitles =
 
| othertitles =
| affiliations  =
 
 
| alias        =
 
| alias        =
 
| fullname =
 
| fullname =
Line 128: Line 127:
 
| queen =
 
| queen =
 
| consort =
 
| consort =
 +
| betrothed =
 
| spouse =
 
| spouse =
 
| issue =
 
| issue =
Line 148: Line 148:
  
 
Note:Parameters which assigned no value are not shown when the template is used.<br />
 
Note:Parameters which assigned no value are not shown when the template is used.<br />
you can see a preview of the template with all of it's fields on your right side.
+
you can see a preview of the template with all of its fields on your right side.
  
 
<pre>
 
<pre>
Line 158: Line 158:
 
| coronation = {{Date|XXX}} - when he was crowned
 
| coronation = {{Date|XXX}} - when he was crowned
 
| othertitles = additional titles  
 
| othertitles = additional titles  
| affiliations  = additional affiliations
 
 
| alias        =
 
| alias        =
 
| fullname =
 
| fullname =
Line 165: Line 164:
 
| queen =  
 
| queen =  
 
| consort =
 
| consort =
 +
| betrothed =
 
| spouse =
 
| spouse =
 
| heir =  
 
| heir =  
| issue = other Kids
+
| issue = other children
 
| royalhouse =
 
| royalhouse =
 
| father =
 
| father =

Latest revision as of 13:04, 25 November 2019


His name
No image.jpg
Biographical Information
Reign From Date to Date
Coronation Date
Full Name text
Alias text
Titles Additional titles
Born in Date text
Died in Date text
Buried in Date text
Culture text
Family
Royal House text
Predecessor text
Heir text
Successor text
Queen text
Consort text
Betrothed 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	=
| betrothed	=
| 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	=
| betrothed	=
| 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	= 
}}