Template:MedalGold/testcases
Appearance
![]() | This is the template test cases page for the sandbox of Template:MedalGold. 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: |
Normal usage[edit]
{{MedalGold|[[1972 Summer Olympics|1972 Munich]]|[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}}
{{MedalGold}} | {{MedalGold/sandbox}} |
---|---|
|- | style="text-align:center;vertical-align:middle;color:inherit;" |![]() |
|- | style="text-align:center;vertical-align:middle;color:inherit;" |![]() |
- Output as displayed in a medal table
![]() |
1972 Munich | 100 m butterfly |
— MedalGold
![]() |
1972 Munich | 100 m butterfly |
— MedalGold/sandbox
2nd parameter missing[edit]
{{MedalGold|[[1972 Summer Olympics|1972 Munich]]}}
{{MedalGold}} | {{MedalGold/sandbox}} |
---|---|
|- | style="text-align:center;vertical-align:middle;color:inherit;" |![]() |
|- | style="text-align:center;vertical-align:middle;color:inherit;" |![]() |
- Output as displayed in a medal table
![]() |
1972 Munich | {{{2}}} |
— MedalGold
![]() |
1972 Munich | {{{2}}} |
— MedalGold/sandbox
2nd parameter empty[edit]
{{MedalGold|[[1972 Summer Olympics|1972 Munich]]|}}
{{MedalGold}} | {{MedalGold/sandbox}} |
---|---|
|- | style="text-align:center;vertical-align:middle;color:inherit;" |![]() |
|- | style="text-align:center;vertical-align:middle;color:inherit;" |![]() |
- Output as displayed in a medal table
![]() |
1972 Munich |
— MedalGold
![]() |
1972 Munich |
— MedalGold/sandbox
1st parameter empty[edit]
{{MedalGold||[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}}
{{MedalGold}} | {{MedalGold/sandbox}} |
---|---|
|- | style="text-align:center;vertical-align:middle;color:inherit;" |![]() |
|- | style="text-align:center;vertical-align:middle;color:inherit;" |![]() |
- Output as displayed in a medal table
![]() |
100 m butterfly |
— MedalGold
![]() |
100 m butterfly |
— MedalGold/sandbox
No parameters[edit]
{{MedalGold}}
{{MedalGold}} | {{MedalGold/sandbox}} |
---|---|
|- | style="text-align:center;vertical-align:middle;color:inherit;" |![]() |
|- | style="text-align:center;vertical-align:middle;color:inherit;" |![]() |
- Output as displayed in a medal table
![]() |
{{{1}}} | {{{2}}} |
— MedalGold
![]() |
{{{1}}} | {{{2}}} |
— MedalGold/sandbox