• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:S-hou/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:S-hou
This is the template sandbox page for Template:S-hou (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 9,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.

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

Contents

  • 1 Usage
    • 1.1 Without parameter
    • 1.2 With parameter
  • 2 Example
  • 3 TemplateData
  • 4 See also

Usage

edit

Without parameter

edit

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/sandbox
{{s-hou}}

With parameter

edit

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

edit

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
House of Tudor
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

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:S-hou in articles based on its TemplateData.

TemplateData for S-hou

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

Template parameters[Edit template data]

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

See also

edit

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

The above documentation is transcluded from Template:S-hou/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:S-hou/sandbox&oldid=852380464"
Last edited on 28 July 2018, at 15:54

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 28 July 2018, at 15:54 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop