Template:Succession box/doc

< Template:Succession box
Revision as of 10:51, June 17, 2019 by Al15 (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Syntax

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}}

Usage

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.

Parameters

Years

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.

Usage with multiple office-holders

Where a post was held by more than one person at a time, extra parameters should be used to include them.

Predecessors
  • For multiple predecessors use "before", "before2", "before3", etc. (max 5)
Successors
  • For multiple successors use "after", "after2", "after3", etc. (max 5)
Concurrent office-holders
  • For concurrent office-holders use "with", "with2", "with3", etc. (max 25)

Examples

Example with single office-holder

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}}
Preceded by
Clement Attlee
Prime Minister of the United Kingdom
26 October 1951 – 7 April 1955
Succeeded by
Sir Anthony Eden
Preceded by
Emanuel Shinwell
Minister of Defence
1951–1952
Succeeded by
The Earl Alexander of Tunis

Example with multiple office-holders

From the article Richard Temple-Grenville, 2nd Duke of Buckingham and Chandos:

{{s-start}}
{{s-par|gb}}
{{succession box
 | title   = [[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}}
Parliament of Great Britain
Preceded by
William Selby Lowndes
Thomas Grenville
Member of Parliament for Buckinghamshire
1818–1839
With: William Selby Lowndes 1818–1820
Robert Smith 1820–1831
John Smith 1831–1835
Sir George Dashwood, Bt 1832–1835
Sir William Young, Bt 1835–1839
George Simon Harcourt 1835–1839
Succeeded by
Sir William Young, Bt
George Simon Harcourt
Caledon Du Pré

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Succession box

<templatedata> { "description": "This template creates a standard line for succession boxes. It is normally preceded by

"params": { "years": { "label": "Years", "description": "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", "type": "string", "example": "1912–1935", "suggested": true }, "title": { "label": "Title", "description": "Title of the office", "type": "string", "required": false, "suggested": true, "example": "Prime Minister of the United Kingdom" }, "rows": { "label": "Rows", "type": "number", "required": false, "description": "Number of rows to cover" }, "before": { "label": "Before", "description": "First predecessor", "type": "string", "required": false, "suggested": true }, "before2": { "label": "before2", "description": "Second predecessor.", "type": "string", "required": false }, "before3": { "label": "before3", "description": "Third predecessor.", "type": "string", "required": false }, "before4": { "label": "before4", "description": "Forth predecessor.", "type": "string", "required": false }, "before5": { "label": "before5", "description": "Fifth predecessor.", "type": "string", "required": false }, "after": { "label": "after", "description": "First successors.", "type": "string", "required": false, "suggested": true }, "after2": { "label": "after2", "description": "Second successors.", "type": "string", "required": false }, "after3": { "label": "after3", "description": "Third successors.", "type": "string", "required": false }, "after4": { "label": "after4", "description": "Forth successors.", "type": "string", "required": false }, "after5": { "label": "after5", "description": "Fifth successors.", "type": "string", "required": false }, "alongside": { "label": "alongside", "description": "Used when they 'Served alongside' another person.", "type": "string", "required": false }, "with": { "label": "with", "description": "Concurrent office-holders, up to 25 people", "type": "string", "required": false }, "with2": { "label": "with2", "type": "string", "required": false }, "with3": { "label": "with3", "type": "string", "required": false }, "with4": { "label": "with4", "type": "string", "required": false }, "with5": { "label": "with5", "type": "string", "required": false }, "with6": { "label": "with6", "type": "string", "required": false }, "with7": { "label": "with7", "type": "string", "required": false }, "with8": { "label": "with8", "type": "string", "required": false }, "with9": { "label": "with9", "type": "string", "required": false }, "with10": { "label": "with10", "type": "string", "required": false }, "with11": { "label": "with11", "type": "string", "required": false }, "with12": { "label": "with12", "type": "string", "required": false }, "with13": { "label": "with13", "type": "string", "required": false }, "with14": { "label": "with14", "type": "string", "required": false }, "with15": { "label": "with15", "type": "string", "required": false }, "with16": { "label": "with16", "type": "string", "required": false }, "with17": { "label": "with17", "type": "string", "required": false }, "with18": { "label": "with18", "type": "string", "required": false }, "with19": { "label": "with19", "type": "string", "required": false }, "with20": { "label": "with20", "type": "string", "required": false }, "with21": { "label": "with21", "type": "string", "required": false }, "with22": { "label": "with22", "type": "string", "required": false }, "with23": { "label": "with23", "type": "string", "required": false }, "with24": { "label": "with24", "type": "string", "required": false }, "with25": { "label": "with25", "type": "string", "required": false } }, "format": "block", "paramOrder": [ "title", "years", "before", "before2", "before3", "before4", "before5", "after", "after2", "after3", "after4", "after5", "alongside", "with", "with2", "with3", "with4", "with5", "with6", "with7", "with8", "with9", "with10", "with11", "with12", "with13", "with14", "with15", "with16", "with17", "with18", "with19", "with20", "with21", "with22", "with23", "with24", "with25", "rows" ] } </templatedata>

See also

  • Documentation for creating more complex succession boxes can be found at Template:S-start.
  • A quick overview of the various templates and parameters of the s-start series can be found at the Cheatsheet.
  • {{Sequence}}