الگو:جعبه توالی

از ویکی‌پدیا، دانشنامهٔ آزاد
(تغییرمسیر از الگو:Succession box)
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

طرز استفاده[ویرایش]

طریقه کلی استفاده از این الگو به صورت زیر است:

{{جعبه آغازی}}

{{جعبه توالی |
  قبل= |
  عنوان= |
  سال‌ها= |
  بعد=
}}

{{جعبه توالی |
  قبل= |
  عنوان= |
  سال‌ها= |
  بعد=
}}

...

{{جعبه پایانی}}

بین الگوهای آغازی و پایانی می‌توان چندین الگوی توالی قرار داد و در این صورت نتیجه به شکل یک جدول درمی‌آید.

به طور کلی، مکان استفاده از این الگو در آخرین قسمت مقاله و قبل از الگوهای معمولی دیگر است. (یعنی بعد از پیوند به بیرون) اما اگر این جعبه به بخشی از مقاله مربوط باشد باید آن را در انتهای آن بخش آورد (برای مثال در قسمت جایزه‌های یک بازیگر).

نمونه[ویرایش]

با وارد کردن کد زیر:

{{جعبه آغازی}}

{{جعبه توالی |
  قبل= [[اکبر هاشمی رفسنجانی]]|
  عنوان= [[رئیس‌جمهور ایران]]|
  سال‌ها= [[۱۳۷۶ (خورشیدی)|۱۳۷۶]] - [[۱۳۸۴ (خورشیدی)|۱۳۸۴]]|
  بعد= [[محمود احمدی‌نژاد]]
}}
{{جعبه پایانی}}

جعبهٔ زیر نمایش می‌یابد:

This template creates a standard line for succession boxes. Deprecated in favour of the الگو:جعبه آغازی, the succession box template might be used only for the simplest succession lines. These are single succession lines showing nothing more than a succession of three people holding exactly the same title. For succession lines sharing cells with other lines, for new or expired titles, for incumbencies or vacancies, for titular rulers or pretenders, for titles which change their name before or after the subject, and for lines requiring other additional information, the specialised templates of the {{s-start}} series should be used instead of this one. For purposes of consistency and simplicity, it is preferable to use {{s-start}} series templates in all cases.

Syntax[ویرایش]

Basic usage:

{{جعبه آغازی}}
{{جعبه توالی
 | title  = 
 | years  = 
 | with   =
 | before = 
 | after  = 
}}
{{S-end}}

Full usage:

{{جعبه آغازی}}
{{جعبه توالی
 | title   = 
 | years   = 
 | with    =
 | with2   =
 | with3   =
 | with4   =
 | with5   =
 | with6   =
 | with7   =
 | with8   =
 | with9   =
 | with10  =
 | before  = 
 | before2 = 
 | before3 = 
 | before4 = 
 | before5 = 
 | after   = 
 | after2  = 
 | after3  = 
 | after4  = 
 | after5  = 
}}
{{S-end}}

Usage[ویرایش]

A succession box may start with a single {{S-start}} and end with one {{S-end}}. Alternatively, the old versions may be used, namely {{Start box}} as the initial template and {{End box}} as the finishing one; the two formats are compatible with each other.

Within each succession box, one or more lines may be created. One {{Succession box}} is used for each line, and parameters are used to insert data into the template: "before" for the predecessor of the subject, "title" for the subject's title, "years" for the time period during which they held the title, and "after" for the name of their successor.

Parameters[ویرایش]

Years

Mandatory; a value is required. The value may be years or full dates. A range is not required, such as if a term of office was one year.

Usage with multiple office-holders[ویرایش]

Where a post was held by more than one person at a time, extra parameters should be used to include them.

Predecessors
  • For multiple predecessors use "before", "before2", "before3", etc. (max 5)
Successors
  • For multiple successors use "after", "after2", "after3", etc. (max 5)
Concurrent office-holders
  • For concurrent office-holders use "with", "with2", "with3", etc. (max 25)

Examples[ویرایش]

Example with single office-holder[ویرایش]

From the article وینستون چرچیل:

