Шаблон:S-hou/doc: различия между версиями
[отпатрулированная версия] | [отпатрулированная версия] |
Нет описания правки |
Sunpriat (обсуждение | вклад) м LintErrors |
||
Строка 54: | Строка 54: | ||
== Example == |
== Example == |
||
From the [[Henry VIII of England]] article: |
From the [[Henry VIII of England]] article: |
||
<pre style="font-size |
<pre style="font-size:95%; overflow:auto;"> |
||
{{s-start}} |
{{s-start}} |
||
{{s-hou | [[House of Tudor]]| 28 June | 1491 | 28 January | 1547 }} |
{{s-hou | [[House of Tudor]]| 28 June | 1491 | 28 January | 1547 }} |
||
Строка 61: | Строка 61: | ||
{{s-ttl | title = [[List of English monarchs|King of England]] | years = 22 April 1509 – 28 January 1547 }} |
{{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-aft | after = [[Edward VI of England|Edward VI]] }} |
||
{{end}} |
{{s-end}} |
||
</pre> |
</pre> |
||
{{s-start}} |
{{s-start}} |
||
Строка 69: | Строка 69: | ||
{{s-ttl | title = [[List of English monarchs|King of England]] | years = 22 April 1509 – 28 January 1547 }} |
{{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-aft | after = [[Edward VI of England|Edward VI]] }} |
||
{{end}} |
{{s-end}} |
||
== See also == |
== See also == |
Версия от 13:36, 31 июля 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.
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
{{start}} |-
| colspan="3" style="border-top: 5px solid #FFD700; text-align:center;" |
Дата рождения: birth day birth year Дата смерти: death day death year
| {{s-hou|Royal House|birth day|birth year|death day|death year|Senior house|name=Individual's name}}
|-
| colspan="3" style="border-top: 5px solid #FFD700; text-align:center;" |
Дата рождения: birth day birth year Дата смерти: death day death year
| {{s-hou|Royal House|birth day|birth year|death day|death year}}
|-
| colspan="3" style="border-top: 5px solid #FFD700; text-align:center;" |
Дата рождения: birth year Дата смерти: death year
| {{s-hou|Royal House|left blank|birth year|left blank|death year}}
|-
| colspan="3" style="border-top: 5px solid #FFD700; text-align:center;" |
Дата рождения: birth day birth year
| {{s-hou|Royal House|birth day|birth year|left blank}}
|-
| colspan="3" style="border-top: 5px solid #FFD700; text-align:center;" |
Дата смерти: death day death year
| {{s-hou|Royal House|left blank|left blank|death day|death year}}
|-
| colspan="3" style="border-top: 5px solid #FFD700; text-align:center;" |
| {{s-hou|Royal house|left blank|left blank|left blank|left blank|Senior house|name=Individual's name}}
|-
| colspan="3" style="border-top: 5px solid #FFD700; text-align:center;" |
| {{s-hou|Royal house}}
|}
This template should ALWAYS be followed with a succession list and requires the bookend templates, Шаблон:start and Шаблон:End or Шаблон: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 }} {{tl|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}}
See also
Documentation for creating succession boxes can be found at Шаблон:S-start/doc.
Для улучшения этой статьи желательно:
|