Template:S-reg

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
m (tweak to remove message now made redundant)
(connect documentation)
 
(One intermediate revision by one user not shown)
Line 30: Line 30:
 
}}-->{{{1|}}}<noinclude>
 
}}-->{{{1|}}}<noinclude>
  
{{wikipedia}}
 
 
{{LinkSubT}}
 
{{LinkSubT}}
 +
{{S-aft/doc}}
 +
{{wikipedia}}
 
<!-- {{documentation}} Add categories and interwikis to the /doc subpage, not here. -->
 
<!-- {{documentation}} Add categories and interwikis to the /doc subpage, not here. -->
 
</noinclude>
 
</noinclude>

Latest revision as of 23:47, 12 July 2013

|- ! colspan="3" style="border-top: 5px solid #ACE777;" |


This is a section of a parent template... leave alone!

This is a documentation subpage for Template:S-reg.

 
It contains usage information, categories and other informational content that is best arranged so that it is not part of the original template page, such as in many cases, examples of how to use the template in question.
  • Documentation subpages were developed to reduce server demands, or to protect the code version of widely used templates.
     

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}}}}}

Template:S-ttl

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.

S-reg wikipedia:Category:Exclude in print

Personal tools