Халип:S-ttl/Документация
КІвар кье! Гьаб шаблон гІуцІун буго Ингилис Википедиялдаса шаблоналъул аслуялда таржама гьабичІого. |
This template creates a single succession box center column to be used with succession boxes for the function of listing titles.
Usage
хисизабизеThe format is {{s-ttl|title=enter title here|years=enter years title was held here|parameter=}}
, where parameter= can be any of the optional parameters listed below.
- Parameter names
- title (required) — Text to be displayed for title.
- order (optional) — Indicates the nth person to hold a given office. For use with offices that have a recognized sequence. E.g. 28th
- district (optional) — For use with parliamentary offices. Insert as a wikilink the district represented during the tenure in office.
- dynasty (optional) — Adds a sub-line beneath the title that allows for a "dynasty" number for certain royal dynastic lines (such as the Pharaohs of Egypt).
- creation (optional) — Adds a sub-line beneath the title that allows for a "creation" number for certain noble titles (such as the Dukes of Cornwall).
- years (optional) — Years served in office, typically a range of dates.
- regent1–regent8 AND years1–years8 (optional) — These parameters can be used when an office is held in tandem with another person. Examples of this include co-rulers of a country or region and regencies. It does not include consorts or sub-positions such as vice presidencies. The "years" parameter should only contain years, not days or months, but all other guidelines rules apply.
- alongside (optional) — This parameter is reserved for political positions where two people share power, such as US senators.
- with–with25 (optional) — Alternative parameter for use when an office is shared with one or more others
- lords (optional) — Designates that the person was a member of the House of Lords. The parameter is asking for the dates they served in the house.
- rows (optional) — Number of table rows this entry should span.
- Usage
{{S-ttl | title= | order= | district= | dynasty= | creation= | years= | regent1= | years1= | regent2= | years2= | regent3= | years3= | regent4= | years4= | regent5= | years5= | regent6= | years6= | regent7= | years7= | regent8= | years8= | alongside= | with= | with2= | with3= | with4= | with5= | with6= | with7= | with8= | with9= | with10= | with11= | with12= | with13= | with14= | with15= | with16= | with17= | with18= | with19= | with20= | with21= | with22= | with23= | with24= | with25= | lords= | rows= }}
- Output (raw)
| style="width: 40%; text-align: center;" rowspan="{{{rows}}}"|{{{order}}} {{{title}}}
Вакил {{{district}}}
{{{dynasty}}}
{{{creation}}}
{{{years}}}
with {{{regent1}}} ({{{years1}}})
{{{regent2}}} ({{{years2}}})
... (...)
{{{regent8}}} ({{{years8}}})
Цадахъ хъулухъ гьабулаан: {{{alongside}}}
Цадахъ: {{{with}}}
{{{with2}}}
...
{{{with25}}}
Member of the House of Lords
({{{lords}}})
- Output (as table cell)
{{{order}}} {{{title}}} Вакил {{{district}}} {{{dynasty}}} {{{creation}}} {{{years}}} with {{{regent1}}} ({{{years1}}}) {{{regent2}}} ({{{years2}}}) ... (...) {{{regent8}}} ({{{years8}}}) Цадахъ хъулухъ гьабулаан: {{{alongside}}} Цадахъ: {{{with}}} {{{with2}}} ... {{{with25}}} Member of the House of Lords ({{{lords}}}) |
- Output (in succession box, rows=2)
Цересел {{{before}}} |
{{{order}}} {{{title}}} Вакил {{{district}}} {{{dynasty}}} {{{creation}}} {{{years}}} with {{{regent1}}} ({{{years1}}}) {{{regent2}}} ({{{years2}}}) ... (...) {{{regent8}}} ({{{years8}}}) Цадахъ хъулухъ гьабулаан: {{{alongside}}} Цадахъ: {{{with}}} {{{with2}}} ... {{{with25}}} Member of the House of Lords ({{{lords}}}) |
Ирс кьуна {{{after}}} |
Цересел {{{before}}} |
Ирс кьуна {{{after}}} |
Examples
хисизабизеFrom the Richard, 1st Earl of Cornwall article:
{{s-start}} {{s-reg | en}} {{s-new | creation}} {{s-ttl | title=[[Earl of Cornwall]] | creation=7th creation | years=4 March 1857 – 21 January 1861}} {{s-aft | after=[[Edmund, 2nd Earl of Cornwall|Edmund]]}} {{s-end}}Халип:S-reg
New creation | Earl of Cornwall 7th creation 4 March 1857 – 21 January 1861 |
Ирс кьуна Edmund |
From the Jefferson Davis article:
{{s-start}} {{s-par | us-sen}} {{s-bef | before=[[Stephen Adams (politician)|Stephen Adams]]}} {{s-ttl | title=[[List of United States Senators from Mississippi|Senator from Mississippi (Class 1)]] | years=March 4, 1857 – January 21, 1861 | alongside=[[Albert G. Brown]]}} {{s-aft|after=[[Adalbert Ames]]}} {{s-end}}
Unrecognised parameter | ||
---|---|---|
Цересел Stephen Adams |
Senator from Mississippi (Class 1) March 4, 1857 – January 21, 1861 Цадахъ хъулухъ гьабулаан: Albert G. Brown |
Ирс кьуна Adalbert Ames |
From the Woodrow Wilson article:
{{s-start}} {{s-off}} {{s-bef|before=[[William Howard Taft]]}} {{s-ttl|title=[[President of the United States]]|order=28th|years=1913–1921}} {{s-aft|After=[[Warren G. Harding]]}} {{s-end}}Халип:S-off
Цересел William Howard Taft |
28th President of the United States 1913–1921 |
Ирс кьуна Warren G. Harding |
TemplateData
хисизабизеTemplateData for S-ttl
This template creates a single succession box center column to be used with succession boxes for the function of listing titles.
Параметр | Описание | Тип | Статус | |
---|---|---|---|---|
title | title | Text to be displayed for title. | Строковый (без форматирования) | обязательный |
order | order | Indicates the nth person to hold a given office. Should always be used in numerical, not written form. For use with offices that have a recognized sequence.
| Строковый (без форматирования) | необязательный |
district | district | For use with parliamentary offices. Insert as a wikilink the district represented during the tenure in office. | Строковый (без форматирования) | необязательный |
dynasty | dynasty | Adds a sub-line beneath the title that allows for a 'dynasty' number for certain royal dynastic lines (such as the Pharaohs of Egypt). | Строковый (без форматирования) | необязательный |
creation | creation | Adds a sub-line beneath the title that allows for a 'creation' number for certain noble titles (such as the Dukes of Cornwall). | Строковый (без форматирования) | необязательный |
years | years | Years served in office, typically a range of dates. | Строковый (без форматирования) | предложенный |
regent1 | regent1 | Used when an office is held in tandem with another person. Examples of this include co-rulers of a country or region and regencies. It does not include consorts or sub-positions such as vice presidencies. | Строковый (без форматирования) | необязательный |
years1 | years1 | Time regent1 served. Should only contain years, not days or months. | Строковый (без форматирования) | необязательный |
regent2 | regent2 | без описания | Строковый (без форматирования) | необязательный |
years2 | years2 | без описания | Строковый (без форматирования) | необязательный |
regent3 | regent3 | без описания | Строковый (без форматирования) | необязательный |
years3 | years3 | без описания | Строковый (без форматирования) | необязательный |
regent4 | regent4 | без описания | Строковый (без форматирования) | необязательный |
years4 | years4 | без описания | Строковый (без форматирования) | необязательный |
regent5 | regent5 | без описания | Строковый (без форматирования) | необязательный |
years5 | years5 | без описания | Строковый (без форматирования) | необязательный |
regent6 | regent6 | без описания | Строковый (без форматирования) | необязательный |
years6 | years6 | без описания | Строковый (без форматирования) | необязательный |
regent7 | regent7 | без описания | Строковый (без форматирования) | необязательный |
years7 | years7 | без описания | Строковый (без форматирования) | необязательный |
regent8 | regent8 | без описания | Строковый (без форматирования) | необязательный |
years8 | years8 | без описания | Строковый (без форматирования) | необязательный |
alongside | alongside | This parameter is reserved for political positions where two people share power, such as US senators. | Строковый (без форматирования) | необязательный |
with | with | For use when an office is shared with one or more others. | Строковый (без форматирования) | необязательный |
with2 | with2 | без описания | Строковый (без форматирования) | необязательный |
with3 | with3 | без описания | Строковый (без форматирования) | необязательный |
with4 | with4 | без описания | Строковый (без форматирования) | необязательный |
with5 | with5 | без описания | Строковый (без форматирования) | необязательный |
with6 | with6 | без описания | Строковый (без форматирования) | необязательный |
with7 | with7 | без описания | Строковый (без форматирования) | необязательный |
with8 | with8 | без описания | Строковый (без форматирования) | необязательный |
with9 | with9 | без описания | Строковый (без форматирования) | необязательный |
with10 | with10 | без описания | Строковый (без форматирования) | необязательный |
with11 | with11 | без описания | Строковый (без форматирования) | необязательный |
with12 | with12 | без описания | Строковый (без форматирования) | необязательный |
with13 | with13 | без описания | Строковый (без форматирования) | необязательный |
with14 | with14 | без описания | Строковый (без форматирования) | необязательный |
with15 | with15 | без описания | Строковый (без форматирования) | необязательный |
with16 | with16 | без описания | Строковый (без форматирования) | необязательный |
with17 | with17 | без описания | Строковый (без форматирования) | необязательный |
with18 | with18 | без описания | Строковый (без форматирования) | необязательный |
with19 | with19 | без описания | Строковый (без форматирования) | необязательный |
with20 | with20 | без описания | Строковый (без форматирования) | необязательный |
with21 | with21 | без описания | Строковый (без форматирования) | необязательный |
with22 | with22 | без описания | Строковый (без форматирования) | необязательный |
with23 | with23 | без описания | Строковый (без форматирования) | необязательный |
with24 | with24 | без описания | Строковый (без форматирования) | необязательный |
with25 | with25 | без описания | Строковый (без форматирования) | необязательный |
lords | lords | Designates that the person was a member of the House of Lords. The dates they served in the house should be specified. | Строковый (без форматирования) | необязательный |
rows | rows | Number of table rows this entry should span. | Строковый (без форматирования) | необязательный |
See also
хисизабизеDocumentation for creating succession boxes can be found at Template:S-start/doc.