Difference between revisions of "Template:Infobox royal styles"

From blackwiki
Jump to navigation Jump to search
imported>DrKay
imported>Frietjes
(expand infoboximage, this is handled by the parent template)
 
Line 3: Line 3:
 
| colour      = #000066
 
| colour      = #000066
 
| name        = {{{name<includeonly>|{{{royal name|}}}</includeonly>}}}
 
| name        = {{{name<includeonly>|{{{royal name|}}}</includeonly>}}}
| image      = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |alt={{{image_alt|}}}}}
+
| image      = {{{image|}}}  
 +
| size       = {{{image_size|}}}
 +
| image_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 14:57, 10 November 2018

Styles of
{{{name}}}
Reference style{{{reference}}}
Spoken style{{{spoken}}}
Alternative style{{{alternative}}}

[[Category:Infobox templates|Template:Remove first word]]

50px Template documentation[view] [edit] [history] [purge]

Template:Wraps infobox

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
75px
Reference styleHer Majesty
Spoken styleYour Majesty
[[Category:Infobox templates|Template:Remove first word]]

Elizabeth II

{{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
60px
Reference styleHis Imperial Majesty
Spoken styleYour Imperial Majesty
[[Category:Infobox templates|Template:Remove first word]]

Pedro II of Brazil

{{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
60px
Reference styleHis Majesty
Spoken styleYour Majesty
[[Category:Infobox templates|Template:Remove first word]]

Alexander of Greece (king)

{{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

Additional information on styles
Core template
Similar templates