Difference between revisions of "Template:Infobox former monarchy/sandbox"
Jump to navigation
Jump to search
imported>BabelStone (try taking border out of coatofarms) |
imported>BabelStone (+<includeonly>|</includeonly>) |
||
| Line 6: | Line 6: | ||
|colspan="2" style="text-align: center; font-family:serif; font-weight:bold; text-transform:uppercase; font-size:90%; line-height:110%;"|{{#switch:{{{border|}}}|provincial=Provincial/State|federal=Federal|imperial=Imperial}} | |colspan="2" style="text-align: center; font-family:serif; font-weight:bold; text-transform:uppercase; font-size:90%; line-height:110%;"|{{#switch:{{{border|}}}|provincial=Provincial/State|federal=Federal|imperial=Imperial}} | ||
|- | |- | ||
| − | {{#if:{{{coatofarms|}}}| | + | {{#if:{{{coatofarms<includeonly>|</includeonly>}}}| |
{{!}} colspan=2 style="text-align: center" {{!}} [[File:{{{coatofarms}}}|{{#if:{{{coatofarmssize|}}}|{{{coatofarmssize}}}|120px}}]] | {{!}} colspan=2 style="text-align: center" {{!}} [[File:{{{coatofarms}}}|{{#if:{{{coatofarmssize|}}}|{{{coatofarmssize}}}|120px}}]] | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
| − | {{#if:{{{coatofarmscaption|}}}| | + | {{#if:{{{coatofarmscaption<includeonly>|</includeonly>}}}| |
{{!}} colspan=2 style="text-align: center" {{!}} {{{coatofarmscaption}}} | {{!}} colspan=2 style="text-align: center" {{!}} {{{coatofarmscaption}}} | ||
{{!}}- | {{!}}- | ||
Revision as of 08:57, 1 September 2012
| {{{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}}} |
| This is the template sandbox page for Template:Infobox former monarchy (diff). See also the companion subpage for test cases. |
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. -->
}}
| The above documentation is transcluded from Template:Infobox former monarchy/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |