Difference between revisions of "Template: Infobox monarch"
From A Wiki of Ice and Fire
m |
|||
(29 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
− | | title = {{{name}}} | + | | title = {{#if:{{{monarch_name|}}}|| {{{name|{{PAGENAME}}}}} }} |
+ | | titlestyle = {{{titlestyle|}}} | ||
+ | | above = {{{monarch_name|}}} | ||
+ | | abovestyle = {{{abovestyle|background: #E0E8FF; text-align:center;}}} | ||
+ | |||
| image = {{{image|[[Image:No_image.jpg|200px]]}}} | | image = {{{image|[[Image:No_image.jpg|200px]]}}} | ||
| caption = {{{image_caption|}}} | | caption = {{{image_caption|}}} | ||
+ | | imagestyle = {{{imagestyle|}}} | ||
− | | | + | <!-- |
+ | | bodyclass = | ||
+ | | titleclass = | ||
+ | | aboveclass = | ||
+ | | imageclass = | ||
+ | --> | ||
+ | | headerstyle = background-color:#B0C4DE; | ||
+ | <!-- Biographical Information Section --> | ||
+ | | header1 = Biographical Information | ||
| label2 = Reign | | label2 = Reign | ||
Line 15: | Line 28: | ||
| label6 = Alias | | label6 = Alias | ||
| data6 = {{{alias|}}} | | data6 = {{{alias|}}} | ||
− | | label7 = | + | | label7 = Titles |
| data7 = {{{othertitles|}}} | | data7 = {{{othertitles|}}} | ||
− | + | | label10 = Born | |
− | | label10 = Born | + | | data10 = {{#if:{{{dateofbirth|}}}|{{#if:{{{placeofbirth|}}}|In {{{dateofbirth}}}, at {{{placeofbirth}}}|In {{{dateofbirth}}}}}|{{#if:{{{placeofbirth|}}}|At {{{placeofbirth}}}|}}|}} |
− | | data10 = {{{dateofbirth|}}} | + | | label11 = Died |
− | | label11 = | + | | data11 = {{#if:{{{dateofdeath|}}}|{{#if:{{{placeofdeath|}}}|In {{{dateofdeath}}}, at {{{placeofdeath}}}|In {{{dateofdeath}}}}}|{{#if:{{{placeofdeath|}}}|At {{{placeofdeath}}}|}}|}} |
− | | data11 = {{{ | + | | label14 = Buried |
− | | | + | | data14 = {{#if:{{{dateofburial|}}}|{{#if:{{{placeofburial|}}}|In {{{dateofburial}}}, at {{{placeofburial}}}|In {{{dateofburial}}}}}|{{#if:{{{placeofburial|}}}|At {{{placeofburial}}}|}}|}} |
− | | | ||
− | | | ||
− | | | ||
− | | label14 = Buried | ||
− | | data14 = {{{dateofburial|}}} | ||
− | | | ||
− | | | ||
| label16 = Culture | | label16 = Culture | ||
− | | | + | | data16 = {{{culture|}}} |
− | + | <!-- Family Section --> | |
− | | | + | | header18 = {{#if: {{{royalhouse|}}}{{{predecessor|}}}{{{heir|}}}{{{successor|}}} {{{queen|}}}{{{consort|}}}{{{spouse|}}}{{{issue|}}} {{{father|}}}{{{mother|}}}| Family}} |
| label19 = Royal House | | label19 = Royal House | ||
Line 49: | Line 55: | ||
| label24 = Consort | | label24 = Consort | ||
| data24 = {{{consort|}}} | | data24 = {{{consort|}}} | ||
− | | label25 = | + | | label25 = Betrothed |
− | | data25 = {{{spouse1|{{{spouse|}}}}}}<!-- for compatibility--> | + | | data25 = {{{betrothed|}}} |
− | | | + | | label26 = Spouse |
− | | | + | | data26 = {{{spouse1|{{{spouse|}}}}}}<!-- for compatibility--> |
+ | | label27 = Issue | ||
+ | | data27 = {{{issue|}}} | ||
− | | | + | | label28 = Father |
− | | | + | | data28 = {{{father|}}} |
− | | | + | | label29 = Mother |
− | | | + | | data29 = {{{mother|}}} |
− | | | + | | label30 = Personal arms |
+ | | data30 = {{{coat-of-arms|}}} | ||
+ | |||
+ | <!-- References Section --> | ||
+ | | header36 = {{#if: {{{TV_series|}}}{{{Played_by|}}}{{{Books|}}}|References}} | ||
| label37 = Books | | label37 = Books | ||
| data37 = {{{Books|}}} | | data37 = {{{Books|}}} | ||
Line 67: | Line 79: | ||
| data39 = {{{TV_series|}}} | | data39 = {{{TV_series|}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
− | |||
<!-- Example --> | <!-- Example --> | ||
Line 83: | Line 94: | ||
| queen = text | | queen = text | ||
| consort = text | | consort = text | ||
+ | | betrothed = text | ||
| spouse = text | | spouse = text | ||
− | | issue = | + | | issue = list |
| royalhouse = text | | royalhouse = text | ||
| father = text | | father = text | ||
Line 94: | Line 106: | ||
| dateofburial = Date | | dateofburial = Date | ||
| placeofburial = text | | placeofburial = text | ||
+ | | culture = text | ||
}} | }} | ||
==Usage== | ==Usage== | ||
− | Empty Template: | + | Empty Template for easy copy/paste: |
<pre> | <pre> | ||
{{Infobox monarch | {{Infobox monarch | ||
Line 113: | Line 126: | ||
| queen = | | queen = | ||
| consort = | | consort = | ||
+ | | betrothed = | ||
| spouse = | | spouse = | ||
| issue = | | issue = | ||
Line 124: | Line 138: | ||
| dateofburial = | | dateofburial = | ||
| placeofburial = | | placeofburial = | ||
− | | | + | | culture = |
+ | | coat-of-arms = | ||
| Books = | | Books = | ||
| Played_by = | | Played_by = | ||
Line 132: | Line 147: | ||
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 | + | you can see a preview of the template with all of its fields on your right side. |
<pre> | <pre> | ||
Line 145: | Line 160: | ||
| fullname = | | fullname = | ||
| predecessor = the person who preceded him | | predecessor = the person who preceded him | ||
− | | successor = the person who | + | | successor = the person who succeeded him |
− | |||
| queen = | | queen = | ||
| consort = | | consort = | ||
+ | | betrothed = | ||
| spouse = | | spouse = | ||
− | | issue = | + | | heir = |
+ | | issue = other children | ||
| royalhouse = | | royalhouse = | ||
| father = | | father = | ||
Line 159: | Line 175: | ||
| placeofdeath = | | placeofdeath = | ||
| dateofburial = | | dateofburial = | ||
− | | placeofburial = | + | | placeofburial = |
+ | | culture = see [[:Category:Cultures]] for options. | ||
| Books = | | Books = | ||
| Played_by = | | Played_by = |
Revision as of 07:40, 2 June 2020
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 |
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 = }}