Fyrimynd:S-new

Frá Wikipedia, hin frælsa alfrøðin
Jump to navigation Jump to search
Nýggjur tittul
{{{reason}}}
Documentation icon Skjalfesting til fyrimyndina[vís] [rætta] [søga] [dagfør]

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

Nýtsla[rætta wikitekst]

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.

Dømi 1[rætta wikitekst]

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.