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.

Penggunaan sunting

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

...

| header5 = {{Infobox medal templates
  | medals = {{{medaltemplates|}}}
  | expand = {{{medaltemplates-expand|}}} 
  | title = <!-- optional; default is "Medal record" -->
  | titlestyle = <!-- optional; default is "background-color: transparent;" -->
 }}

}}

Catatan sunting

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 Category:Infobox medal templates requiring repair.

Templat yang menggunakan templat ini sunting

TemplatData sunting

Ini dokumennya TemplateData untuk template ini digunakan oleh VisualEditor dan alat lainnya; lihat laporan penggunaan parameter bulanan untuk templat ini.

TemplateData untuk 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.

Parameter templat

ParameterKeteranganJenisStatus
Medalsmedals

Medal templates

Katawajib diisi
Expandexpand

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

Booleandisarankan
Titletitle

Customize the title

Baku
Medal record
Kataopsional
Title styletitlestyle

CSS style rules for the title

Baku
background-color:transparent;
Kataopsional

Lihat juga sunting