Template:Infobox medal templates/doc

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.

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.

TemplateData
{	"description": "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.", "params": { "medals": { "label": "Medals", "description": "Medal templates", "type": "string", "required": true },		"expand": { "label": "Expand", "description": "Any value here will expand (display) the medal templates section. It is collapsed by default.", "type": "boolean", "suggested": true },		"title": { "label": "Title", "description": "Customize the title", "type": "string", "default": "Medal record" },		"titlestyle": { "label": "Title style", "description": "CSS style rules for the title", "type": "string", "default": "background-color:transparent;" }	} }

Example
As implemented in Infobox sportsperson.