Difference between revisions of "Template:Infobox former monarchy"

From blackwiki
Jump to navigation Jump to search
imported>BomBom
(removed useless parameters)
Line 11: Line 11:
 
|-
 
|-
 
{{#if:{{{image|}}}|
 
{{#if:{{{image|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} [[File:{{{image}}}{{!}}118px]]
+
{{!}} colspan=2 style="text-align: center" {{!}} [[File:{{{image}}}{{!}}120px]]
 
{{!}}-
 
{{!}}-
 
}}
 
}}
! colspan=2 style="text-align: center" | Last Monarch:<br />{{{last_monarch}}}<br />{{#if:{{{other|}}}|<sub>{{{other}}}</sub>}}
 
----
 
 
|-
 
|-
{{#if:{{{heir_apparent|}}}|
+
{{#if: {{{caption|<noinclude>-</noinclude>}}} |
! [[Heir apparent]]
+
{{!}} colspan=2 align="center" {{!}} {{{caption}}}
{{!}} {{{heir_apparent}}}
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 +
|-
 
{{!}}-{{!}} colspan=2 style="border-bottom: solid 1px #ccd2d9"{{!}}
 
{{!}}-{{!}} colspan=2 style="border-bottom: solid 1px #ccd2d9"{{!}}
 
|-
 
|-

Revision as of 13:29, 16 July 2010

{{{royal_title}}} of {{{realm}}}
Former Monarchy
[[File:{{{coatofarms}}}|120px]]
{{{coatofarmscaption}}}
{{{caption}}}
First monarch {{{first_monarch}}}
Last monarch {{{last_monarch}}}
Style {{{style}}}
Official residence {{{residence}}}
Appointer {{{appointer}}}
Monarchy started {{{began}}}
Monarchy ended {{{ended}}}
Current pretender {{{pretender}}}
Template documentation[view] [edit] [history] [purge]

Usage

{{Infobox former monarchy
| royal_title       = <!-- Required. -->
| realm             = <!-- Required. -->
| border            = <!-- Optional. Accepted values: provincial / federal / imperial -->
| coatofarms        = <!-- Optional. Just the image name, no File: or Image: coding -->
| coatofarmssize    = <!-- Optional. Default: 120px -->
| coatofarmscaption = <!-- Optional. -->
| image             = <!-- Optional. Just the image name, no File: or Image: coding -->
| caption           = <!-- Optional. -->
| first_monarch     = <!-- Required. -->
| last_monarch      = <!-- Required. -->
| style             = <!-- Optional. -->
| residence         = <!-- Optional. -->
| appointer         = <!-- Optional. -->
| began             = <!-- Required. -->
| ended             = <!-- Required. -->
| pretender         = <!-- Optional. -->
}}