Jump to content

Fyrimynd:S-hou/doc

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

This template creates a template topper to be used with succession boxes for members of important families or dynasties

Without parameter

[rætta wikitekst]

The template defaults to PAGENAME and a break if no parameter is given. In the following table, the first column contains the header and the second column shows the template call used to create it.

S-hou/doc
{{s-hou}}

With parameter

[rætta wikitekst]

The format is {{s-hou|parameter|parameter|parameter|parameter|parameter|parameter|name}}, where parameter is replaced by one of the parameter names shown in the following table.

1 = Person's family name or regnal house
2 = Person's birth day
3 = Person's birth year
4 = Person's death day
5 = Person's death year
6 = Person's senior family name (if house is a part of a cadet branch)
name = The person's name if it is not the same as the page title (this option is not required if the pagename fits the individual perfectly)

Combinations
Individual's name
Royal House
Yngri grein av ætt Senior house
Fødd/ur: birth day birth year Andaðist: death day death year
{{s-hou|Royal House|birth day|birth year|death day|death year|Senior house|name=Individual's name}}
Individual's name
Royal House
Fødd/ur: birth day birth year Andaðist: death day death year
{{s-hou|Royal House|birth day|birth year|death day|death year}}
Individual's name
Royal House
Fødd/ur: birth year Andaðist: death year
{{s-hou|Royal House|left blank|birth year|left blank|death year}}
Individual's name
Royal House
Fødd/ur: birth day birth year
{{s-hou|Royal House|birth day|birth year|left blank}}
Individual's name
Royal House
Andaðist: death day death year
{{s-hou|Royal House|left blank|left blank|death day|death year}}
Individual's name
Royal house
Yngri grein av ætt Senior house
{{s-hou|Royal house|left blank|left blank|left blank|left blank|Senior house|name=Individual's name}}
Individual's name
Royal house
{{s-hou|Royal house}}

This template should ALWAYS be followed with a succession list and requires the bookend templates, Template:s-start and Template:s-end or Template:s-ref, to work properly.

From the Henry VIII of England article:

{{s-start}}
{{s-hou | [[House of Tudor]]| 28. juni | 1491 | 28. januar | 1547 }}
{{s-reg}}
{{s-bef | before = [[Henry VII av Onglandi|Henry VII]] }}
{{s-ttl | title = [[Listi yvir enskar monarkar|Kongur av Onglandi]] | years = 22. apríl 1509 – 28. januar 1547 }}
{{s-aft | after = [[Edward VI av Onglandi|Edward VI]] }}
{{s-end}}
Henry VIII av Onglandi
Fødd/ur: 28. juni 1491 Andaðist: 28. januar 1547
Titlar hjá stjórnandi
Undanmaður/kvinna
Henry VII
Kongur av Onglandi
22. apríl 1509 – 28. januar 1547
Avloyst/ur av
Edward VI

TemplateData

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

S-hou

A template topper to be used with succession boxes for members of important families or dynasties.

Template parameters

ParameterDescriptionTypeStatus
Family name/House1

Person's family name or regnal house

Stringoptional
Day+Month of birth2

Person's birth day, eg. 28 June

Stringoptional
Year of birth3

Person's birth year

Stringoptional
Day+Month of death4

Person's death day, eg 28 January

Stringoptional
Year of death5

Person's death year

Stringoptional
Senior family name6

Person's senior family name (if house is a part of a cadet branch)

Stringoptional
namename

The person's name if it is not the same as the page title.

Stringoptional
inhibitinhibit

Suppress using {{PAGENAME}} for the title.

Stringoptional

Sí eisini

[rætta wikitekst]

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