قالب:S-hou/doc
This is a documentation subpage for قالب:S-hou. It may contain usage information, categories and other content that is not part of the original قالب page. |
This template is used on approximately 9,500 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
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.
With parameter
تعديلThe format is |-
| colspan="3" style="border-top: 5px solid #FFD700; text-align:center;" |
S-hou/doc parameterCadet branch of the parameter
Born: parameter parameter Died: parameter parameter
, 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
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}}
TemplateData
تعديلTemplateData for S-hou
A template topper to be used with succession boxes for members of important families or dynasties.
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
Family name/House | 1 | Person's family name or regnal house | نص | اختياري |
Day+Month of birth | 2 | Person's birth day, eg. 28 June | نص | اختياري |
Year of birth | 3 | Person's birth year | نص | اختياري |
Day+Month of death | 4 | Person's death day, eg 28 January | نص | اختياري |
Year of death | 5 | Person's death year | نص | اختياري |
Senior family name | 6 | Person's senior family name (if house is a part of a cadet branch) | نص | اختياري |
name | name | The person's name if it is not the same as the page title. | نص | اختياري |
inhibit | inhibit | Suppress using {{PAGENAME}} for the title. | نص | اختياري |
شوف كمان
تعديلDocumentation for creating succession boxes can be found at Template:S-start/doc.