Template:MedalTableTop/testcases
Jump to navigation
Jump to search
This is the template test cases page for the sandbox of Template:MedalTableTop. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
No parameters
{{MedalTableTop}} {{MedalBottom}}
{{MedalTableTop}} | {{MedalTableTop/sandbox}} | ||||||
---|---|---|---|---|---|---|---|
|
|
One parameter
sport
{{MedalTableTop | sport = Men's [[athletics (sport)|athletics]] }} {{MedalBottom}}
{{MedalTableTop}} | {{MedalTableTop/sandbox}} | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
country_code
{{MedalTableTop | country_code = JAM }} {{MedalBottom}}
{{MedalTableTop}} | {{MedalTableTop/sandbox}} | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
country
{{MedalTableTop | country = {{bkw|POL}} }} {{MedalBottom}}
{{MedalTableTop}} | {{MedalTableTop/sandbox}} | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
medals
{{MedalTableTop | medals = {{MedalCompetition | [[Olympic Games]] }} {{MedalGold | [[2008 Summer Olympics|2008 Beijing]] | [[Athletics at the 2008 Summer Olympics – Men's 100 metres|100 m]] }} }}
{{MedalTableTop}} | {{MedalTableTop/sandbox}} | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Two parameters
sport, country_code
{{MedalTableTop | sport = Men's [[athletics (sport)|athletics]] | country_code = JAM }} {{MedalBottom}}
{{MedalTableTop}} | {{MedalTableTop/sandbox}} | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
sport, country
{{MedalTableTop | sport = Women's [[basketball]] | country = {{bkw|POL}} }} {{MedalBottom}}
{{MedalTableTop}} | {{MedalTableTop/sandbox}} | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
sport, medals
{{MedalTableTop | sport = Men's [[athletics (sport)|athletics]] | medals = {{MedalCompetition | [[Olympic Games]] }} {{MedalGold | [[2008 Summer Olympics|2008 Beijing]] | [[Athletics at the 2008 Summer Olympics – Men's 100 metres|100 m]] }} }}
{{MedalTableTop}} | {{MedalTableTop/sandbox}} | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
country_code, medals
{{MedalTableTop | country_code = JAM | medals = {{MedalCompetition | [[Olympic Games]] }} {{MedalGold | [[2008 Summer Olympics|2008 Beijing]] | [[Athletics at the 2008 Summer Olympics – Men's 100 metres|100 m]] }} }}
{{MedalTableTop}} | {{MedalTableTop/sandbox}} | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
country, medals
{{MedalTableTop | country = {{bkw|POL}} | medals = {{MedalCompetition | [[EuroBasket Women|European Championships]] }} {{MedalGold | [[EuroBasket Women 1999|1999 Poland]] | Team competition }} }}
{{MedalTableTop}} | {{MedalTableTop/sandbox}} | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Three parameters, no image
sport, country_code, medals
{{MedalTableTop | sport = Men's [[athletics (sport)|athletics]] | country_code = JAM | medals = {{MedalCompetition | [[Olympic Games]] }} {{MedalGold | [[2008 Summer Olympics|2008 Beijing]] | [[Athletics at the 2008 Summer Olympics – Men's 100 metres|100 m]] }} }}
{{MedalTableTop}} | {{MedalTableTop/sandbox}} | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
sport, country, medals
{{MedalTableTop | sport = Women's [[basketball]] | country = {{bkw|POL}} | medals = {{MedalCompetition | [[EuroBasket Women|European Championships]] }} {{MedalGold | [[EuroBasket Women 1999|1999 Poland]] | Team competition }} }}
{{MedalTableTop}} | {{MedalTableTop/sandbox}} | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
All parameters
Image with unnamed parameters, name specified
{{MedalTableTop | name = Johnny Weissmuller | Weissmuller.jpg | 200px | alt = A young male swimmer stands at the edge of a pool with other swimmers sitting in the background. He leans over and squints into the camera. He wears circa 1930 swimming attire with a tank top. | Weissmuller at a swim meet circa 1925 | sport = Men's [[swimming (sport)|swimming]] | country_code = USA | medals = {{MedalCompetition | [[Olympic Games]] }} {{MedalGold | [[1924 Summer Olympics|1924 Paris]] | [[Swimming at the 1924 Summer Olympics – Men's 100 metre freestyle|100 m freestyle]] }} }}
{{MedalTableTop}} | {{MedalTableTop/sandbox}} | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Image with named parameters, no name displayed
{{MedalTableTop | name = no | image = Weissmuller.jpg | image_size = 200px | alt = A young male swimmer stands at the edge of a pool with other swimmers sitting in the background. He leans over and squints into the camera. He wears circa 1930 swimming attire with a tank top. | caption = Weissmuller at a swim meet circa 1925 | sport = Men's [[swimming (sport)|swimming]] | country_code = USA | medals = {{MedalCompetition | [[Olympic Games]] }} {{MedalGold | [[1924 Summer Olympics|1924 Paris]] | [[Swimming at the 1924 Summer Olympics – Men's 100 metre freestyle|100 m freestyle]] }} }}
{{MedalTableTop}} | {{MedalTableTop/sandbox}} | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|