Difference between revisions of "Template:Succession box/doc"

From HGRPG Wiki
Jump to: navigation, search
m (1 revision)
m
 
(One intermediate revision by one user not shown)
Line 68: Line 68:
 
===Examples===
 
===Examples===
 
==== Example with single office-holder ====
 
==== Example with single office-holder ====
From the article [[Winston Churchill]]:
+
From the article Winston Churchill:
  
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">
Line 89: Line 89:
 
{{S-start}}
 
{{S-start}}
 
{{Succession box
 
{{Succession box
| before = [[Clement Attlee]]
+
| before = Clement Attlee
| title  = [[Prime Minister of the United Kingdom]]
+
| title  = Prime Minister of the United Kingdom
 
| years  = 26 October 1951 – 7 April 1955
 
| years  = 26 October 1951 – 7 April 1955
| after  = [[Anthony Eden|Sir Anthony Eden]]
+
| after  = Anthony Eden|Sir Anthony Eden
 
}}
 
}}
 
{{Succession box
 
{{Succession box
| before = [[Emanuel Shinwell]]
+
| before = Emanuel Shinwell
| title  = [[Minister of Defence (UK)|Minister of Defence]]
+
| title  = Minister of Defence (UK)|Minister of Defence
 
| years  = 1951–1952
 
| years  = 1951–1952
| after  = [[Harold Alexander, 1st Earl Alexander of Tunis|The Earl Alexander of Tunis]]
+
| after  = Harold Alexander, 1st Earl Alexander of Tunis|The Earl Alexander of Tunis
 
}}
 
}}
 
{{S-end}}
 
{{S-end}}
  
 
==== Example with multiple office-holders ====
 
==== Example with multiple office-holders ====
From the article [[Richard Temple-Grenville, 2nd Duke of Buckingham and Chandos]]:
+
From the article Richard Temple-Grenville, 2nd Duke of Buckingham and Chandos:
  
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">
Line 127: Line 127:
  
 
{{s-start}}
 
{{s-start}}
{{s-par|gb}}
 
 
{{succession box
 
{{succession box
  | title  = [[Member of Parliament]] for [[Buckinghamshire (UK Parliament constituency)|Buckinghamshire]]
+
  | title  = Member of Parliament for Buckinghamshire (UK Parliament constituency)|Buckinghamshire
  | with    = [[William Selby Lowndes]] 1818&ndash;1820
+
  | with    = William Selby Lowndes 1818&ndash;1820
  | with2  = [[Robert Carrington, 2nd Baron Carrington|Robert Smith]] 1820&ndash;1831
+
  | with2  = Robert Carrington, 2nd Baron Carrington|Robert Smith 1820&ndash;1831
  | with3  = [[John Smith (Wendover MP)|John Smith]] 1831&ndash;1835
+
  | with3  = John Smith (Wendover MP)|John Smith 1831&ndash;1835
  | with4  = [[Sir George Dashwood, 5th Baronet|Sir George Dashwood, Bt]] 1832&ndash;1835
+
  | with4  = Sir George Dashwood, 5th Baronet|Sir George Dashwood, Bt 1832&ndash;1835
  | with5  = [[Sir William Young, 4th Baronet|Sir William Young, Bt]] 1835&ndash;1839
+
  | with5  = Sir William Young, 4th Baronet|Sir William Young, Bt 1835&ndash;1839
  | with6  = [[George Simon Harcourt]] 1835&ndash;1839
+
  | with6  = George Simon Harcourt 1835&ndash;1839
 
  | years  = 1818&ndash;1839
 
  | years  = 1818&ndash;1839
  | before  = [[William Selby Lowndes]]
+
  | before  = William Selby Lowndes
  | before2 = [[Thomas Grenville]]
+
  | before2 = Thomas Grenville
  | after  = [[Sir William Young, 4th Baronet|Sir William Young, Bt]]
+
  | after  = Sir William Young, 4th Baronet|Sir William Young, Bt
  | after2  = [[George Simon Harcourt]]
+
  | after2  = George Simon Harcourt
  | after3  = [[Caledon Du Pre]]
+
  | after3  = Caledon Du Pre
 
}}
 
}}
 
{{s-end}}
 
{{s-end}}

Latest revision as of 17:45, 19 September 2018


This template creates a standard line for succession boxes.

Mostly deprecated, the succession box template ought to 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.

Contents

Syntax

Basic usage:

{{S-start}}
{{Succession box
 | title  = 
 | years  = 
 | with   =
 | before = 
 | after  = 
}}
{{S-end}}

Full usage:

{{S-start}}
{{Succession box
 | title   = 
 | years   = 
 | with    =
 | 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.

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
Anthony Eden
Preceded by
Emanuel Shinwell
Minister of Defence (UK)
1951–1952
Succeeded by
Harold Alexander, 1st 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 Pre]]
}}
{{s-end}}
Preceded by
William Selby Lowndes
Thomas Grenville
Member of Parliament for Buckinghamshire (UK Parliament constituency)
1818–1839
With: William Selby Lowndes 1818–1820
Robert Carrington, 2nd Baron Carrington
John Smith (Wendover MP)
Sir George Dashwood, 5th Baronet
Sir William Young, 4th Baronet
George Simon Harcourt 1835–1839
Succeeded by
Sir William Young, 4th Baronet
George Simon Harcourt
Caledon Du Pre

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.