Template:S-new/doc

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

Usage[edit]

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...
command New command
creation New creation
first First
loss Loss of title
minister New ministerial post
post New post
regiment New regiment

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.

Example 1[edit]

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]]}}
{{s-end}}
Regnal titles
New creation Duke of Brandon
1711–1712
Succeeded by

TemplateData[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.

TemplateData for S-new

Indicates creation of a new title, show etc. or loss of a title. Takes 1 table column.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Type1

The type of creation one of: award, championship, chart, command, constituency, creation, diocese, district, division, first, institution, minister, office, parliament, party (for new political party), post, regiment, seat, show, sports (for new sporting event), tv (for new television show). Use 'loss' for Loss of title.

Stringoptional
reasonreason

Reason for office creation

Stringoptional
rowsrows

Number of table rows to span.

Stringoptional

See also[edit]

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