Bản mẫu:List TOC/doc

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

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

This template creates a horizontal table of contents with links from A to Z and four optional rows of links. It is intended primarily for list articles where the standard TOC would be unwieldy. The template is styled with the hlist class for accessibility and has few superfluous frills.

The A–Z links are always created (to control which letters appear, use {{List TOC Letters}} instead). Two upper rows can be defined using a1 through a20 and b1 through b20. Two lower rows can be defined using c1 through c20 and d1 through d20.

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

{{List TOC
|c1=Trắng|c2=Hồng|c3=Đỏ|c4=Cam|c5=Nâu|c6=Vàng|c7=Xám|c8=Xanh lá cây|c9=Xanh lá mạ|c10=Xanh|c11=Tím
|d1=Màu sắc Web|d2=Màu sắc hư cấu|d3=Xem thêm|d4=Ghi chú cuối trang|d5=Tham khảo
}}

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