This is the template sandbox page for Template:Succession box (diff). |
This template is used on approximately 119,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Preview message: Transclusion count updated automatically (see documentation). |
This template creates a standard line for succession boxes.
Deprecated in favour of the s-start template series, the succession box template might be used only for the simplest succession lines. These are single succession lines showing nothing more than a succession of three people holding exactly the same title. For succession lines sharing cells with other lines, for new or expired titles, for incumbencies or vacancies, for titular rulers or pretenders, for titles which change their name before or after the subject, and for lines requiring other additional information, the specialised templates of the {{s-start}} series should be used instead of this one. For purposes of consistency and simplicity, it is preferable to use {{s-start}} series templates in all cases.
Basic usage:
{{S-start}}
{{Succession box
| title =
| years =
| with =
| before =
| after =
}}
{{S-end}}
Full usage:
{{S-start}}
{{Succession box
| title =
| years =
| with =
| with2 =
| with3 =
| with4 =
| with5 =
| with6 =
| with7 =
| with8 =
| with9 =
| with10 =
| before =
| before2 =
| before3 =
| before4 =
| before5 =
| after =
| after2 =
| after3 =
| after4 =
| after5 =
}}
{{S-end}}
A succession box may start with a single {{S-start}}
and end with one {{S-end}}
. Alternatively, the old versions may be used, namely {{Start box}}
as the initial template and {{End box}}
as the finishing one; the two formats are compatible with each other.
Within each succession box, one or more lines may be created. One {{Succession box}}
is used for each line, and parameters are used to insert data into the template: "before" for the predecessor of the subject, "title" for the subject's title, "years" for the time period during which they held the title, and "after" for the name of their successor.
Mandatory; a value is required. The value may be years or full dates. A range is not required, such as if a term of office was one year.
The title of the office held. Do not put the name of the person covered by the article into this field.
Where a post was held by more than one person at a time, extra parameters should be used to include them.
From the article Winston Churchill:
{{S-start}}
{{Succession box
| before = [[Clement Attlee]]
| title = [[Prime Minister of the United Kingdom]]
| years = 26 October 1951 – 7 April 1955
| after = [[Anthony Eden|Sir Anthony Eden]]
}}
{{Succession box
| before = [[Emanuel Shinwell]]
| title = [[Minister of Defence (UK)|Minister of Defence]]
| years = 1951–1952
| after = [[Harold Alexander, 1st Earl Alexander of Tunis|The Earl Alexander of Tunis]]
}}
{{S-end}}
From the article Richard Temple-Grenville, 2nd Duke of Buckingham and Chandos:
{{s-start}}
{{s-par|gb}}
{{succession box
| title = [[Member of Parliament (United Kingdom)|Member of Parliament]] for [[Buckinghamshire (UK Parliament constituency)|Buckinghamshire]]
| with = [[William Selby Lowndes]] 1818–1820
| with2 = [[Robert Carrington, 2nd Baron Carrington|Robert Smith]] 1820–1831
| with3 = [[John Smith (Wendover MP)|John Smith]] 1831–1835
| with4 = [[Sir George Dashwood, 5th Baronet|Sir George Dashwood, Bt]] 1832–1835
| with5 = [[Sir William Young, 4th Baronet|Sir William Young, Bt]] 1835–1839
| with6 = [[George Simon Harcourt]] 1835–1839
| years = 1818–1839
| before = [[William Selby Lowndes]]
| before2 = [[Thomas Grenville]]
| after = [[Sir William Young, 4th Baronet|Sir William Young, Bt]]
| after2 = [[George Simon Harcourt]]
| after3 = [[Caledon Du Pré]]
}}
{{s-end}}
TemplateData for Succession box
This template creates a standard line for succession boxes. It is normally preceded by {{S-start}} and followed by {{S-end}}
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | Title of the office; do not include the person's name
| String | suggested |
Years | years | The years the office held, value may be years or full dates, a range is not require if the post was only held for a year
| String | suggested |
Before | before | First predecessor | String | suggested |
before2 | before2 | Second predecessor | String | optional |
before3 | before3 | Third predecessor | String | optional |
before4 | before4 | Forth predecessor | String | optional |
before5 | before5 | Fifth predecessor | String | optional |
after | after | First successors | String | suggested |
after2 | after2 | Second successors | String | optional |
after3 | after3 | Third successors | String | optional |
after4 | after4 | Forth successors | String | optional |
after5 | after5 | Fifth successors | String | optional |
alongside | alongside | Used when they 'Served alongside' another person | String | optional |
with | with | Concurrent office-holders, up to 25 people | String | optional |
with2 | with2 | no description | String | optional |
with3 | with3 | no description | String | optional |
with4 | with4 | no description | String | optional |
with5 | with5 | no description | String | optional |
with6 | with6 | no description | String | optional |
with7 | with7 | no description | String | optional |
with8 | with8 | no description | String | optional |
with9 | with9 | no description | String | optional |
with10 | with10 | no description | String | optional |
with11 | with11 | no description | String | optional |
with12 | with12 | no description | String | optional |
with13 | with13 | no description | String | optional |
with14 | with14 | no description | String | optional |
with15 | with15 | no description | String | optional |
with16 | with16 | no description | String | optional |
with17 | with17 | no description | String | optional |
with18 | with18 | no description | String | optional |
with19 | with19 | no description | String | optional |
with20 | with20 | no description | String | optional |
with21 | with21 | no description | String | optional |
with22 | with22 | no description | String | optional |
with23 | with23 | no description | String | optional |
with24 | with24 | no description | String | optional |
with25 | with25 | no description | String | optional |
Rows | rows | Number of rows to cover | Number | optional |