Fyrimynd: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.
Usage rætta
{{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
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
- Template:Infobox alpine ski racer
- Template:Infobox amateur wrestler
- Template:Infobox badminton player
- Template:Infobox basketball biography
- Template:Infobox biathlete
- Template:Infobox boxer
- Template:Infobox boxer (amateur)
- Template:Infobox climber
- Template:Infobox college coach
- Template:Infobox curler
- Template:Infobox cyclist
- Template:Infobox darts player
- Template:Infobox equestrian
- Template:Infobox fencer
- Template:Infobox field hockey player
- Template:Infobox figure skater
- Template:Infobox football biography
- Template:Infobox go player
- Template:Infobox gymnast
- Template:Infobox lacrosse player
- Template:Infobox martial artist
- Template:Infobox national football team
- Template:Infobox NCAA athlete
- Template:Infobox netball biography
- Template:Infobox sailor
- Template:Infobox skier
- Template:Infobox sportsperson
- Template:Infobox sport wrestler
- Template:Infobox squash player
- Template:Infobox swimmer
- Template:Infobox synchronized skating team
- Template:Infobox table tennis player
- Template:Infobox tennis biography
- Template:Infobox volleyball biography
- Template:Infobox WNBA biography
TemplateData rætta
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 | Description | Type | Status | |
---|---|---|---|---|
Medals | medals | Medal templates | String | required |
Expand | expand | Any value here will expand (display) the medal templates section. It is collapsed by default. | Boolean | suggested |
Title | title | Customize the title
| String | optional |
Title style | titlestyle | CSS style rules for the title
| String | optional |
See also rætta
- {{MedalBox}}
- {{MedalTableTop}}, {{MedalTop}}, {{MedalBottom}}
- {{CompetitionRecordTableTop}}, {{CompetitionRecordBottom}}
- Category:Infobox medal templates requiring repair (tracking/maintenance category)
Dokumentatiónin omanfyri er tikin frá Fyrimynd:Infobox medal templates/doc. (rætta | søga) Editors can experiment in this template's sandkassi (upprætta | mirror) and testcases (upprætta) pages. Please add categories to the /doc subpage. Undirsíður til hesa/hetta fyrimyndina. |