Template:S-reg-ajax: Difference between revisions
Jump to navigation
Jump to search
if no parameter is given. In the following table, the first column contains the header and the second column shows the template call used to create it.
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
! colspan="3" style="border-top: 5px solid #ACE777;" | {{#if:{{{1}}}||Regnal titles}}{{#switch:{{{1}}} | ! colspan="3" style="border-top: 5px solid #ACE777;" | {{#if:{{{1}}}||Regnal titles}}{{#switch:{{{1}}} | ||
|#default={{#if:{{{1}}}|Regnal titles}} | |#default={{#if:{{{1}}}|Regnal titles}} | ||
|ga=[[Nobility of Garza|Garzan nobility]] | |||
|ge=[[Nobility of Gelonia|Gelonian nobility]] | |ge=[[Nobility of Gelonia|Gelonian nobility]] | ||
|ge-cl=[[Clans of Gelonia|Gelonian Chief]] | |ge-cl=[[Clans of Gelonia|Gelonian Chief]] | ||
|la=[[Nobility of Latium]] | |la=[[Nobility of Latium]] | ||
|pt-pr=[[Peerage of Petra]] | |||
|sy-dm=[[Peerage of Sydalon]] | |sy-dm=[[Peerage of Sydalon]] | ||
|sy-pr=[[Nobility of Sydalon|Sydalene nobility]] | |sy-pr=[[Nobility of Sydalon|Sydalene nobility]] | ||
|va-pr=[[Nobility of Vardana|Vardanan nobility]] | |||
|other=Titles of nobility | |other=Titles of nobility | ||
}}<noinclude> | }}<noinclude> |
Latest revision as of 00:43, 13 August 2020
|- ! colspan="3" style="border-top: 5px solid #ACE777;" | Regnal titles
This template creates a header to be used with succession boxes for regnal names, titles of nobility, and peerage. As all succession boxes, these only include actual successions; life peerages are therefore excluded.
Usage
Without parameter
The template defaults to
Regnal titles |
---|
Regnal titles | {{s-reg}}
|
---|
With parameter
The format is {{s-reg|parameter}}
, where parameter is replaced by one of the parameter names shown in the following table. The first column displays the header and the second column contains the parameter name. Comments (if any) are shown in the third column.
Regnal titles | ge | ||
---|---|---|---|
Regnal titles | la | ||
Regnal titles | sy-dm | ||
Regnal titles | sy-pr | ||
Titles of nobility | other |
Example
From the Hirohito article:
{{s-start}} {{s-reg}} {{s-bef|before=[[Emperor Taishō|Emperor Taishō <br><small>(Yoshihito)</small>]]}} {{s-ttl|title=[[List of Emperors of Japan|Emperor of Japan]] |years=December 25, 1926 – January 7, 1989}} {{s-aft|after=[[Akihito|Akihito<br><small>present emperor</small>]]}} {{s-end}}
Regnal titles | ||
---|---|---|
Preceded by Emperor Taishō (Yoshihito) |
Emperor of Japan December 25, 1926 – January 7, 1989 |
Succeeded by Akihito present emperor |
Former background colors
- Regnal titles – #F9F9F9 – added 7 December 2005
- Regnal titles – #FFDAB9 – changed 7 December 2005
- Regnal titles – #EEDDFF – changed 7 December 2005
- Regnal titles – #CCFFCC – changed 7 December 2005
- Regnal titles – #8FBC8F – changed 23 February 2007
- Regnal titles – #8ED874 – changed 10 June 2007
- Regnal titles – #A3D874 – changed 10 June 2007
- Regnal titles – #9BEC52 – changed 20 June 2007
- Regnal titles – #77DC1E – changed 20 June 2007
- Regnal titles – #91EB41 – changed 20 June 2007
- Regnal titles – #B3DAA9 – changed 25 July 2007
- Regnal titles – #ACE777 – current as of 27 July 2007
See also
- Template:S-hon
- Documentation for creating succession boxes can be found at Template:S-start.