• Trang chính
  • Ngẫu nhiên
  • Đăng nhập
  • Tùy chọn
  • Giới thiệu Wikipedia
  • Lời phủ nhận
Wikibeta, Bách khoa tri thức mở

Bản mẫu:S-vac

  • Ngôn ngữ
  • Theo dõi
  • Xem mã nguồn
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 hộp kế vị duy nhất để được sử dụng với các hộp kế vị.

Mục lục

  • 1 Cách sử dụng
  • 2 Ví dụ
  • 3 Dữ liệu bản mẫu
  • 4 Xem thêm

Cách sử dụng

The format is {{s-vac|parameter=}}, where parameter= is replaced by one or more of the parameter names shown in the following table.

This template allows for exactly ONE "before" field, ONE "after" field, ONE "subline", and ONE "header".

IMPORTANT: All uses must be either preceded (if initial) or followed (if other rows follow) with the |- characters, lest the table not display properly.

"Before" fields
last — Designates the last title-holder; enter the name of the last title-holder after entering this parameter.
unknlast — Designates the last known title-holder; enter the name of the last known title-holder after entering this parameter.
Note: This parameter should be used under the header: unknown.
"After" fields
next — Designates the next title-holder; enter the name of the next title-holder after entering this parameter.
unknnext — Designates the next known title-holder; enter the name of the next known title-holder after entering this parameter.
Note: This parameter should be used under the header: unknown.
Sublines
as — Designates a change in title; enter the title of the title-holder after entering this parameter if different than title found in s-ttl.
Header replacements
reason — Designates the reason(s) for the vacancy; enter a short explanation after entering this parameter, if necessary.
abeyance — Replaces "Vacant" with "In abeyance"
commission — Replaces "Vacant" with "In commission"
recreated — Replaces "Vacant" with "Recreated"
forfeit — Replaces "Vacant" with "Forfeit"
suspended — Replaces "Vacant" with "Suspended"
disclaimed — Replaces "Vacant" with "Disclaimed"
dormant — Replaces "Vacant" with "Dormant"
unknown — Replaces "Vacant" with "Unknown"

This template allows for multiple row-spans using the parameter |rows=| between the template name and the first parameter.

Ví dụ

Từ bài viết Charles I của Anh:

{{s-start}}
{{s-reg}}
{{s-bef | before = [[James I của Anh|James I]]}}
{{s-ttl | title = [[Danh sách quân chủ Anh]] | years = 27 tháng 3, 1625 – 30 tháng 1, 1649}}
{{s-vac | next = [[Charles II của Anh|Charles II]] | reason = [[Nội chiến Anh]]}}
{{s-end}}
Tước hiệu
Tiền nhiệm
James I
Danh sách quân chủ Anh
27 tháng 3, 1625 – 30 tháng 1, 1649
Trống
Nội chiến Anh
Danh hiệu tiếp theo được tổ chức bởi
Charles II

Dữ liệu bản mẫu

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

A succession-box cell for vacant titles (predecessor or successor).

Tham số bản mẫu

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

Code for reason, if not specified its taken as Vacant. Can be one of - 'abeyance' or 'ab': In abeyance, 'recreated' or 're': Recreated, 'suspended' or 'su': Suspended, 'disclaimed' or 'di': Disclaimed, 'commission' or 'co': In commission, 'dormant' or 'do': Dormant, 'forfeit': Forfeit, 'unkn' or 'unknown': Unknown.

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

the reason(s) for the vacancy

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

Name of the last title-holder. 'last' and 'unknlast' cannot both be specified

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

Name of the last known title-holder, use with code as unknown. 'last' and 'unknlast' cannot both be specified

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

Name of the next title-holder, 'next' and 'unknnext' cannot both be specified.

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

Name of the next known title-holder, use with code as unknown, 'next' and 'unknnext' cannot both be specified.

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

Designates a change in title; enter the title of the title-holder after entering this parameter if different than title found in {{s-ttl}}.

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

Number of table rows to span.

Chuỗi dàitùy chọn

Xem thêm

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.

Tài liệu bên trên được truyền tải từ Bản mẫu:S-vac/doc. (sửa | lịch sử)
Biên tập viên sửa đổi có thể thử nghiệm trong các trang chỗ thử (tạo | sao) và trường hợp kiểm thử (tạo) của bản mẫu này.
Xin hãy bổ sung các thể loại vào trang con /doc. Các trang con của bản mẫu này.
Lấy từ “https://wikibeta.org/index.php?title=Bản_mẫu:S-vac&oldid=3516373”
Sửa đổi lần cuối lúc 22:00 vào ngày 25 tháng 12 năm 2016

Ngôn ngữ

    Trang này không có sẵn trong ngôn ngữ khác.

    Wikibeta, Bách khoa tri thức mở
    • Creative Commons Ghi công–Chia sẻ tương tự
    • Powered by MediaWiki
    • Trang này được sửa đổi lần cuối vào ngày 25 tháng 12 năm 2016, 22:00.
    • Nếu không có ghi chú khác, nội dung này được cấp phép Creative Commons Ghi công–Chia sẻ tương tự.
    • Chính sách quyền riêng tư
    • Giới thiệu Wikipedia
    • Lời phủ nhận
    • Phiên bản máy tính