Bản mẫu:Danh sách thể loại/doc

Bách khoa toàn thư mở Wikipedia

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

This template creates a comma-separated list of categories formatted as links. By default, the last two categories are separated by "and".

Các ví dụ[sửa mã nguồn]

Nhập cái này Để đưa ra cái này
{{Catlist|1989|1990|1991|1992|1993}} 1989, 1990, 1991, 1992 và 1993
{{Catlist|1989|1990|1991|1992|1993|conjunction=comma}} 1989, 1990, 1991, 1992 và 1993
{{Catlist|1989|1990|1991|1992|1993|conjunction=&}} 1989, 1990, 1991, 1992 và 1993
{{Catlist|1989|1990|1991|1992|1993|separator=semicolon}} 1989199019911992; và 1993
{{Catlist|1989|1990|1991|1992|1993|separator=dot}} 1989 · 1990 · 1991 · 1992 · 1993
{{Catlist|1989|1990|1991|1992|1993|separator=dash}} 1989 – 1990 – 1991 – 1992 – 1993
{{Catlist|1989|1990|1991|1992|1993|separator=slash}} 1989 / 1990 / 1991 / 1992 / 1993
{{Catlist|1989|1990|1991|1992|1993|separator=none}} 1989 1990 1991 1992 1993

Các tham số[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 Danh sách thể loại

This template creates a comma-separated list of pages formatted as links. The last two pages in the list are separated by "and" instead of a comma. Any number of pages may be included in the list.

Tham số bản mẫu

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

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

Namsespace on which the page is located, without the trailing colon (":"). Acceptable values are "Talk", "File", "File talk", "Category", "Category talk", "Help", "Help talk", "Wikipedia", "Wikipedia talk", "Portal", "Portal talk", "Template", "Template talk", "Module", "Module talk", "User", "User talk", and anything added in the future.

Ví dụ
Template
Chuỗi dàitùy chọn
Prefix (starting delimiter)delim

Wikicode to insert before each page name. Default is nothing. If this parameter is specified and no suffix parameter is specified, the contents of this parameter would also be used as the suffix.

Văn bản wiki không cân xứngtùy chọn
Suffix (ending delimiter)edelim

Wikicode to insert after each page name. If not specified, the default is the value of the prefix parameter.

Văn bản wiki không cân xứngtùy chọn
Separatorseparator

The character(s) used to separate specified page names, excluding the last two. Default is comma.

Ví dụ
;
Chuỗi dàitùy chọn
Conjunctionconjunction

The character(s) used to separate the last two items. Default is "and".

Ví dụ
or
Chuỗi dàitùy chọn
Page name 11

không có miêu tả

Văn bản wiki không cân xứngtùy chọn
Page name 22

không có miêu tả

Văn bản wiki không cân xứngtùy chọn
Page name 33

không có miêu tả

Văn bản wiki không cân xứngtùy chọn
Page name 44

không có miêu tả

Văn bản wiki không cân xứngtùy chọn
Page name 55

không có miêu tả

Văn bản wiki không cân xứngtùy chọn
Page name 66

không có miêu tả

Văn bản wiki không cân xứngtùy chọn
Page name 77

không có miêu tả

Văn bản wiki không cân xứngtùy chọn
Page name 88

không có miêu tả

Văn bản wiki không cân xứngtùy chọn
Page name 99

không có miêu tả

Văn bản wiki không cân xứngtùy chọn
Page name 1010

không có miêu tả

Văn bản wiki không cân xứngtùy chọn

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