Skabelon:Infobox medal templates

Documentation icon Skabelondokumentation[vis] [redigér] [historik] [opfrisk]

Denne side er kopieret fra engelsk Wikipedia. Siden er ikke en del af lekskon, men er en hjælpeside, som forklarer om brugen af en eller flere skabeloner. Skabelonerne, som denne side fortæller om, bruges i forbindelse med sport, således at medaljer kan vises i infobokse.

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.

Brug

{{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

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

TemplateData

Dette er denne skabelons TemplateData-dokumentation, som bruges af VisualEditor og andre værktøjer.

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.

Skabelonparametre[Rediger TemplateData]

ParameterBeskrivelseTypeStatus
Medalsmedals

Medal templates

Strengpåkrævet
Expandexpand

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

Booleskforeslået
Titletitle

Customize the title

Standardværdi
Medal record
Strengvalgfri
Title styletitlestyle

CSS style rules for the title

Standardværdi
background-color:transparent;
Strengvalgfri

Se også