टेम्पलेट:Succession box/doc
ई टेम्पलेट:Succession box के प्रलेखन उपपन्ना ह। इहाँ उपयोग खातिर जानकारी, श्रेणी सभ आ अउरी दूसर सामग्री मौजूद बा जेवन की मूल टेम्पलेट पन्ना के हिस्सा ना हवे। |
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.
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}}
पहिले Clement Attlee |
Prime Minister of the United Kingdom 26 October 1951 – 7 April 1955 |
बाद में Sir Anthony Eden |
पहिले Emanuel Shinwell |
Minister of Defence 1951–1952 |
बाद में 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}}
Unrecognised parameter | ||
---|---|---|
पहिले 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 |
बाद में Sir William Young, Bt George Simon Harcourt Caledon Du Pré |
TemplateData
संपादन करीं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
| 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 |
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}}