Difference between revisions of "Template:S-hou"
(option to override branch text for Ali and about 34 others) |
37thchamber (talk | contribs) m (1 revision imported: succession boxes) |
(No difference)
|
Latest revision as of 10:44, 23 May 2020
This template creates a template topper to be used with succession boxes for members of important families or dynasties
Usage
Without parameter
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
|
{{s-hou}}
|
With parameter
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 Cadet branch of the Senior house Born: birth day birth year Died: 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 Born: birth day birth year Died: death day death year
|
{{s-hou|Royal House|birth day|birth year|death day|death year}}
| ||
Individual's name Royal House Born: birth year Died: death year
|
{{s-hou|Royal House||birth year||death year}}
| ||
Individual's name Royal House Born: birth day birth year
|
{{s-hou|Royal House|birth day|birth year|}}
| ||
Individual's name Royal House Died: death day death year
|
{{s-hou|Royal House|||death day|death year}}
| ||
Individual's name Royal house Cadet branch of the Senior house
|
{{s-hou|Royal house|||||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.
Example
From the Henry VIII of England article:
{{s-start}} {{s-hou | [[House of Tudor]]| 28 June | 1491 | 28 January | 1547 }} {{s-reg}} {{s-bef | before = [[Henry VII of England|Henry VII]] }} {{s-ttl | title = [[List of English monarchs|King of England]] | years = 22 April 1509 – 28 January 1547 }} {{s-aft | after = [[Edward VI of England|Edward VI]] }} {{s-end}}
Henry VIII of England Born: 28 June 1491 Died: 28 January 1547
| ||
Regnal titles | ||
---|---|---|
Preceded by Henry VII |
King of England 22 April 1509 – 28 January 1547 |
Succeeded by Edward VI |
TemplateData
TemplateData for S-hou
<templatedata> {
"description": "A template topper to be used with succession boxes for members of important families or dynasties.", "params": { "1": { "label": "Family name/House", "description": "Person's family name or regnal house", "type": "string", "required": false }, "2": { "label": "Day+Month of birth", "description": "Person's birth day, eg. 28 June", "type": "string", "required": false }, "3": { "label": "Year of birth", "description": "Person's birth year", "type": "string", "required": false }, "4": { "label": "Day+Month of death", "description": "Person's death day, eg 28 January", "type": "string", "required": false }, "5": { "label": "Year of death", "description": "Person's death year", "type": "string", "required": false }, "6": { "label": "Senior family name", "description": "Person's senior family name (if house is a part of a cadet branch)", "type": "string", "required": false }, "name": { "label": "name", "description": "The person's name if it is not the same as the page title.", "type": "string", "required": false }, "inhibit": { "label": "inhibit", "description": "Suppress using S-hou for the title.", "type": "string", "required": false } }
} </templatedata>
See also
Documentation for creating succession boxes can be found at Template:S-start/doc.