Jump to content

Template:Infobox royalty: Difference between revisions

From Encyclopædia Mundus
Created page with "<includeonly> {| class="infobox vcard" style="width: 320px; font-size: 90%;" |- ! colspan="2" class="infobox-above fn" style="text-align:center; font-size: 125%;" | {{{name|{{PAGENAME}}}}} |- | colspan="2" style="text-align:center;" | {{#if: {{{title|}}} | <div class="infobox-subheader" style="font-size: 95%;">{{{title}}}</div> | }} |- | colspan="2" style="text-align:center;" | {{#if: {{{image|}}} | [[File:{{{image}}}|frameless|250px|alt={{{image_alt|}}}]] {{#if: {..."
 
Blanked the page
Tag: Blanking
Line 1: Line 1:
<includeonly>
{|
class="infobox vcard"
style="width: 320px; font-size: 90%;"
|-
! colspan="2" class="infobox-above fn" style="text-align:center; font-size: 125%;"
| {{{name|{{PAGENAME}}}}}
|-
| colspan="2" style="text-align:center;"
| {{#if: {{{title|}}} | <div class="infobox-subheader" style="font-size: 95%;">{{{title}}}</div> | }}
|-
| colspan="2" style="text-align:center;"
| {{#if: {{{image|}}}
  | [[File:{{{image}}}|frameless|250px|alt={{{image_alt|}}}]]
    {{#if: {{{caption|}}} | <div class="infobox-caption" style="font-size: 90%;">{{{caption}}}</div> | }}
  | <!-- no image -->
}}
|-
! scope="row" style="text-align:left;"
| Reign
| {{{reign|}}}
|-
! scope="row" style="text-align:left;"
| Coronation
| {{{coronation|}}}
|-
! scope="row" style="text-align:left;"
| Predecessor
| {{{predecessor|}}}
|-
! scope="row" style="text-align:left;"
| Successor
| {{{successor|}}}
|-
! scope="row" style="text-align:left;"
| Spouse
| {{{spouse|}}}
|-
! scope="row" style="text-align:left;"
| Issue
| {{{issue|}}}
|-
! scope="row" style="text-align:left;"
| House
| {{{house|}}}
|-
| colspan="2" style="text-align:center;"
| {{#if: {{{house_arms_image|}}}
  | [[File:{{{house_arms_image}}}|frameless|180px|alt={{{house_arms_alt|}}}]]
    {{#if: {{{house_arms_caption|}}} | <div class="infobox-caption" style="font-size: 90%;">{{{house_arms_caption}}}</div> | }}
  | <!-- no house arms image -->
}}
|-
! scope="row" style="text-align:left;"
| Father
| {{{father|}}}
|-
! scope="row" style="text-align:left;"
| Mother
| {{{mother|}}}
|-
! scope="row" style="text-align:left;"
| Born
| {{{birth_date|}}}{{#if: {{{birth_place|}}} | <br/>{{{birth_place}}} | }}
|-
! scope="row" style="text-align:left;"
| Died
| {{{death_date|}}}{{#if: {{{death_place|}}} | <br/>{{{death_place}}} | }}
|-
! scope="row" style="text-align:left;"
| Burial place
| {{{burial_place|}}}
|-
! scope="row" style="text-align:left;"
| Religion
| {{{religion|}}}
|-
! scope="row" style="text-align:left;"
| Known for
| {{{known_for|}}}
|}
</includeonly>


<noinclude>
{{Documentation}}
== Usage ==
<pre>
{{Infobox royalty
| name =
| title =
| image =
| caption =
| reign =
| coronation =
| predecessor =
| successor =
| spouse =
| issue =
| house =
| house_arms_image =
| house_arms_caption =
| father =
| mother =
| birth_date =
| birth_place =
| death_date =
| death_place =
| burial_place =
| religion =
| known_for =
}}
</pre>
== TemplateData ==
<templatedata>
{
  "description": "Infobox for monarchs and royal figures.",
  "params": {
    "name": { "label": "Name", "type": "string" },
    "title": { "label": "Title", "type": "string" },
    "image": { "label": "Image (file name)", "type": "string" },
    "image_alt": { "label": "Image alt text", "type": "string" },
    "caption": { "label": "Image caption", "type": "string" },
    "reign": { "label": "Reign", "type": "string" },
    "coronation": { "label": "Coronation", "type": "string" },
    "predecessor": { "label": "Predecessor", "type": "string" },
    "successor": { "label": "Successor", "type": "string" },
    "spouse": { "label": "Spouse", "type": "string" },
    "issue": { "label": "Issue", "type": "string" },
    "house": { "label": "House", "type": "string" },
    "house_arms_image": { "label": "House coat of arms image (file name)", "type": "string" },
    "house_arms_alt": { "label": "House arms alt text", "type": "string" },
    "house_arms_caption": { "label": "House arms caption", "type": "string" },
    "father": { "label": "Father", "type": "string" },
    "mother": { "label": "Mother", "type": "string" },
    "birth_date": { "label": "Born (date)", "type": "string" },
    "birth_place": { "label": "Born (place)", "type": "string" },
    "death_date": { "label": "Died (date)", "type": "string" },
    "death_place": { "label": "Died (place)", "type": "string" },
    "burial_place": { "label": "Burial place", "type": "string" },
    "religion": { "label": "Religion", "type": "string" },
    "known_for": { "label": "Known for", "type": "string" }
  }
}
</templatedata>
</noinclude>

Revision as of 05:59, 17 December 2025