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 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.
Transclusion count updated automatically (see documentation). |
This template creates a header to be used with succession boxes for royal families.
Usage
Without parameter
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
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
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
- 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 – current as of 27 July 2007
See also
Documentation for creating succession boxes can be found at Template:S-start.