Template:S-bef

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

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

Usage

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.

Example

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}}
Regnal titles
Preceded by
Louis XIII
King of France and Navarre
14 May 1643 – 1 September 1715
Succeeded by
Louis XV

TemplateData

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

S-bef

Single first-column succession box column for predecessors.

Template parameters
Parameter Description Type Default Status
before before Predecessor string empty required
before2 before2 Second predecessor string empty optional
before3 before3 Third predecessor string empty optional
before4 before4 Forth predecessor string empty optional
before5 before5 Fifth predecessor string empty optional
as as Adds a title line beneath a predecessor's name to designate a change in title. string empty optional
rows rows Number of table rows to span string empty optional

See also

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