Template:S-ttl

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

This template creates a single succession box center column to be used with succession boxes for the function of listing titles.

Usage

The format is {{s-ttl|title=enter title here|years=enter years title was held here|parameter=}}, where parameter= can be used optionally for any of the additional parameters listed in the following table.

district — For use with parliamentary offices. Insert as a wikilink the district represented during the tenure in office.
regent1 (or regent 2, or regent 3) AND years1 (or years2, or years3) — These parameters can be used when an office is held in tandem with another person. Examples of this include co-rulers of a country or region and regencies. It does not include consorts or sub-positions such as vice presidencies. The "years" parameter should only contain years, not days or months, but all other guidelines rules apply.
alongside — This parameter is reserved for political positions where two people share power, such as US senators.
lords — Designates that the person was a member of the House of Lords. The parameter is asking for the dates they served in the house.
creation — Adds a sub-line beneath the title that allows for a "creation" number for certain noble titles (such as the Dukes of Cornwall).
dynasty — Adds a sub-line beneath the title that allows for a "dynasty" number for certain royal dynastic lines (such as the Pharaohs of Egypt).
with alternative parameter for use when an office is shared with one or more others
with2with25 to allow others sharing the office to be listed separately

This template allows for multiple row-spans using the parameter |rows=| between the template name and the first parameter.

Example

From the Richard, 1st Earl of Cornwall article:

{{s-start}}
{{s-reg | en}}
{{s-new | creation}}
{{s-ttl | title=[[Earl of Cornwall]]
| creation=7th creation
| years=4 March 1857 – 21 January 1861}}
{{s-aft | after=[[Edmund, 2nd Earl of Cornwall|Edmund]]}}
{{s-end}}
Peerage of England
New creation Earl of Cornwall
7th creation
4 March 1857 – 21 January 1861
Succeeded by
Edmund

From the Jefferson Davis article:

{{s-start}}
{{s-par | us-sen}}
{{s-bef | before=[[Stephen Adams (politician)|Stephen Adams]]}}
{{s-ttl | title=[[List of United States Senators from Mississippi|Senator from Mississippi (Class 1)]]
| years=March 4, 1857 – January 21, 1861
| alongside=[[Albert G. Brown]]}}
{{s-aft|after=[[Adalbert Ames]]}}
{{s-end}}
United States Senate
Preceded by
Stephen Adams
Senator from Mississippi (Class 1)
March 4, 1857 – January 21, 1861
Served alongside: Albert G. Brown
Succeeded by
Adalbert Ames

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

S-ttl

This template creates a single succession box center column to be used with succession boxes for the function of listing titles.

Template parameters
Parameter Description Type Default Status
title title string empty required
years years Years served in office, typically a range of dates. string empty optional
district district For use with parliamentary offices. Insert as a wikilink the district represented during the tenure in office. string empty optional
dynasty dynasty Adds a sub-line beneath the title that allows for a 'dynasty' number for certain royal dynastic lines (such as the Pharaohs of Egypt). string empty optional
creation creation Adds a sub-line beneath the title that allows for a 'creation' number for certain noble titles (such as the Dukes of Cornwall). string empty optional
lords lords Designates that the person was a member of the House of Lords. The dates they served in the house should be specified. string empty optional
regent1 regent1 Used when an office is held in tandem with another person. Examples of this include co-rulers of a country or region and regencies. It does not include consorts or sub-positions such as vice presidencies. string empty optional
years1 years1 Time regent1 served. Should only contain years, not days or months. string empty optional
regent2 regent2 string empty optional
years2 years2 string empty optional
regent3 regent3 string empty optional
years3 years3 string empty optional
regent4 regent4 string empty optional
years4 years4 string empty optional
regent5 regent5 string empty optional
years5 years5 string empty optional
regent6 regent6 string empty optional
years6 years6 string empty optional
regent7 regent7 string empty optional
years7 years7 string empty optional
regent8 regent8 string empty optional
years8 years8 string empty optional
alongside alongside This parameter is reserved for political positions where two people share power, such as US senators. string empty optional
with with For use when an office is shared with one or more others. string empty optional
with2 with2 string empty optional
with3 with3 string empty optional
with4 with4 string empty optional
with5 with5 string empty optional
with6 with6 string empty optional
with7 with7 string empty optional
with8 with8 string empty optional
with9 with9 string empty optional
with10 with10 string empty optional
with11 with11 string empty optional
with12 with12 string empty optional
with13 with13 string empty optional
with14 with14 string empty optional
with15 with15 string empty optional
with16 with16 string empty optional
with17 with17 string empty optional
with18 with18 string empty optional
with19 with19 string empty optional
with20 with20 string empty optional
with21 with21 string empty optional
with22 with22 string empty optional
with23 with23 string empty optional
with24 with24 string empty optional
with25 with25 string empty optional
rows rows Number of table rows this entry should span. string empty optional

See also

Documentation for creating succession boxes can be found at Template:S-start/doc.