Template:S-roy/doc: Difference between revisions
Appearance
Content deleted Content added
Yahia.barie (talk | contribs) |
cleanup |
||
Line 3: | Line 3: | ||
== Usage == |
== Usage == |
||
=== Without parameter === |
=== Without parameter === |
||
The template defaults to {{s-start}} |
The template defaults to {{s-start}} |
||
{{s-roy}} |
{{s-roy}} |
||
Line 16: | Line 14: | ||
=== With parameter === |
=== With parameter === |
||
The format is <code><nowiki>{{</nowiki>s-roy|''parameter''}}</code>, 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. |
The format is <code><nowiki>{{</nowiki>s-roy|''parameter''}}</code>, 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. |
||
Line 149: | Line 146: | ||
== Example == |
== Example == |
||
⚫ | |||
⚫ | |||
<pre style="font-size:95%; width:95%; overflow:auto;"> |
<pre style="font-size:95%; width:95%; overflow:auto;"> |
||
{{s-start}} |
{{s-start}} |
||
{{s-roy|uk}} |
{{s-roy|uk}} |
||
{{s-bef | before = [[George VI |
{{s-bef | before = [[George VI|Prince Albert, Duke of York]]}} |
||
{{s-ttl | title = Heir to the Throne | years = 1936 – 1952}} |
{{s-ttl | title = Heir to the Throne | years = 1936 – 1952}} |
||
{{s-aft | after = [[Charles, Prince of Wales]]}} |
{{s-aft | after = [[Charles, Prince of Wales]]}} |
||
Line 161: | Line 157: | ||
{{s-start}} |
{{s-start}} |
||
{{s-roy|uk}} |
{{s-roy|uk}} |
||
{{s-bef | before = [[George VI |
{{s-bef | before = [[George VI|Prince Albert, Duke of York]]}} |
||
{{s-ttl | title = Heir to the Throne | years = 1936 – 1952}} |
{{s-ttl | title = Heir to the Throne | years = 1936 – 1952}} |
||
{{s-aft | after = [[Charles, Prince of Wales]]}} |
{{s-aft | after = [[Charles, Prince of Wales]]}} |
||
Line 167: | Line 163: | ||
== Former background colors == |
== Former background colors == |
||
# <span style="background: #DDCCFF; border: 1px #aaa solid; padding: 0.2em;"> '''Royal titles''' </span> – #DDCCFF – created 16 April 2007<br/><br/> |
# <span style="background: #DDCCFF; border: 1px #aaa solid; padding: 0.2em;"> '''Royal titles''' </span> – #DDCCFF – created 16 April 2007<br/><br/> |
||
# <span style="background: #ADB3FF; border: 1px #aaa solid; padding: 0.2em;"> '''Royal titles''' </span> – #ADB3FF – changed 10 June 2007<br/><br/> |
# <span style="background: #ADB3FF; border: 1px #aaa solid; padding: 0.2em;"> '''Royal titles''' </span> – #ADB3FF – changed 10 June 2007<br/><br/> |
||
Line 182: | Line 177: | ||
== See also == |
== See also == |
||
Documentation for creating succession boxes can be found at [[Template:S-start]]. |
Documentation for creating succession boxes can be found at [[Template:S-start]]. |
||
<includeonly> |
<includeonly> |
Revision as of 19:27, 9 April 2013
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 creates a header to be used with succession boxes for royal families.
Usage
Without parameter
The 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
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}}
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.