Bản mẫu:S-aft

Bách khoa toàn thư mở Wikipedia
Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

Bản mẫu này tạo ra một cột thứ ba hộp kế vị để được sử dụng với các hộp kế vị.

Cách sử dụng[sửa mã nguồn]

The format is {{s-aft|after=text|parameters}}, where text is replaced by the text to be displayed and parameters is replaced by one or more of the optional parameter names shown below.

Các tên tham số
  • after (required) — Name of successor
  • after2 (optional) — Second successor
  • after3 (optional) — Third successor
  • after4 (optional) — Fourth successor
  • after5 (optional) — Fifth successor
  • as (optional) — Adds a title line beneath a successor's name to designate a change in title
  • rows (optional) — Number of table rows to span
Cách sử dụng
{{S-aft | after= | after2= | after3= | after4= | after5= | as= | rows= }}
Kết quả (raw)

| style="width: 30%; text-align: center;" rowspan="{{{rows}}}"| Kế nhiệm
{{{after}}}
{{{after2}}}
{{{after3}}}
{{{after4}}}
{{{after5}}}

giữ chức {{{as}}} |-

Kết quả (như ô bảng)
Kế nhiệm
{{{after}}}
{{{after2}}}
{{{after3}}}
{{{after4}}}
{{{after5}}}

giữ chức {{{as}}}
Kết quả (trong hộp kế vị, rows=2)
Tiền nhiệm
{{{before}}}
{{{title}}} Kế nhiệm
{{{after}}}
{{{after2}}}
{{{after3}}}
{{{after4}}}
{{{after5}}}

giữ chức {{{as}}}
Tiền nhiệm
{{{before}}}
{{{title}}}

Ví dụ[sửa mã nguồn]

Từ bài viết Louis XIV của Pháp:

{{s-start}}
{{s-reg}}
{{s-bef | before = [[Louis XIII của Pháp|Louis XIII]]}}
{{s-ttl | title = [[Danh sách quân chủ Pháp|Vua của Pháp]] và [[Danh sách quân chủ Navarrese|Navarre]] | years = 14 tháng 5, 1643 – 1 tháng 9, 1715}}
{{s-aft | after = [[Louis XV của Pháp|Louis XV]]}}
{{s-end}}
Tước hiệu
Tiền nhiệm
Louis XIII
Vua của PhápNavarre
14 tháng 5, 1643 – 1 tháng 9, 1715
Kế nhiệm
Louis XV

Dữ liệu bản mẫu[sửa mã nguồn]

Đây là tài liệu Dữ liệu bản mẫu cho bản mẫu này được sử dụng bởi Trình soạn thảo trực quan và các công cụ khác; xem báo cáo sử dụng tham số hàng tháng cho bản mẫu này.

Dữ liệu bản mẫu cho S-aft

A single third-column succession box for successors.

Tham số bản mẫu[Quản lý Dữ liệu bản mẫu]

Nên dùng bản mẫu này với các tham số đặt thành khối.

Tham sốMiêu tảKiểuTrạng thái
afterafter

Name of successor.

Chuỗi dàibắt buộc
after2after2

Second successor.

Chuỗi dàitùy chọn
after3after3

Third successor.

Chuỗi dàitùy chọn
after4after4

Forth successor.

Chuỗi dàitùy chọn
after5after5

Fifth successor.

Chuỗi dàitùy chọn
asas

Adds a title line beneath a successor's name to designate a change in title.

Chuỗi dàitùy chọn
rowsrows

Number of table rows to span

Chuỗi dàitùy chọn

Xem thêm[sửa mã nguồn]

Tài liệu cho tạo các hộp kế vị có thể được tìm thấy tại Bản mẫu:s-start/doc.