Jump to content

Fyrimynd:S-bef

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

This template creates a single first-column succession box column to be used with succession boxes.

The format is {{s-bef|before=|parameter}}, where parameter is replaced by one of the parameter names shown in the following table. The use of a parameter is optional.

as — Adds a title line beneath a predecessor's name to designate a change in title.

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

From the Louis XIV of France article:

{{s-start}}
{{s-reg}}
{{s-bef | before = [[Louis XIII of France|Louis XIII]]}}
{{s-ttl | title = [[List of French monarchs|King of France]] and [[List of Navarrese monarchs|Navarre]] | years = 14 May 1643 – 1 September 1715}}
{{s-aft | after = [[Louis XV of France|Louis XV]]}}
{{s-end}}
Titlar hjá stjórnandi
Undanmaður/kvinna
Louis XIII
King of France and Navarre
14 May 1643 – 1 September 1715
Avloyst/ur av
Louis XV

TemplateData

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

S-bef

Single first-column succession box column for predecessors.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
beforebefore

Predecessor

Stringrequired
before2before2

Second predecessor

Stringoptional
before3before3

Third predecessor

Stringoptional
before4before4

Forth predecessor

Stringoptional
before5before5

Fifth predecessor

Stringoptional
asas

Adds a title line beneath a predecessor's name to designate a change in title.

Stringoptional
rowsrows

Number of table rows to span

Stringoptional

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