Bản mẫu:Pagelist
![]() | Bản mẫu này sử dụng Lua: |
Cách sử dụng[sửa mã nguồn]
Bản mẫu này dùng để tạo một danh sách các liên kết trong, phân cách nhau bởi dấu phẩy. Hai mục cuối cùng trong danh sách được tách nhau bởi từ "và".
Các ví dụ[sửa mã nguồn]
Loại này | To get this |
---|---|
{{Pagelist|X1|X2|X3|X4|X5}}
|
X1, X2, X3, X4 và X5 |
{{Pagelist|nspace=Bản mẫu|X1|X2|X3|X4|X5}}
|
X1, X2, X3, X4 và X5 |
{{Pagelist|nspace= |delim=''|X1|X2|X3|X4|X5}}
|
X1, X2, X3, X4 và X5 |
{{Pagelist|nspace=all|delim=''|Chủ đề:Bóng đá|Wikipedia:Người sửa đổi bản mẫu}}
|
Chủ đề:Bóng đá và Wikipedia:Người sửa đổi bản mẫu |
Các tham số[sửa mã nguồn]
Dữ liệu bản mẫu cho Pagelist
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ố | Miêu tả | Kiểu | Trạng thái | |
---|---|---|---|---|
Namespace | nspace | Namespace 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. "all" allows specifying lists of pages from multiple namespaces
| Chuỗi | tù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ứng | tù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ứng | tùy chọn |
Separator | separator | The character(s) used to separate specified page names, excluding the last two. Default is comma.
| Chuỗi | tùy chọn |
Conjunction | conjunction | The character(s) used to separate the last two items. Default is "and".
| Chuỗi | tùy chọn |
Page name 1 | 1 | không miêu tả | Văn bản wiki không cân xứng | tùy chọn |
Page name 2 | 2 | không miêu tả | Văn bản wiki không cân xứng | tùy chọn |
Page name 3 | 3 | không miêu tả | Văn bản wiki không cân xứng | tùy chọn |
Page name 4 | 4 | không miêu tả | Văn bản wiki không cân xứng | tùy chọn |
Page name 5 | 5 | không miêu tả | Văn bản wiki không cân xứng | tùy chọn |
Page name 6 | 6 | không miêu tả | Văn bản wiki không cân xứng | tùy chọn |
Page name 7 | 7 | không miêu tả | Văn bản wiki không cân xứng | tùy chọn |
Page name 8 | 8 | không miêu tả | Văn bản wiki không cân xứng | tùy chọn |
Page name 9 | 9 | không miêu tả | Văn bản wiki không cân xứng | tùy chọn |
Page name 10 | 10 | không miêu tả | Văn bản wiki không cân xứng | tùy chọn |
Xem thêm[sửa mã nguồn]
- Bản mẫu:Catlist, cho một danh sách thể loại được liên kết