Template:MedalCount/sandbox
Jump to navigation
Jump to search
|
![]() | This is the template sandbox page for Template:MedalCount (diff). See also the companion subpage for test cases. |
![]() | This template is used on approximately 3,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
Usage with MedalBox
Medal record | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sport | ||||||||||||||||||||||||||||||||||||||||||||||||||
Representing Country | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
{{MedalBox | sport = Sport | country = Country | medals = {{MedalCount |type=Podiums | Event1 | 0 | 0 | 0 | Event2 | 0 | 0 | 0 | Event3 | 0 | 0 | 0 | Event4 | 0 | 0 | 0 | Event5 | 0 | 0 | 0 | Event6 | 0 | 0 | 0 | Event7 | 0 | 0 | 0 | Event8 | 0 | 0 | 0 | Event9 | 0 | 0 | 0 | Event10| 0 | 0 | 0 }} }}
Usage with MedalTableTop
Medal record | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sport | ||||||||||||||||||||||||||||||||||||||||||||||||||
Representing ![]() | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
{{MedalTableTop | name = Name | sport = Sport | country_code = NRU | medals = {{MedalCount |type=Podiums | Event1 | 0 | 0 | 0 | Event2 | 0 | 0 | 0 | Event3 | 0 | 0 | 0 | Event4 | 0 | 0 | 0 | Event5 | 0 | 0 | 0 | Event6 | 0 | 0 | 0 | Event7 | 0 | 0 | 0 | Event8 | 0 | 0 | 0 | Event9 | 0 | 0 | 0 | Event10| 0 | 0 | 0 }} }}
Usage with Infobox sportsperson
Sport | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Country | Country | |||||||||||||||||||||||||||||||||||||||||||||||||
Sport | Sport | |||||||||||||||||||||||||||||||||||||||||||||||||
Medal record
|
{{Infobox sportsperson | name = Name | country = Country | sport = Sport | medaltemplates = {{MedalCount | Event1 | 0 | 0 | 0 | Event2 | 0 | 0 | 0 | Event3 | 0 | 0 | 0 | Event4 | 0 | 0 | 0 | Event5 | 0 | 0 | 0 | Event6 | 0 | 0 | 0 | Event7 | 0 | 0 | 0 | Event8 | 0 | 0 | 0 | Event9 | 0 | 0 | 0 | Event10| 0 | 0 | 0 }} }}
Example
Within an infobox
From Ole Einar Bjørndalen:
Personal information | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Born | Drammen, Norway | 27 January 1974|||||||||||||||||||||||||||||||||||||||||||||||
Medal record
|
{{Infobox biathlete | name = Ole Einar Bjørndalen | birth_date = {{birth date and age|df=yes|1974|1|27}} | birth_place = [[Drammen]], Norway | show-medals = yes | medaltemplates = {{Medal|Sport|Men's [[biathlon]]}} {{Medal|Country|{{NOR}}}} {{MedalCount | [[Winter Olympic Games|Olympic Games]] | 8 | 4 | 1 | [[Biathlon World Championships|World Championships]] | 19 | 12 | 9 | {{nowrap|[[Summer Biathlon World Championships|Summer World Championships]]}} | 1 | 1 | 1 | {{nowrap|[[Norwegian Biathlon Championships|Norwegian Championships]]}} | 30 | 8 | 12 | {{nowrap|Summer Norwegian Championships}} | 14 | 5 | 0 | {{nowrap|[[Biathlon Junior World Championships|Junior World Championships]]}} | 3 | 0 | 1 | {{nowrap|Junior Norwegian Championships}} | 4 | 1 | 1 | '''Total (135 medals)''' | '''79''' | '''31''' | '''25''' }} }}
Automatically calculated total row
Medal record | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Men's biathlon | ||||||||||||||||||||||||||||||||||||||
Representing ![]() | ||||||||||||||||||||||||||||||||||||||
|
{{MedalBox|medals= {{Medal|Sport|Men's [[biathlon]]}} {{Medal|Country|{{NOR}}}} {{MedalCount | total = yes | [[Winter Olympic Games|Olympic Games]] | 8 | 4 | 1 | [[Biathlon World Championships|World Championships]] | 19 | 12 | 9 | {{nowrap|[[Summer Biathlon World Championships|Summer World Championships]]}} | 1 | 1 | 1 | {{nowrap|[[Norwegian Biathlon Championships|Norwegian Championships]]}} | 30 | 8 | 12 | {{nowrap|Summer Norwegian Championships}} | 14 | 5 | 0 | {{nowrap|[[Biathlon Junior World Championships|Junior World Championships]]}} | 3 | 0 | 1 | {{nowrap|Junior Norwegian Championships}} | 4 | 1 | 1 }} }}