Fyrimynd:S-bef/doc
| Hetta er ein dokumentatión undirsíða til Fyrimynd:S-bef. Hon inniheldur kunning um nýtsluna, bólkar og um annað innihald, ið ikki er við í uppruna fyrimynd síðuni. |
This template creates a single first-column succession box column to be used with succession boxes.
Usage
[rætta wikitekst]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
[rætta wikitekst]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]S-bef
Single first-column succession box column for predecessors.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| before | before | Predecessor | String | required |
| before2 | before2 | Second predecessor | String | optional |
| before3 | before3 | Third predecessor | String | optional |
| before4 | before4 | Forth predecessor | String | optional |
| before5 | before5 | Fifth predecessor | String | optional |
| as | as | Adds a title line beneath a predecessor's name to designate a change in title. | String | optional |
| rows | rows | Number of table rows to span | String | optional |
See also
[rætta wikitekst]Documentation for creating succession boxes can be found at Template:s-start/doc.