ผลต่างระหว่างรุ่นของ "แม่แบบ:กล่องข้อมูล ราชาธิปไตย"

เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
ไม่มีความย่อการแก้ไข
ไม่มีความย่อการแก้ไข
บรรทัด 1:
{{Infobox
{| class="infobox vcard" style="width:20.5em; text-align:center; margin-left:1em; margin-bottom:1em; padding:0.5em 0.3em 0.5em 0.3em; border:1px solid silver"
| bodyclass = vcard
!colspan=2 style="background:none; padding:0.2em 0.2em 0.2em 0.2em;" class="adr" |<big><!--<font color=white>--> {{{royal_title}}}<br><span class="country-name">{{{realm}}}</span>{{#if: {{{native_name|}}}|<br />{{{native_name}}}}} </font>
 
|-
| aboveclass = adr
|colspan="2" style="font-family:serif; font-weight:bold; text-transform:uppercase; font-size:90%; line-height:110%; color:#cbe; background:rgb(155, 9, 137);"|ราชาธิปไตย
| above = <includeonly>{{{royal_title}}} แห่ง<span class="country-name">{{{realm}}}</span></includeonly>
|-
 
|colspan="2" style="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)}}; background:{{#switch:{{{border|}}}|provincial=rgb(44,94,165)|federal=rgb(212,36,36)|imperial=rgb(68,15,102)}};"|{{#switch:{{{border|}}}|provincial=รัฐ|federal=สหพันธรัฐ|imperial=จักรวรรดิ}}
| subheaderstyle = font-weight: bold;
|-
| subheader = {{{native_name|}}}
{{#if:{{{flag|}}}|{{!}}colspan=2 style="text-align: center; padding: 2em 0.5em 2em 0.5em;"{{!}}[[File:{{{flag}}}|{{#if:{{{flagsize|}}}|{{{flagsize}}}|120px}}]]}}
| subheader2 = {{#if:{{{border|}}}|
|-
<div style="font-family: serif; font-size: 90%; font-weight: bold; text-transform: uppercase;
{{#if:{{{flagcaption|}}}|{{!}}colspan=2 style="text-align: center; border-bottom: solid 1px #ccd2d9 padding: 2em 0.25em 2em 0.25em;"{{!}}{{{flagcaption}}}}}
line-height: 125%; background-color: rgb(125,7,110); color: white;">{{#switch:{{{border}}}
|-
| provincial = รัฐ
| colspan=2 style="text-align: center padding: 2em 0.5em 2em 0.5em;" | [[File:{{{coatofarms}}}|{{#if:{{{coatofarmssize|}}}|{{{coatofarmssize}}}|120px}}]]
| federal = สหพันธรัฐ
|-
| imperial = จักรวรรดิ
| colspan=2 style="text-align: center; border-bottom: solid 1px #ccd2d9 padding: 2em 0.25em 2em 0.25em;" | {{{coatofarmscaption}}}
}}</div>}}
|-
 
{{#if:{{{image|}}}|
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{coatofarms|}}}|size={{{coatofarms_size|{{{coatofarmssize|}}}}}}|sizedefault=120px|alt={{{coatofarms_alt|{{{coa_alt|}}}}}}}}
{{!}}colspan=2{{!}}{{{image}}}
| caption = {{Br separated entries
}}
| 1 = {{#if:{{{coatofarms_article|}}}|{{#switch:{{{type}}}
|-
| other = [[{{{coatofarms_article}}}|Arms of {{{his/her}}} Majesty of the {{{royal_title}}} {{{realm}}}]]
|colspan=2|'''อยู่ในราชสมบัติ'''<br>'''<span class="fn">{{{incumbent}}}</span>'''<br>{{#if:{{{incumbentsince|}}}|<small>ตั้งแต่ {{{incumbentsince}}}</small>}}{{#if:{{{other|}}}|<sub>{{{other}}}</sub>}}
| other1 = [[{{{coatofarms_article}}}|Imperial Standard of the {{{royal_title}}}]]
|-
| other2 | other3 = [[{{{coatofarms_article}}}|Arms of {{{his/her}}} Highness the {{{royal_title}}} แห่ง{{{realm}}}]]
{{#if:{{{image2|}}}|
| other4 = [[{{{coatofarms_article}}}|Arms of {{{his/her}}} Serene Highness the {{{royal_title}}} แห่ง{{{realm}}}]]
{{!}}colspan=2{{!}}{{{image2}}}
| #default = [[{{{coatofarms_article}}}]]
}}
}}}}
|-
| 2 = {{{armsnote|{{{coatofarmscaption|}}}}}}
{{#if:{{{incumbent2|}}}|
}}
{{!}}colspan=2{{!}}'''ผู้ร่วมอยู่ในราชสมบัติ'''<br>'''<span class="fn">{{{incumbent2}}}</span>'''<br>{{#if:{{{incumbent2since|}}}|<small>since {{{incumbent2since}}}</small>}}{{#if:{{{other2|}}}|<sub>{{{other2}}}</sub>}}
 
}}
| headerstyle = background-color: #eee;
|-
 
| colspan=2 style="border-bottom: solid 1px solid silver #ccd2d9;" |
| header1 = {{Infobox | child = yes | decat = yes
----
| title = {{#if:{{{incumbent|}}}|อยู่ในราชสมบัติ}}
|-
 
{{#if:{{{style|}}}|
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=200px|alt={{{alt|}}}}}
{{!}}align=left style="font-size:100%"{{!}}'''ราชอิสริยยศ'''
| caption = {{{caption|}}}
{{!}}align=left style="font-size:100%"{{!}}{{{style}}}
 
}}
| data2 = {{#if:{{{incumbent|}}}|'''<span class="fn">{{{incumbent}}}</span>'''{{#if:{{{incumbentsince|}}}|<br />since {{{incumbentsince}}}}}}}
|-
| data3 = {{{other|}}}
{{#if:{{{heir_apparent|}}}|
}}
{{!}}align=left style="font-size:100%"{{!}}'''รัชทายาท'''
| header2 = {{Infobox | child = yes | decat = yes
{{!}}align=left style="font-size:100%"{{!}}{{{heir_apparent}}}
| title = {{#if:{{{incumbent2|}}}|ผู้ร่วมอยู่ในราชสมบัติ}}
}}
 
|-
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{{image2_size|}}}|sizedefault=150px|alt={{{image2_alt|}}}}}
{{#if:{{{first_monarch|}}}|
| caption = {{{caption2|}}}
{{!}}align=left style="font-size:100%"{{!}}'''ปฐมกษัตริย์'''
 
{{!}}align=left style="font-size:100%"{{!}}{{{first_monarch}}}
| data2 = {{#if:{{{incumbent2|}}}|'''<span class="fn">{{{incumbent2}}}</span>'''{{#if:{{{incumbent2since|}}}|<br />since {{{incumbent2since}}}}}}}
}}
| data3 = {{{other2|}}}
|-
}}
{{#if:{{{date|}}}|
 
{{!}}align=left style="font-size:100%"{{!}}'''สถาปนา'''
| header3 = {{#if:{{{heir_apparent|}}}{{{heir_presumptive|}}}{{{first_monarch|}}}{{{last_monarch|}}}{{{formation|{{{began|{{{date|}}}}}}}}}{{{abolition|{{{ended|}}}}}}{{{residence|{{{residences|}}}}}}{{{appointer|}}}{{{pretender|}}}{{{type|}}}{{{his/her|}}}{{{style|}}}|รายละเอียด}}
{{!}}align=left style="font-size:100%"{{!}}{{{date}}}
| label4 = Style
}}
| data4 = {{#switch:{{{type}}}
|-
| commonwealth | non-commonwealth | other = {{#if:{{{his/her|}}}|[[Majesty|{{{his/her}}} Majesty]]}}
{{#if:{{{residence|}}}|
| other1 = {{#if:{{{his/her|}}}|[[Imperial Majesty (style)|{{{his/her}}} Imperial Majesty]]}}
{{!}}align=left style="font-size:100%"{{!}}'''ที่ประทับ'''
| other2 = {{#if:{{{his/her|}}}|[[Highness|{{{his/her}}} Highness]]}}
{{!}}align=left style="font-size:100%"{{!}}{{{residence}}}
| other3 = {{#if:{{{his/her|}}}|[[Royal Highness|{{{his/her}}} Highness]]}}
}}
| other4 = {{#if:{{{his/her|}}}|[[Serene Highness|{{{his/her}}} Serene Highness]]}}
|-
| SMOM = {{#if:{{{his/her|}}}|[[Most Eminent Highness|{{{his/her}}} Most Eminent Highness]]}}
{{#if:{{{website|}}}|
| saudi = [[Custodian of the Two Holy Mosques|The Custodian of the Two Holy Mosques]]
{{!}}align=left style="font-size:100%"{{!}}'''เว็บไซต์'''
| #default = {{#if:{{{style|}}}|{{{style}}}|{{#if:{{{his/her|}}}|[[Majesty|{{{his/her}}} Majesty]]}}}}
{{!}}align=left style="font-size:100%"{{!}}{{{website}}}
}} {{{titlenote|}}}
}}
 
|}
| label5 = [[ทายาทผู้มีสิทธิโดยตรง|รัชทายาท]]
<noinclude>
| data5 = {{{heir_apparent|}}}
{{documentation}}
 
</noinclude>
| label6 = [[ทายาทโดยสันนิษฐาน]]
| data6 = {{{heir_presumptive|}}}
 
| label7 = กษัตริย์องค์แรก
| data7 = {{{first_monarch|}}}
 
| label8 = กษัตริย์องค์สุดท้าย
| data8 = {{{last_monarch|}}}
 
| label9 = รูปแบบ
| data9 = {{{formation|{{{began|{{{date|}}}}}}}}}
 
| label10 = การล้มล้าง
| data10 = {{{abolition|{{{ended|}}}}}}
 
| label11 = สำนัก
| data11 = {{{residences|{{{residence|}}}}}}
 
| label12 = ผู้แต่งตั้ง
| data12 = {{{appointer|}}}
 
| label13 = ผู้อ้างสิทธิเป็นกษัตริย์
| data13 = {{{pretender|}}}
 
| label14 = เว็บไซต์
| data14 = {{{website|}}}
 
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox monarchy with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox monarchy]] with unknown parameter "_VALUE_"|ignoreblank=y| abolition | appointer | armsnote | began | border | caption | caption2 | coa_alt | coatofarms | coatofarms_alt | coatofarms_article | coatofarms_size | coatofarmscaption | coatofarmssize | date | ended | first_monarch | formation | heir_apparent | heir_presumptive | his/her | image | alt | image_size | image2 | image2_alt | image2_size | incumbent | incumbent2 | incumbent2since | incumbentsince | last_monarch | native_name | other | other2 | pretender | realm | residence | residences | royal_title | style | titlenote | type | website }}<noinclude>
{{Documentation}}</noinclude>