Template:S-aft/doc
From TrainzOnline
< Template:S-aft(Difference between revisions)
(port w/slight adjustments from Wikipedia+{{Wikipedia}} source tagging) |
(fx link) |
||
| Line 11: | Line 11: | ||
==Example== | ==Example== | ||
| − | From the [[Louis XIV of France]] article: | + | From the [[wikipedia:Louis XIV of France]] article: |
<pre style="font-size:95%; width:95%; overflow:auto;"> | <pre style="font-size:95%; width:95%; overflow:auto;"> | ||
{{s-start}} | {{s-start}} | ||
Latest revision as of 14:54, 11 July 2013
|
This template creates a single third-column succession box column to be used with succession boxes.
[edit] 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.
[edit] 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{{#if:| {{{before2}}}|}}{{#if:| {{{before3}}}|}}{{#if:| {{{before4}}}|}}{{#if:| {{{before5}}}|}}{{#if:| as {{{as}}}}} |
Succeeded by Louis XV{{#if:| |}}{{#if:| |}}{{#if:| |}}{{#if:| |}}{{#if:| as {{{as}}}}} | |
[edit] See also
Documentation for creating succession boxes can be found at wikipedia:Template:s-start/doc.