This is a documentation subpage for Template:S-reg. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 21,000 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 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
editWithout parameter
editThe template defaults to
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.
With parameter
editThe 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.
Example
editFrom 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]]}} {{s-end}}
Former background colors
edit- 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
edit- Template:S-hon
- Documentation for creating succession boxes can be found at Template:S-start.