{{جعبه آغازی}}
{{جعبه توالی
| before = [[کلمنت اتلی]]
| title  = [[نخست‌وزیر بریتانیا]]
| years  = ۲۶ اکتبر ۱۹۵۱ – ۷ آوریل ۱۹۵۵
| after  = [[آنتونی ایدن]]
}}
{{جعبه توالی
| before = [[Emanuel Shinwell]]
| title  = [[Minister of Defence (UK)|Minister of Defence]]
| years  = ۱۹۵۱–۱۹۵۲
| after  = [[هارولد الکساندر]]
}}
{{S-end}}
پیشین:
اکبر هاشمی رفسنجانی
رئیس‌جمهور ایران
۱۳۷۶ - ۱۳۸۴
پسین:
محمود احمدی‌نژاد
پیشین:
کلمنت اتلی
نخست‌وزیر بریتانیا
۲۶ اکتبر ۱۹۵۱ – ۷ آوریل ۱۹۵۵
پسین:
آنتونی ایدن
پیشین:
Emanuel Shinwell
Minister of Defence
۱۹۵۱–۱۹۵۲
پسین:
هارولد الکساندر

Example with multiple office-holders[ویرایش]

From the article Richard Temple-Grenville, 2nd Duke of Buckingham and Chandos:

{{جعبه آغازی}}
{{S-par|gb}}
{{جعبه توالی
 | title   = [[نماینده مجلس]] for [[Buckinghamshire (UK Parliament constituency)|Buckinghamshire]]
 | with    = [[William Selby Lowndes]] 1818–1820
 | with2   = [[Robert Carrington, 2nd Baron Carrington|Robert Smith]] 1820–1831
 | with3   = [[John Smith (Wendover MP)|John Smith]] 1831–1835
 | with4   = [[Sir George Dashwood, 5th Baronet|Sir George Dashwood, Bt]] 1832–1835
 | with5   = [[Sir William Young, 4th Baronet|Sir William Young, Bt]] 1835–1839
 | with6   = [[George Simon Harcourt]] 1835–1839
 | years   = 1818–1839
 | before  = [[William Selby Lowndes]]
 | before2 = [[Thomas Grenville]]
 | after   = [[Sir William Young, 4th Baronet|Sir William Young, Bt]]
 | after2  = [[George Simon Harcourt]]
 | after3  = [[Caledon Du Pré]]
}}
{{S-end}}
Parliament of Great Britain
پیشین:
William Selby Lowndes
Thomas Grenville
نماینده مجلس for Buckinghamshire
1818–1839
با: William Selby Lowndes 1818–1820
Robert Smith 1820–1831
John Smith 1831–1835
Sir George Dashwood, Bt 1832–1835
Sir William Young, Bt 1835–1839
George Simon Harcourt 1835–1839
پسین:
Sir William Young, Bt
George Simon Harcourt
Caledon Du Pré

TemplateData[ویرایش]

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

الگوداده جعبه توالی

This template creates a standard line for succession boxes. It is normally preceded by {{جعبه آغازی}} and followed by {{S-end}}

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

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

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

Title of the office

مثال
[[نخست‌وزیر بریتانیا]]
رشتهپیشنهادشده
Yearsyears

The years the office held, value may be years or full dates, a range is not require if the post was only held for a year

مثال
1912–1935
رشتهپیشنهادشده
Beforebefore

First predecessor

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

Second predecessor.

رشتهاختیاری
before3before3

Third predecessor.

رشتهاختیاری
before4before4

Forth predecessor.

رشتهاختیاری
before5before5

Fifth predecessor.

رشتهاختیاری
afterafter

First successors.

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

Second successors.

رشتهاختیاری
after3after3

Third successors.

رشتهاختیاری
after4after4

Forth successors.

رشتهاختیاری
after5after5

Fifth successors.

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

Used when they 'Served alongside' another person.

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

Concurrent office-holders, up to 25 people

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

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

بدون توصیف

رشتهاختیاری
Rowsrows

Number of rows to cover

شمارهاختیاری

See also[ویرایش]