Template:S-bef: Difference between revisions
From TrainzOnline
Jump to navigationJump to search
port w/slight adjustments from Wikipedia+{{Wikipedia}} source tagging |
connect documentation +TODO |
||
| Line 1: | Line 1: | ||
<includeonly>|- style="text-align:center;" | <includeonly>|- style="text-align:center;" | ||
|width="30%" align="center" rowspan="{{{rows|1}}}"|Preceded by<br/><span style="font-weight: bold">{{{before}}}{{#if:{{{before2|}}}|<br/>{{{before2}}}|}}{{#if:{{{before3|}}}|<br/>{{{before3}}}|}}{{#if:{{{before4|}}}|<br/>{{{before4}}}|}}{{#if:{{{before5|}}}|<br/>{{{before5}}}|}}</span>{{#if:{{{as|}}}|<br><small>'''''as {{{as}}}'''''</small>}}</includeonly><noinclude>{{documentation}}{{wikipedia}}</noinclude> | |width="30%" align="center" rowspan="{{{rows|1}}}"|Preceded by<br/><span style="font-weight: bold">{{{before}}}{{#if:{{{before2|}}}|<br/>{{{before2}}}|}}{{#if:{{{before3|}}}|<br/>{{{before3}}}|}}{{#if:{{{before4|}}}|<br/>{{{before4}}}|}}{{#if:{{{before5|}}}|<br/>{{{before5}}}|}}</span>{{#if:{{{as|}}}|<br><small>'''''as {{{as}}}'''''</small>}}</includeonly><noinclude>{{documentation}} | ||
{{LinkSubT}} | |||
{{S-aft/doc}}{{FAB-todo|Recast as prev-next series}} | |||
{{wikipedia}}</noinclude> | |||
Latest revision as of 13:55, 12 July 2013
- This is a section of a parent template... leave alone!
|
This template creates a single third-column succession box column to be used with succession boxes.
Usage
The format is {{s-aft|after=|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 successor'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 wikipedia:Louis XIV of France article:
{{s-start}}
{{s-reg}}
{{s-bef | before = [[wikipedia:Louis XIII of France|Louis XIII]]}}
{{s-ttl | title = [[wikipedia:List of French monarchs|King of France]] and [[wikipedia:List of Navarrese monarchs|Navarre]] | years = 14 May 1643 – 1 September 1715}}
{{s-aft | after = [[wikipedia:Louis XV of France|Louis XV]]}}
{{s-end}}
| Preceded by Louis XIII |
Succeeded by Louis XV | |
See also
Documentation for creating succession boxes can be found at wikipedia:Template:s-start/doc.