Шаблон:S-hou

Версия от 02:45, 20 февраля 2022; Adam (обсуждение | вклад) (Новая страница: «|- | colspan="3" style="border-top: 5px solid #FFD700; text-align:center;" | <div>{{{name|{{#if:{{{inhibit|}}}|<!-- do nothing -->|{{PAGENAME}} }} }}}</div><!-- -->{{#if:{{{1|}}} | <div>'''{{{1}}}'''</div> }}<!-- -->{{#if:{{{6|}}} | <div style="font-size:90%">Младшая ветвь '''{{{6}}}'''</div>}}<!-- -->{{#if:{{{3|}}}|<span style="white-space:nowrap; font-size:90%; margin:2em">'''Дата рождения:''' {{{2|}}} {{{3}}} </span> }}<!--...»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

|-

| colspan="3" style="border-top: 5px solid #FFD700; text-align:center;" |

S-hou
Документация

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