Template:S-new/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:S-new (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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

[edit] Usage

The format is {{s-new|parameter}}, where parameter is replaced by one of the parameter names shown in the following table. The use of a parameter is optional.

value Replaces "New title" with...
creation New creation
party New political party
district New district
division New division
constituency New constituency
institution New institution
seat New seat
diocese New diocese
regiment New regiment
loss Loss of title
first First

Note: Only one parameter can be used in a single line of code.

In addition, the parameter, reason, may be used to designate the reason(s) for the title (or loss); enter a short explanation after entering this parameter, if necessary.

This template allows for multiple row-spans using the parameter |rows=| between the template name and the first parameter.

[edit] Example 1

From the James Hamilton, 4th Duke of Hamilton article:

{{s-start}}
{{s-reg|gb}}
{{s-new | creation}}
{{s-ttl | title  = [[Duke of Brandon]] | years = 1711 – 1712}}
{{s-aft | after  = [[James Hamilton, 5th Duke of Hamilton|James Douglas-Hamilton]]}}
{{end}}
Peerage of Great Britain
New creation Duke of Brandon
1711 – 1712
Succeeded by
James Douglas-Hamilton


[edit] See also

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