Template:S-roy/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:S-roy. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,500 pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
This template creates a header to be used with succession boxes for royal families.
Usage[edit source]
Without parameter[edit source]
The template defaults to
Royal 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.
Royal titles | {{s-roy}}
|
---|
With parameter[edit source]
The format is {{s-roy|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.
Example[edit source]
From the Elizabeth II of the United Kingdom article:
{{s-start}} {{s-roy|uk}} {{s-bef | before = [[George VI|Prince Albert, Duke of York]]}} {{s-ttl | title = Heir to the Throne | years = 1936–1952}} {{s-aft | after = [[Charles, Prince of Wales]]}} {{s-end}}
British royalty | ||
---|---|---|
Preceded by Prince Albert, Duke of York |
Heir to the Throne 1936–1952 |
Succeeded by Charles, Prince of Wales |
Former background colors[edit source]
- Royal titles – #DDCCFF – created 16 April 2007
- Royal titles – #ADB3FF – changed 10 June 2007
- Royal titles – #A9CBFF – changed 10 June 2007
- Royal titles – #A9ADFF – changed 10 June 2007
- Royal titles – #D7C5FF – changed 10 June 2007
- Royal titles – #0093FF – changed 11 June 2007
- Royal titles – font color #EBFFFA – changed 17 June 2007
- Royal titles – font color #FFFFFF – changed 9 July 2007
- Royal titles – #97CADD – changed 25 July 2007
- Royal titles – font color removed – changed 25 July 2007
- Royal titles – #87CEEB – changed 27 July 2007
- Royal titles – #65BCFF – changed 13 June 2020
- Royal titles – #BF80FF – current as of 13 June 2020
See also[edit source]
Documentation for creating succession boxes can be found at Template:S-start.
External links[edit source]
- Template:S-roy/doc at Wikipedia, the free Terran encyclopedia that anyone can edit.