Template:Infobox manner of address/sandbox
Appearance
This is the template sandbox page for Template:Infobox manner of address (diff). |
This template is used on approximately 3,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Usage
[edit]{{{type}}} styles of {{{name}}} or {{{royal name}}} | |
---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}]] [[File:{{{image2}}}|{{{image2_size}}}|alt={{{image2_alt}}}]] | |
Reference style | {{{reference}}} or {{{dipstyle}}} |
Spoken style | {{{spoken}}} or {{{offstyle}}} |
Religious style | {{{religious}}} or {{{relstyle}}} |
Posthumous style | {{{posthumous}}} or {{{deathstyle}}} |
Alternative style | {{{alternative}}} or {{{altstyle}}} |
Informal style | {{{informal}}} |
See | {{{see}}} |
{{Infobox manner of address
| type = <!-- default is "Styles of" -->
| name =
| consort =
| image =
| image_size =
| image_alt =
| image2 =
| image2_size =
| image2_alt =
| caption =
| reference =
| spoken =
| religious =
| posthumous =
| alternative =
| informal =
| see =
}}
Parameters
[edit]- child or embed
- Allows this template to be embedded in another template; see Wikipedia:WikiProject Infoboxes/embed
- background
- An alternative color for overriding the default grey background color
- color or colour
- An alternative text color for overriding the default black text color
- type
- Can be set to "Monarchial" for "Monarchial styles" or "Papal" for "Papal styles", default is "Styles of".
- name or royal name
- Name which appears at top of infobox
- consort
- if defined, adds "as consort" after name
- image
- (optional) Coat of arms image
- image_size
- (optional) size of the image
- image_alt
- (optional, but recommended) alt text for accessibility
- image2
- (optional) second image
- image2_size
- (optional) size of second image
- image2_alt
- (optional, but recommended) alt text for accessibility
- caption
- (optional) caption text displayed below image(s)
- reference or dipstyle
- Reference style (originally labeled: Diplomatic style)
- spoken or offstyle
- Spoken style (originally labeled: Official spoken style)
- religious or relstyle
- Religious style
- posthumous or deathstyle
- Posthumous style
- alternative or altstyle
- Alternative style (originally labeled: Alternative spoken style)
- informal
- Informal style
- see
- See
Examples
[edit]Belgium
[edit]Styles of Queen Fabiola of Belgium | |
---|---|
Reference style | Her Majesty |
Spoken style | Your Majesty |
{{Infobox manner of address
| name = Queen Fabiola of Belgium
| image = State Coat of Arms of Belgium.svg
| image_size = 50px
| image_alt = State Coat of Arms of Belgium
| reference = [[Majesty|Her Majesty]]
| spoken = Your Majesty
}}
Brazil
[edit]Styles of Pedro II, Emperor of Brazil | |
---|---|
Reference style | His Imperial Majesty |
Spoken style | Your Imperial Majesty |
Alternative style | Sire |
{{Infobox manner of address
| name = Pedro II, Emperor of Brazil
| image = Coat of Arms of the Empire of Brazil (1859-1889).svg
| image_size = 60px
| image_alt = CoA Empire of Brazil (1870-1889)
| reference = [[Imperial Majesty (style)|His Imperial Majesty]]
| spoken = Your Imperial Majesty
| alternative = Sire
}}
Greece
[edit]Styles of King Alexander of the Hellenes | |
---|---|
Reference style | His Majesty |
Spoken style | Your Majesty |
{{Infobox manner of address
| name = King Alexander of the Hellenes
| image = Royal Arms of Greece (1863-1936).svg
| image_size = 40px
| image_alt = Royal Arms of Greece (1863-1936)
| reference = [[Majesty|His Majesty]]
| spoken = Your Majesty
}}
Tracking category
[edit]See also
[edit]- List of articles this template
Additional information on styles
Templates which use this one