Fyrimynd:S-inc

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 column for incumbents to be used with succession boxes. It is only meant to be used in the right column of succession boxes.

Usage[rætta wikitekst]

The format is {{s-inc|parameter=}}, where parameter= is replaced by one or more of the parameter names shown in the following table. The code without any parameters defaults to Incumbent.

current — Replaces Incumbent with Current holder
recent — Replaces Incumbent with Most recent
heir — Designates the heir of the current incumbent, thus allowing the succession chain to continue as a list of heirs
heir-type — Replaces "Heir" with the inserted text, preferably one of "Heir apparent", "Heir presumptive", "Coadjutor bishop"

Note: Template:s-ttl does not allow for a template to have an incumbent, so editors must add "– present" after the first date. If using the "recent" parameter, this is not necessary.

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

Dømi[rætta wikitekst]

Frá Elizabeth II av Sameinda kongsríkinum greinini:

{{s-start}}
{{s-reg}}
{{s-bef | before = [[George VI av United Kingdom|George VI]]}}
{{s-ttl | title = [[Drotning av United Kingdom]] | years = 6. februar 1952 – nú}}
{{s-inc | heir = [[Charles, prinsur av Wales]] | heir-type = trúnarvingi}}
{{s-end}}
Titlar hjá stjórnandi
Undanmaður/kvinna
George VI
Drotning av United Kingdom
6. februar 1952 – nú
Núverandi
trúnarvingi:
Charles, prinsur av Wales

TemplateData[rætta wikitekst]

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

S-inc

Used in third column of a succession box to indicate the current holder is incumbent.

Template parameters

ParameterDescriptionTypeStatus
Type1

Can be 'current' which gives 'Current holder' or 'recent' which gives 'Most recent'. If unset gives the default 'Incumbent'.

Stringoptional
heirheir

Name of heir of the current incumbent, thus allowing the succession chain to continue as a list of heirs

Stringoptional
heir-typeheir-type

Type of heir, preferably one of 'Heir apparent', 'Heir presumptive', 'Coadjutor bishop', default gives just 'Heir'.

Stringoptional
rowsrows

Number of table rows to span.

Stringoptional

See also[rætta wikitekst]

Documentation for creating succession boxes can be found at Fyrimynd:S-start.