Difference between revisions of "Template:Infobox royal styles/sandbox"
Jump to navigation
Jump to search
imported>Jon Kolbert (Create sandbox version of Template:Infobox royal styles) |
imported>Jon Kolbert (test with extra image parameters) |
||
Line 3: | Line 3: | ||
| colour = #000066 | | colour = #000066 | ||
| name = {{{name<includeonly>|{{{royal name|}}}</includeonly>}}} | | name = {{{name<includeonly>|{{{royal name|}}}</includeonly>}}} | ||
− | | image = {{{image | + | | image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image}}} |size={{{image_size|}}} |sizedefault=frameless |alt={{{image_alt|}}}}} |
| reference = {{{reference<includeonly>|{{{dipstyle|}}}</includeonly>}}} | | reference = {{{reference<includeonly>|{{{dipstyle|}}}</includeonly>}}} | ||
| spoken = {{{spoken<includeonly>|{{{offstyle|}}}</includeonly>}}} | | spoken = {{{spoken<includeonly>|{{{offstyle|}}}</includeonly>}}} | ||
| alternative = {{br separated entries | {{{alternative<includeonly>|{{{altstyle|}}}</includeonly>}}} | {{{{{|safesubst:}}}#if:{{{lang|}}}| {{{lang}}}: {{{altlang|}}} }} }} | | alternative = {{br separated entries | {{{alternative<includeonly>|{{{altstyle|}}}</includeonly>}}} | {{{{{|safesubst:}}}#if:{{{lang|}}}| {{{lang}}}: {{{altlang|}}} }} }} | ||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}</noinclude> |
Latest revision as of 20:37, 28 September 2017
Styles of {{{name}}} | |
---|---|
[[File:{{{image}}}|frameless]] | |
Reference style | {{{reference}}} |
Spoken style | {{{spoken}}} |
Alternative style | {{{alternative}}} |
![]() | This is the template sandbox page for Template:Infobox royal styles (diff). See also the companion subpage for test cases. |
Contents
Usage
Blank template
{{Infobox royal styles | name = | image = | image_size = | reference = | spoken = | alternative = }}
Parameters
- name or royal name
- Name which appears at top of infobox
- image
- (optional) Coat of arms image, should be in format
Imagefilename.png
- image_size
- (optional) Image size, generally between 50-100px
- reference or dipstyle
- Reference style (originally labeled: Diplomatic style)
- spoken or offstyle
- Spoken style (originally labeled: Official spoken style)
- alternative or altstyle
- Alternative style (originally labeled: Alternative spoken style)
Examples
Commonwealth Realms
Styles of Queen Elizabeth II | |
---|---|
![]() | |
Reference style | Her Majesty |
Spoken style | Your Majesty |
{{Infobox royal styles | name = Queen Elizabeth II | image = Personal flag of Queen Elizabeth II.svg | image_size = 75px | reference = [[Majesty|Her Majesty]] | spoken = Your Majesty }}
Brazil
Styles of Pedro II, Emperor of Brazil | |
---|---|
![]() | |
Reference style | His Imperial Majesty |
Spoken style | Your Imperial Majesty |
{{Infobox royal styles | name = Pedro II, Emperor of Brazil | image = CoA Empire of Brazil (1870-1889).svg | image_size = 60px | reference = [[Imperial Majesty (style)|His Imperial Majesty]] | spoken = Your Imperial Majesty }}
Greece
Styles of King Alexander I of the Hellenes | |
---|---|
![]() | |
Reference style | His Majesty |
Spoken style | Your Majesty |
{{Infobox royal styles | name = King Alexander I of the Hellenes | image = Royal Arms of Greece (1863-1936).svg | image_size = 60px | reference = [[Majesty|His Majesty]] | spoken = Your Majesty }}
See also
- List of articles this template
- Additional information on styles
- Core template
- Similar templates
- Template:Infobox British Royalty styles
- Template:Infobox Dutch Royalty styles
- Template:Infobox French Royalty styles
- Template:Infobox Portuguese Royalty styles
The above documentation is transcluded from Template:Infobox royal styles/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. |