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ứ nhất hộp kế vị để được sử dụng với các hộp kế vị.

Cách sử dụng sửa

The format is {{s-bef|before=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ố
  • before (required) — Predecessor
  • before2 (optional) — Second predecessor
  • before3 (optional) — Third predecessor
  • before4 (optional) — Fourth successor
  • before5 (optional) — Fifth predecessor
  • as (optional) — Adds a title line beneath a predecessor's name to designate a change in title
  • rows (optional) — Number of table rows to span
Cách sử dụng
{{S-bef | before= | before2= | before3= | before4= | before5= | as= | rows= }}
Kết quả (raw)

|- style="text-align:center;" |style="width:30%;" rowspan="{{{rows}}}"|Tiền nhiệm
{{{before}}}
{{{before2}}}
{{{before3}}}
{{{before4}}}
{{{before5}}}

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

Kết quả (như ô bảng)
Tiền nhiệm
{{{before}}}
{{{before2}}}
{{{before3}}}
{{{before4}}}
{{{before5}}}

giữ chức {{{as}}}
Kết quả (trong hộp kế vị, rows=2)
Tiền nhiệm
{{{before}}}
{{{before2}}}
{{{before3}}}
{{{before4}}}
{{{before5}}}

giữ chức {{{as}}}
{{{title}}} Kế nhiệm
{{{after}}}
{{{title}}} Kế nhiệm
{{{after}}}

Ví dụ sửa

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

Đâ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-bef

Single first-column succession box column for predecessors.

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
beforebefore

Predecessor

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

Second predecessor

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

Third predecessor

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

Forth predecessor

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

Fifth predecessor

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

Adds a title line beneath a predecessor'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

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.