Шаблон:S-hou/doc: различия между версиями

Материал из Википедии — свободной энциклопедии
Перейти к навигации Перейти к поиску
[непроверенная версия][отпатрулированная версия]
Содержимое удалено Содержимое добавлено
Нет описания правки
Нет описания правки
 
(не показано 29 промежуточных версий 13 участников)
Строка 1: Строка 1:
{{Docpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{устаревший шаблон|государственный деятель}}
Данный шаблон создает заголовок для использования совместно с [[Шаблон:S-start/Документация|шаблонамом-карточкамой наследования]] для членов знаменитых семейств и династий


This template creates a template topper to be used with [[Шаблон:S-start/doc|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.
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.


Строка 12: Строка 14:
{{s-end}}
{{s-end}}


=== С параметрами ===
=== With parameter ===
The format is <code><nowiki>{{</nowiki>s-hou|''parameter''|''parameter''|''parameter''|''parameter''|''parameter''|''parameter''|''name''}}</code>, where ''parameter'' is replaced by one of the parameter names shown in the following table.
The format is <code><nowiki>{{</nowiki>s-hou|''parameter''|''parameter''|''parameter''|''parameter''|''parameter''|''parameter''|''name''}}</code>, where ''parameter'' is replaced by one of the parameter names shown in the following table.


1 = Person's family name or regnal house<br>
1 = Person’s family name or regnal house<br>
2 = Person's birth day<br>
2 = Person’s birth day<br>
3 = Person's birth year<br>
3 = Person’s birth year<br>
4 = Person's death day<br>
4 = Person’s death day<br>
5 = Person's death year<br>
5 = Person’s death year<br>
6 = Person's senior family name (if house is a part of a [[cadet branch]])<br>
6 = Person’s senior family name (if house is a part of a [[cadet branch]])<br>
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)
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:
;Combinations:


{{start}}
{{tl|start}}
{{s-hou|Royal House|birth day|birth year|death day|death year|Senior house|name=Individual's name}}
{{s-hou|Royal House|birth day|birth year|death day|death year|Senior house|name=Individual's name}}
| <code><nowiki>{{s-hou|Royal House|birth day|birth year|death day|death year|Senior house|name=Individual's name}}</nowiki></code>
| <code><nowiki>{{s-hou|Royal House|birth day|birth year|death day|death year|Senior house|name=Individual's name}}</nowiki></code>
Строка 48: Строка 50:
{{end}}
{{end}}


This template should ALWAYS be followed with a succession list and requires the bookend templates, [[Template:start]] and [[Template:End]] or [[Template:s-ref]], to work properly.
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==
== Example ==
From the [[Henry VIII of England]] article:
From the [[Henry VIII of England]] article:
<pre style="font-size:95%; width:95%; overflow:auto;">
<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 }}
{{s-reg}}
{{tl|s-reg}}
{{s-bef | before = [[Henry VII of England|Henry VII]] }}
{{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-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}}
{{s-hou | [[House of Tudor]] | 28 June | 1491 | 28 January | 1547 | name = Henry VIII of England}}
{{s-hou | [[House of Tudor]] | 28 June | 1491 | 28 January | 1547 | name = Henry VIII of England}}
{{s-reg}}
{{tl|s-reg}}
{{s-bef | before = [[Henry VII of England|Henry VII]] }}
{{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-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 ==
Documentation for creating succession boxes can be found at [[Шаблон:S-start/doc]].


{{rq|translate|topic=template}}
==См. также ==
Документация по созданию шаблонов-карточек наследования может быть найдена здесь: [[Шаблон:S-start/doc]].
<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Категория:Википедия:Шаблоны-карточки:Наследование]]
[[Категория:Википедия:Шаблоны-карточки:Наследование]]
[[Категория:Навигационные шаблоны:Заголовки для последовательностей]]


[[en:S-hou]]
[[en:Template:S-hou]]
[[ca:Plantilla:S-hou]]
[[sl:Predloga:S-hou]]
[[tr:Şablon:S-hou]]
</includeonly>
</includeonly>

Текущая версия от 21:09, 21 июня 2022

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

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;" |

Individual's name
Royal House
Младшая ветвь Senior house

Дата рождения: 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;" |

Individual's name
Royal House

Дата рождения: 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;" |

Individual's name
Royal House

Дата рождения: 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;" |

Individual's name
Royal House

Дата рождения: 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;" |

Individual's name
Royal House

Дата смерти: 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;" |

Individual's name
Royal house
Младшая ветвь Senior house

| {{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;" |

Individual's name
Royal house

| {{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.

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}}

Documentation for creating succession boxes can be found at Шаблон:S-start/doc.