Difference between revisions of "Template:Infobox monarchy"

From MicroWiki, the micronational encyclopædia
Jump to: navigation, search
(Tags: Mobile edit, Mobile web edit)
Line 1: Line 1:
{| class="infobox" style="width:20.5em; text-align:center; margin-left:1em; margin-bottom:1em; padding:0em 0em 0em 0em; border:1px solid silver"
+
{{Infobox
!colspan=2 style="background:none; padding:0.2em 0.2em 0.2em 0.2em;" |<big><!--<font color=white>--> {{{royal_title}}} of {{{realm}}}{{#if: {{{native_name|}}}|<br />{{{native_name}}}}}
+
| bodyclass = vcard
|-
+
 
|colspan="2" style="padding:0; font-family:serif; font-weight:bold; text-transform:uppercase; font-size:90%; line-height:110%; color:white; background:rgb(155, 9, 137);"|Monarchy
+
| aboveclass = adr
|-
+
| above  = <includeonly>{{{royal_title}}} of <span class="country-name">{{{realm}}}</span></includeonly>
|colspan="2" style="padding:0; font-family:serif; font-weight:bold; text-transform:uppercase; font-size:90%; line-height:110%; color:{{#switch:{{{border|}}}|provincial=rgb(106,150,212)|federal=rgb(237,112,112)|imperial=rgb(213,115,111)|royalimperial=rgb(213,115,111)|imperialroyal=rgb(213,115,111)}}; background:{{#switch:{{{border|}}}|provincial=rgb(44,94,165)|federal=rgb(212,36,36)|imperial=rgb(68,15,102)|royalimperial=rgb(68,15,102)|imperialroyal=rgb(68,15,102)}};"|{{#switch:{{{border|}}}|provincial=Provincial/State|federal=Federal|imperial=Imperial|royalimperial=Royal & Imperial|imperialroyal=Imperial and Royal}}
+
 
|-
+
| subheaderstyle = font-weight: bold;
{{#if:{{{coatofarms|}}}|
+
| subheader  = {{{native_name|}}}
{{!}}colspan=2 v-align="bottom"{{!}}{{#switch:{{{coatofarms|}}}|UKofGBandNI COAs.png=[[File:UKofGBandNI COAs.png|500px]]|#default=[[File:{{{coatofarms}}}|100px]]}}<br>{{#switch:{{{type|[[{{{coatofarms_article}}}|<small>Royal Coat of Arms of {{{realm}}}</small>]]}}}|commonwealth=[[{{{coatofarms_article}}}|<small>Royal Coat of Arms of {{{realm}}}</small>]]|non-commonwealth=[[{{{coatofarms_article}}}|<small>Royal Coat of Arms of {{{realm}}}</small>]]|other=[[{{{coatofarms_article}}}|<small>Arms of {{{his/her}}} Majesty The {{{royal_title}}} of {{{realm}}}</small>]]|other2=[[{{{coatofarms_article}}}|<small>Arms of {{{his/her}}} Highness the {{{royal_title}}} of {{{realm}}}</small>]]|other3=[[{{{coatofarms_article}}}|<small>Arms of {{{his/her}}} Highness the {{{royal_title}}} of {{{realm}}}</small>]]|other4=[[{{{coatofarms_article}}}|<small>Arms of {{{his/her}}} Highness the {{{royal_title}}} of {{{realm}}}</small>]]|#default=<small>{{{coatofarms_article}}}</small>}}
+
| subheader2 = {{#if:{{{border|}}}|
----
+
<div style="font-family: serif; font-size: 90%; font-weight: bold; text-transform: uppercase;
}}
+
            line-height: 125%; background-color: rgb(125,7,110); color: white;">{{#switch:{{{border}}}
|-
+
| provincial = Provincial/State
{{#if:{{{image|}}}|
+
| federal    = Federal
{{!}}colspan=2{{!}}[[File:{{{image}}}|118px]]
+
| imperial  = Imperial
}}
+
}}</div>}}
|-
+
 
{{#if:{{{image2|}}}|
+
| image  = {{#if: {{{coatofarms|}}|[[File:{{{coatofarms|}}}|{{{coatofarms_size|{{{coatofarmssize|120px}}}}}}|alt={{{coatofarms_alt|{{{coa_alt|}}}}}}]]| }}
{{!}}colspan=2{{!}}[[File:{{{image2}}}|118px]]
+
| caption = {{#if:{{{coatofarms_article|}}}|{{#switch:{{{type}}}
}}
+
  | other    = [[{{{coatofarms_article}}}|Arms of {{{his/her}}} Majesty the {{{royal_title}}} of {{{realm}}}]]
|-
+
  | other1  = [[{{{coatofarms_article}}}|Imperial Standard of the {{{royal_title}}}]]
!colspan=2|Incumbent<br>{{{incumbent}}}<br>{{#if:{{{other|}}}|<sub>{{{other}}}</sub>}}
+
  | other2 | other3 = [[{{{coatofarms_article}}}|Arms of {{{his/her}}} Highness the {{{royal_title}}} of {{{realm}}}]]
----
+
  | other4  = [[{{{coatofarms_article}}}|Arms of {{{his/her}}} Serene Highness the {{{royal_title}}} of {{{realm}}}]]
|-
+
  | #default = [[{{{coatofarms_article}}}]]
!align=left|Style
+
  }}}}
|align=left|{{#switch: {{{type|[[Majesty|{{{his/her}}} Majesty]]}}}
+
 
| commonwealth=[[Majesty|{{{his/her}}} Majesty]]
+
 
| non-commonwealth=[[Majesty|{{{his/her}}} Majesty]]
+
| headerstyle = background-color: #eee;
| other = [[Majesty|{{{his/her}}} Majesty]]
+
 
| other2 = [[Highness|{{{his/her}}} Highness]]
+
| header1 = {{Infobox | child = yes | decat = yes
| other3 = [[Royal Highness|{{{his/her}}} Royal Highness]]
+
| title = {{#if:{{{incumbent|}}}|Incumbent}}
| other4 = [[Serene Highness|{{{his/her}}} Serene Highness]]
+
 
| other5 = [[Grace (style)|{{{his/her}}} Grace]]
+
| image = {{#if: {{{image|}}| [[File:{{{image|}}}|size={{{image_size|200px}}}|alt={{{alt|}}}]]|}}
| other6 = [[Imperial Majesty|{{{his/her}}} Imperial Majesty]]
+
| caption = {{{caption|}}}
| other7 = [[w:Royal Majesty|{{{his/her}}} Royal Majesty]]
+
 
| doshevika = [[w:Style (manner of address)#Examples of styles|{{{his/her}}} Magnificence]]
+
| data2 = {{#if:{{{incumbent|}}}|'''<span class="fn">{{{incumbent}}}</span>'''{{#if:{{{incumbentsince|}}}|<br />since {{{incumbentsince}}}}}}}
| pavlov = [[Imperial Highness|{{{his/her}}} Imperial Highness]]
+
| data3 = {{{other|}}}
| abelden = [[Imperial and Royal Majesty|{{{his/her}}} Imperial and Royal Exalted Majesty]]
+
}}
| legatia = [[Imperial and Royal Majesty|{{{his/her}}} Imperial and Royal Majesty]]
+
| header2 = {{Infobox | child = yes | decat = yes
| saudi  = [[Custodian of the Two Holy Mosques|The Custodian of the Two Holy Mosques]]
+
| title = {{#if:{{{incumbent2|}}}|Co-incumbent}}
| #default=[[Majesty|{{{his/her}}} Majesty]]
+
 
}}
+
| image ={{#if: {{{image2|}}| [[File:{{{image2|}}}|size={{{image2_size|150px}}}|alt={{{alt|}}}]]|}}
|-
+
| caption = {{{caption2|}}}
{{#if:{{{heir_apparent|}}}|
+
 
!align=left{{!}}[[Heir apparent]]
+
| data2 = {{#if:{{{incumbent2|}}}|'''<span class="fn">{{{incumbent2}}}</span>'''{{#if:{{{incumbent2since|}}}|<br />since {{{incumbent2since}}}}}}}
{{!}}align=left{{!}}{{{heir_apparent}}}
+
| data3 = {{{other2|}}}
}}
+
}}
|-
+
 
{{#if:{{{heir_presumptive|}}}|
+
| header3 = {{#if:{{{heir_apparent|}}}{{{heir_presumptive|}}}{{{first_monarch|}}}{{{last_monarch|}}}{{{formation|{{{began|{{{date|}}}}}}}}}{{{abolition|{{{ended|}}}}}}{{{residence|{{{residences|}}}}}}{{{appointer|}}}{{{pretender|}}}{{{type|}}}{{{his/her|}}}{{{style|}}}|Details}}
!align=left{{!}}Heir presumptive
+
| label4  = Style
{{!}}align=left{{!}}{{{heir_presumptive}}}
+
| data4  = {{#switch:{{{type}}}
}}
+
| commonwealth | non-commonwealth | other = {{#if:{{{his/her|}}}|[[Majesty|{{{his/her}}} Majesty]]}}
|-
+
| other1  = {{#if:{{{his/her|}}}|[[Imperial Majesty (style)|{{{his/her}}} Imperial Majesty]]}}
!align=left|First monarch
+
| other2  = {{#if:{{{his/her|}}}|[[Highness|{{{his/her}}} Highness]]}}
|align=left|{{{first_monarch}}}
+
| other3  = {{#if:{{{his/her|}}}|[[Royal Highness|{{{his/her}}} Highness]]}}
|-
+
| other4  = {{#if:{{{his/her|}}}|[[Serene Highness|{{{his/her}}} Serene Highness]]}}
!align=left|Formation
+
| SMOM    = {{#if:{{{his/her|}}}|[[Most Eminent Highness|{{{his/her}}} Most Eminent Highness]]}}
|align=left|{{{date}}}
+
| saudi    = [[Custodian of the Two Holy Mosques|The Custodian of the Two Holy Mosques]]
|}<noinclude>
+
| #default = {{#if:{{{style|}}}|{{{style}}}|{{#if:{{{his/her|}}}|[[Majesty|{{{his/her}}} Majesty]]}}}}
[[Category:Infobox templates|M]]
+
}} {{{titlenote|}}}
[[Category:Royalty infobox templates]]
+
 
</noinclude>
+
| label5  = [[Heir&nbsp;apparent]]
<noinclude>
+
| data5  = {{{heir_apparent|}}}
[[Category:Infobox templates]]
+
 
</noinclude>
+
| label6  = [[Heir presumptive]]
 +
| data6  = {{{heir_presumptive|}}}
 +
 
 +
| label7  = First&nbsp;monarch
 +
| data7  = {{{first_monarch|}}}
 +
 
 +
| label8  = Last&nbsp;monarch
 +
| data8  = {{{last_monarch|}}}
 +
 
 +
| label9  = Formation
 +
| data9  = {{{formation|{{{began|{{{date|}}}}}}}}}
 +
 
 +
| label10 = Abolition
 +
| data10 = {{{abolition|{{{ended|}}}}}}
 +
 
 +
| label11 = Residence{{#if:{{{residences|}}}|s}}
 +
| data11 = {{#if:{{{residences|}}}|{{{residences|}}}|{{{residence|}}}}}
 +
 
 +
| label12 = Appointer
 +
| data12 = {{{appointer|}}}
 +
 
 +
| label13 = Pretender(s)
 +
| data13 = {{{pretender|}}}
 +
 
 +
| label14 = Website
 +
| data14 = {{{website|}}}
 +
 
 +
}}<noinclude>
 +
{{Documentation}}</noinclude>

Revision as of 01:47, 16 January 2018

[[File:|120px|alt=]]
[[File:|size=200px|alt=]]
[[File:|size=150px|alt=]]
Template documentation[create]