This is a documentation subpage for Template:S-roy. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,800 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 royal families.
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-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
editFrom 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}}
Former background colors
edit- 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
editDocumentation for creating succession boxes can be found at Template:S-start.