Template:MedalBox/testcases
< Template:MedalBox
Jump to navigation
Jump to search
Revision as of 09:29, 24 June 2015 by imported>Zyxw (expand testcases)
| This is the template test cases page for the sandbox of Template:MedalBox. Script error: No such module "Purge". 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 with these links: |
Contents
No parameters
{{MedalBox}}
{{MedalBottom}}
One parameter
sport
{{MedalBox
| sport = Men's [[athletics (sport)|athletics]]
}}
{{MedalBottom}}
country
{{MedalBox
| country = {{JAM}}
}}
{{MedalBottom}}
medals
{{MedalBox
| medals =
{{MedalCompetition | [[Olympic Games]] }}
{{MedalGold | [[2008 Summer Olympics|2008 Beijing]] | [[Athletics at the 2008 Summer Olympics – Men's 100 metres|100 m]] }}
}}
Two parameters
sport, country
{{MedalBox
| sport = Men's [[athletics (sport)|athletics]]
| country = {{JAM}}
}}
{{MedalBottom}}
sport, medals
{{MedalBox
| 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]] }}
}}
country, medals
{{MedalBox
| country = {{JAM}}
| medals =
{{MedalCompetition | [[Olympic Games]] }}
{{MedalGold | [[2008 Summer Olympics|2008 Beijing]] | [[Athletics at the 2008 Summer Olympics – Men's 100 metres|100 m]] }}
}}
Three parameters
{{MedalBox
| sport = Men's [[athletics (sport)|athletics]]
| country = {{JAM}}
| medals =
{{MedalCompetition | [[Olympic Games]] }}
{{MedalGold | [[2008 Summer Olympics|2008 Beijing]] | [[Athletics at the 2008 Summer Olympics – Men's 100 metres|100 m]] }}
}}