Template:S-reg-ajax/doc

< Template:S-reg-ajax
Revision as of 00:35, 22 January 2019 by Latium (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

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.

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

  1.  Regnal titles  – #F9F9F9 – added 7 December 2005

  2.  Regnal titles  – #FFDAB9 – changed 7 December 2005

  3.  Regnal titles  – #EEDDFF – changed 7 December 2005

  4.  Regnal titles  – #CCFFCC – changed 7 December 2005

  5.  Regnal titles  – #8FBC8F – changed 23 February 2007

  6.  Regnal titles  – #8ED874 – changed 10 June 2007

  7.  Regnal titles  – #A3D874 – changed 10 June 2007

  8.  Regnal titles  – #9BEC52 – changed 20 June 2007

  9.  Regnal titles  – #77DC1E – changed 20 June 2007

  10.  Regnal titles  – #91EB41 – changed 20 June 2007

  11.  Regnal titles  – #B3DAA9 – changed 25 July 2007

  12.  Regnal titles  – #ACE777 – current as of 27 July 2007

See also