Bản mẫu:Infobox medal templates/sandbox

Bách khoa toàn thư mở Wikipedia
Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

This template is used to add a collapsible medal templates section in an infobox. It is meant to be used in the infobox code, and not in the article directly.

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

{{Infobox
| above = Athlete
| label1 = Sport
| data1 = Foo

...

| header5 = {{Infobox medal templates
 | medals = {{{medaltemplates|}}}
 | expand = {{{medaltemplates-expand|}}} 
 | title = <!-- optional; default is "Thành tích huy chương" -->
 | titlestyle = <!-- optional; default is "background-color: transparent;" -->
 }}

}}

Ghi chú[sửa mã nguồn]

Do not enclose the medal templates with {{MedalTop}}, {{MedalBottom}}, or any other table header/footer templates, as this will cause the template to break. Most instances of this misuse are tracked in Thể loại:Bản mẫu hộp thông tin huy chương cần sửa chữa.

Các bản mẫu sử dụng mẫu này[sửa mã nguồn]

TemplateData[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 Infobox medal templates

This template is used to add a collapsible medal templates section in an infobox. It is meant to be used in the infobox code, and not in the article directly.

Tham số bản mẫu[Quản lý Dữ liệu bản mẫu]

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

Medal templates

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

Any value here will expand (display) the medal templates section. It is collapsed by default.

Luận lýkhuyên dùng
Titletitle

Customize the title

Mặc định
Thành tích huy chương
Chuỗi dàitùy chọn
Title styletitlestyle

CSS style rules for the title

Mặc định
background-color:transparent;
Chuỗi dàitùy chọn

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