Template:S-prec
Jump to navigation
Jump to search
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.
This template creates a header to be used with succession boxes for orders of precedence. No years are entered in these boxes, so the "years" field may be omitted when this header is used.
Usage
Without parameter
The template defaults to
| Order of precedence |
|---|
| Order of precedence | {{s-prec}}
| ||
|---|---|---|---|
With parameter
The format is {{s-prec|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.
| Order of precedence in England and Wales | ew | ||
|---|---|---|---|
| Order of precedence in Scotland | sc | ||
| Orders of precedence in the United Kingdom | uk | ||
| Order of precedence | ph-pres | ||
| Order of precedence in Northern Ireland | ni | ||
| U.S. order of precedence (ceremonial) | usa | ||
| U.S. presidential line of succession | us-pres | ||
Example
From the Charles, Prince of Wales article:
{{s-start}}
{{s-prec|uk}}
{{s-bef | before = [[Prince Philip, Duke of Edinburgh|The Duke of Edinburgh]]}}
{{s-ttl | title = [[Orders of precedence in the United Kingdom|Gentlemen]]}}
{{s-aft | after = [[Prince William, Duke of Cambridge]]}}
{{s-end}}
| Orders of precedence in the United Kingdom | ||
|---|---|---|
| Preceded by The Duke of Edinburgh |
Gentlemen | Succeeded by Prince William, Duke of Cambridge |
See also
Documentation for creating succession boxes can be found at Template:S-start. bn:টেমপ্লেট:S-prec id:Templat:S-prec sl:Predloga:S-prec zh:Template:S-prec
| The above documentation is transcluded from Template:S-prec/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. A print version of this template exists at /Print. If you make a change to this template, please update the print version as well. |