Fyrimynd:Infobox medal templates/doc

Frá Wikipedia, hin frælsa alfrøðin

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.

Usage[rætta wikitekst]

{{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;" -->
 }}

}}

Note[rætta wikitekst]

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.

Templates using this template[rætta wikitekst]

TemplateData[rætta wikitekst]

Hetta er TemplateData dokumentatiónin fyri hesa fyrimynd, ið verður brúkt av VisualEditor og øðrum tólum.

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.

Template parameters

ParameterDescriptionTypeStatus
Medalsmedals

Medal templates

Stringrequired
Expandexpand

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

Booleansuggested
Titletitle

Customize the title

Default
Medal record
Stringoptional
Title styletitlestyle

CSS style rules for the title

Default
background-color:transparent;
Stringoptional

See also[rætta wikitekst]