Jump to content

Fyrimynd:S-new/doc

Frá Wikipedia, hin frælsa alfrøðin

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

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 Skiftir út "Nýggjur tittul" við...
award Nýggj virðisløn
championship Nýggjur meistaraskapur
chart Nýggjur hittlisti
constituency New constituency
creation New creation
diocese New diocese
district New district
division New division
first Fyrsti/fyrsta
institution New institution
loss Loss of title
minister Nýggjur ráðharrasessur
office New office
parliament Nýtt tjóðarting
party Nýggjur politiskur flokkur
regiment New regiment
seat New seat
show Nýtt show
sports Nýtt ítróttatiltak
tv Nýtt sjónvarps show

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.

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

{{s-start}}
{{s-reg|gb}}
{{s-new | tittul}}
{{s-ttl | title  = [[Duke of Brandon]] | years = 1711–1712}}
{{s-aft | after  = [[James Hamilton, 5th Duke of Hamilton|James Douglas-Hamilton]]}}
{{s-end}}
Peerage of Great Britain
Nýggjur tittul Duke of Brandon
1711–1712
Avloyst/ur av
James Douglas-Hamilton

TemplateData

[rætta wikitekst]
Hetta er TemplateData dokumentatiónin fyri hesa fyrimynd, ið verður brúkt av VisualEditor og øðrum tólum.

S-new

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

Template parameters

ParameterDescriptionTypeStatus
Type1

The type of creation one of: award, championship, chart, constituency, creation, diocese, district, division, first, institution, minister, office, parliament, party (for new political party), 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

Sí eisini

[rætta wikitekst]

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