Fyrimynd:S-ttl

Frá Wikipedia, hin frælsa alfrøðin
Jump to navigation Jump to search
Documentation icon Skjalfesting til fyrimyndina[vís] [rætta] [søga] [dagfør]

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

Usage[rætta wikitekst]

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[rætta wikitekst]

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
Avloyst/ur av
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}}
Senatið í USA
Undanmaður/kvinna
Stephen Adams
Senator from Mississippi (Class 1)
March 4, 1857 – January 21, 1861
Served alongside: Albert G. Brown
Avloyst/ur av
Adalbert Ames

TemplateData[rætta wikitekst]

Hetta er TemplateData dokumentatiónin fyri hesa fyrimynd, ið verður brúkt av VisualEditor og øðrum tólum.

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

ParameterDescriptionTypeStatus
titletitle

Default
empty
Example
empty
Auto value
empty
Stringrequired
yearsyears

Years served in office, typically a range of dates.

Default
empty
Example
empty
Auto value
empty
Stringoptional
districtdistrict

For use with parliamentary offices. Insert as a wikilink the district represented during the tenure in office.

Default
empty
Example
empty
Auto value
empty
Stringoptional
dynastydynasty

Adds a sub-line beneath the title that allows for a 'dynasty' number for certain royal dynastic lines (such as the Pharaohs of Egypt).

Default
empty
Example
empty
Auto value
empty
Stringoptional
creationcreation

Adds a sub-line beneath the title that allows for a 'creation' number for certain noble titles (such as the Dukes of Cornwall).

Default
empty
Example
empty
Auto value
empty
Stringoptional
lordslords

Designates that the person was a member of the House of Lords. The dates they served in the house should be specified.

Default
empty
Example
empty
Auto value
empty
Stringoptional
regent1regent1

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.

Default
empty
Example
empty
Auto value
empty
Stringoptional
years1years1

Time regent1 served. Should only contain years, not days or months.

Default
empty
Example
empty
Auto value
empty
Stringoptional
regent2regent2

Default
empty
Example
empty
Auto value
empty
Stringoptional
years2years2

Default
empty
Example
empty
Auto value
empty
Stringoptional
regent3regent3

Default
empty
Example
empty
Auto value
empty
Stringoptional
years3years3

Default
empty
Example
empty
Auto value
empty
Stringoptional
regent4regent4

Default
empty
Example
empty
Auto value
empty
Stringoptional
years4years4

Default
empty
Example
empty
Auto value
empty
Stringoptional
regent5regent5

Default
empty
Example
empty
Auto value
empty
Stringoptional
years5years5

Default
empty
Example
empty
Auto value
empty
Stringoptional
regent6regent6

Default
empty
Example
empty
Auto value
empty
Stringoptional
years6years6

Default
empty
Example
empty
Auto value
empty
Stringoptional
regent7regent7

Default
empty
Example
empty
Auto value
empty
Stringoptional
years7years7

Default
empty
Example
empty
Auto value
empty
Stringoptional
regent8regent8

Default
empty
Example
empty
Auto value
empty
Stringoptional
years8years8

Default
empty
Example
empty
Auto value
empty
Stringoptional
alongsidealongside

This parameter is reserved for political positions where two people share power, such as US senators.

Default
empty
Example
empty
Auto value
empty
Stringoptional
withwith

For use when an office is shared with one or more others.

Default
empty
Example
empty
Auto value
empty
Stringoptional
with2with2

Default
empty
Example
empty
Auto value
empty
Stringoptional
with3with3

Default
empty
Example
empty
Auto value
empty
Stringoptional
with4with4

Default
empty
Example
empty
Auto value
empty
Stringoptional
with5with5

Default
empty
Example
empty
Auto value
empty
Stringoptional
with6with6

Default
empty
Example
empty
Auto value
empty
Stringoptional
with7with7

Default
empty
Example
empty
Auto value
empty
Stringoptional
with8with8

Default
empty
Example
empty
Auto value
empty
Stringoptional
with9with9

Default
empty
Example
empty
Auto value
empty
Stringoptional
with10with10

Default
empty
Example
empty
Auto value
empty
Stringoptional
with11with11

Default
empty
Example
empty
Auto value
empty
Stringoptional
with12with12

Default
empty
Example
empty
Auto value
empty
Stringoptional
with13with13

Default
empty
Example
empty
Auto value
empty
Stringoptional
with14with14

Default
empty
Example
empty
Auto value
empty
Stringoptional
with15with15

Default
empty
Example
empty
Auto value
empty
Stringoptional
with16with16

Default
empty
Example
empty
Auto value
empty
Stringoptional
with17with17

Default
empty
Example
empty
Auto value
empty
Stringoptional
with18with18

Default
empty
Example
empty
Auto value
empty
Stringoptional
with19with19

Default
empty
Example
empty
Auto value
empty
Stringoptional
with20with20

Default
empty
Example
empty
Auto value
empty
Stringoptional
with21with21

Default
empty
Example
empty
Auto value
empty
Stringoptional
with22with22

Default
empty
Example
empty
Auto value
empty
Stringoptional
with23with23

Default
empty
Example
empty
Auto value
empty
Stringoptional
with24with24

Default
empty
Example
empty
Auto value
empty
Stringoptional
with25with25

Default
empty
Example
empty
Auto value
empty
Stringoptional
rowsrows

Number of table rows this entry should span.

Default
empty
Example
empty
Auto value
empty
Stringoptional

Sí eisini[rætta wikitekst]

Dokumentatión fyri upprættan av arvafylgju-boksum finnur tú á Fyrimynd:S-start/doc.