الگو: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.
  • regent1regent8 AND years1years8 (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.
  • withwith25 (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}}}
با {{{regent1}}} ({{{years1}}})
{{{regent2}}} ({{{years2}}})
... (...)
{{{regent8}}} ({{{years8}}})
متصدی همزمان: {{{alongside}}}
با: {{{with}}}
{{{with2}}}
...
{{{with25}}}

عضو مجلس اعیان بریتانیا
({{{lords}}})

Output (as table cell)
{{{order}}} {{{title}}}
نمایندهٔ {{{district}}}
{{{dynasty}}}
{{{creation}}}
{{{years}}}
با {{{regent1}}} ({{{years1}}})
{{{regent2}}} ({{{years2}}})
... (...)
{{{regent8}}} ({{{years8}}})
متصدی همزمان: {{{alongside}}}
با: {{{with}}}
{{{with2}}}
...
{{{with25}}}

عضو مجلس اعیان بریتانیا
({{{lords}}})
Output (in succession box, rows=2)
پیشین:
{{{order}}} {{{title}}}
نمایندهٔ {{{district}}}
{{{dynasty}}}
{{{creation}}}
{{{years}}}
با {{{regent1}}} ({{{years1}}})
{{{regent2}}} ({{{years2}}})
... (...)
{{{regent8}}} ({{{years8}}})
متصدی همزمان: {{{alongside}}}
با: {{{with}}}
{{{with2}}}
...
{{{with25}}}

عضو مجلس اعیان بریتانیا
({{{lords}}})
پسین:
پیشین:
پسین:

Examples[ویرایش]

From the ریچارد، نخستین ارل کورن‌وال article:

{{جعبه آغازی}}
{{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}}
اشراف انگلستان
عنوان جدید Earl of Cornwall
7th creation
4 March 1857 – 21 January 1861
پسین:
Edmund

From the جفرسون دیویس article:

{{جعبه آغازی}}
{{S-par| us-sen}}
{{S-bef| before=[[استیون آدامز]]}}
{{S-ttl| title=[[List of United States Senators from Mississippi|Senator from Mississippi (Class 1)]]
| years=March 4, 1857 – January 21, 1861
| alongside=[[آلبرت جی. براون]]}}
{{S-aft|after=[[Adalbert Ames]]}}
{{S-end}}
مجلس سنای ایالات متحده آمریکا
پیشین:
استیون آدامز
Senator from Mississippi (Class 1)
March 4, 1857 – January 21, 1861
متصدی همزمان: آلبرت جی. براون
پسین:
Adalbert Ames

From the توماس وودرو ویلسون article:

{{جعبه آغازی}}
{{S-off}}
{{S-bef|before=[[ویلیام هووارد تفت]]}}
{{S-ttl|title=[[رئیس‌جمهور ایالات متحده آمریکا]]|order=28th|years=1913–1921}}
{{S-aft|After=[[وارن جی. هاردینگ]]}}
{{S-end}}
مناصب سیاسی
پیشین:
ویلیام هووارد تفت
28th رئیس‌جمهور ایالات متحده آمریکا
1913–1921
پسین:
وارن جی. هاردینگ

TemplateData[ویرایش]

این، توضیحاتِ الگوداده است که توسط TemplateWizard، ویرایشگر دیداری و دیگر ابزارها استفاده می‌شود. گزارش خطای ماهیانه برای این الگو را ببینید.

الگوداده S-ttl

This template creates a single succession box center column to be used with succession boxes for the function of listing titles.

پارامترهای الگو[ویرایش داده‌های الگو]

استفاده از قالب‌بندی قطعه‌ای برای پارامترهای این الگو ارجح است.

پارامترتوضیحاتنوعوضعیت
titletitle

Text to be displayed for title.

رشتهضروری
orderorder

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.

مثال
28th
رشتهاختیاری
districtdistrict

For use with parliamentary offices. Insert as a wikilink the district represented during the tenure in office.

رشتهاختیاری
dynastydynasty

Adds a sub-line beneath the title that allows for a 'dynasty' number for certain royal dynastic lines (such as the Pharaohs of Egypt).

رشتهاختیاری
creationcreation

Adds a sub-line beneath the title that allows for a 'creation' number for certain noble titles (such as the Dukes of Cornwall).

رشتهاختیاری
yearsyears

Years served in office, typically a range of dates.

رشتهپیشنهادشده
regent1regent1

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.

رشتهاختیاری
years1years1

Time regent1 served. Should only contain years, not days or months.

رشتهاختیاری
regent2regent2

بدون توصیف

رشتهاختیاری
years2years2

بدون توصیف

رشتهاختیاری
regent3regent3

بدون توصیف

رشتهاختیاری
years3years3

بدون توصیف

رشتهاختیاری
regent4regent4

بدون توصیف

رشتهاختیاری
years4years4

بدون توصیف

رشتهاختیاری
regent5regent5

بدون توصیف

رشتهاختیاری
years5years5

بدون توصیف

رشتهاختیاری
regent6regent6

بدون توصیف

رشتهاختیاری
years6years6

بدون توصیف

رشتهاختیاری
regent7regent7

بدون توصیف

رشتهاختیاری
years7years7

بدون توصیف

رشتهاختیاری
regent8regent8

بدون توصیف

رشتهاختیاری
years8years8

بدون توصیف

رشتهاختیاری
alongsidealongside

This parameter is reserved for political positions where two people share power, such as US senators.

رشتهاختیاری
withwith

For use when an office is shared with one or more others.

رشتهاختیاری
with2with2

بدون توصیف

رشتهاختیاری
with3with3

بدون توصیف

رشتهاختیاری
with4with4

بدون توصیف

رشتهاختیاری
with5with5

بدون توصیف

رشتهاختیاری
with6with6

بدون توصیف

رشتهاختیاری
with7with7

بدون توصیف

رشتهاختیاری
with8with8

بدون توصیف

رشتهاختیاری
with9with9

بدون توصیف

رشتهاختیاری
with10with10

بدون توصیف

رشتهاختیاری
with11with11

بدون توصیف

رشتهاختیاری
with12with12

بدون توصیف

رشتهاختیاری
with13with13

بدون توصیف

رشتهاختیاری
with14with14

بدون توصیف

رشتهاختیاری
with15with15

بدون توصیف

رشتهاختیاری
with16with16

بدون توصیف

رشتهاختیاری
with17with17

بدون توصیف

رشتهاختیاری
with18with18

بدون توصیف

رشتهاختیاری
with19with19

بدون توصیف

رشتهاختیاری
with20with20

بدون توصیف

رشتهاختیاری
with21with21

بدون توصیف

رشتهاختیاری
with22with22

بدون توصیف

رشتهاختیاری
with23with23

بدون توصیف

رشتهاختیاری
with24with24

بدون توصیف

رشتهاختیاری
with25with25

بدون توصیف

رشتهاختیاری
lordslords

Designates that the person was a member of the House of Lords. The dates they served in the house should be specified.

رشتهاختیاری
rowsrows

Number of table rows this entry should span.

رشتهاختیاری

See also[ویرایش]

Documentation for creating succession boxes can be found at Template:S-start/doc.