Difference between revisions of "Template:MedalGold/testcases"
Jump to navigation
Jump to search
imported>Zyxw (create testcases) |
imported>Zyxw (expand) |
||
Line 1: | Line 1: | ||
{{Testcases notice <!--|toc=on-->}} | {{Testcases notice <!--|toc=on-->}} | ||
− | == | + | == Normal usage == |
{{Testcase table|_showcode=true|[[1972 Summer Olympics|1972 Munich]]|[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}} | {{Testcase table|_showcode=true|[[1972 Summer Olympics|1972 Munich]]|[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}} | ||
; Output as displayed in a medal table | ; Output as displayed in a medal table | ||
Line 9: | Line 9: | ||
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}/sandbox|[[1972 Summer Olympics|1972 Munich]]|[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}} | {{{{BASEPAGENAME}}/sandbox|[[1972 Summer Olympics|1972 Munich]]|[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}} | ||
+ | |} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> | ||
+ | |||
+ | == 2nd parameter missing == | ||
+ | {{Testcase table|_showcode=true|[[1972 Summer Olympics|1972 Munich]]}} | ||
+ | ; Output as displayed in a medal table | ||
+ | {| class="infobox" style="width:22em; float:left;" | ||
+ | {{{{BASEPAGENAME}}|[[1972 Summer Olympics|1972 Munich]]}} | ||
+ | |} — '''{{BASEPAGENAME}}'''<br clear="left"> | ||
+ | {| class="infobox" style="width:22em; float:left;" | ||
+ | {{{{BASEPAGENAME}}/sandbox|[[1972 Summer Olympics|1972 Munich]]}} | ||
+ | |} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> | ||
+ | |||
+ | == 2nd parameter empty == | ||
+ | {{Testcase table|_showcode=true|[[1972 Summer Olympics|1972 Munich]]|}} | ||
+ | ; Output as displayed in a medal table | ||
+ | {| class="infobox" style="width:22em; float:left;" | ||
+ | {{{{BASEPAGENAME}}|[[1972 Summer Olympics|1972 Munich]]|}} | ||
+ | |} — '''{{BASEPAGENAME}}'''<br clear="left"> | ||
+ | {| class="infobox" style="width:22em; float:left;" | ||
+ | {{{{BASEPAGENAME}}/sandbox|[[1972 Summer Olympics|1972 Munich]]|}} | ||
+ | |} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> | ||
+ | |||
+ | == 1st parameter empty == | ||
+ | {{Testcase table|_showcode=true||[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}} | ||
+ | ; Output as displayed in a medal table | ||
+ | {| class="infobox" style="width:22em; float:left;" | ||
+ | {{{{BASEPAGENAME}}||[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}} | ||
+ | |} — '''{{BASEPAGENAME}}'''<br clear="left"> | ||
+ | {| class="infobox" style="width:22em; float:left;" | ||
+ | {{{{BASEPAGENAME}}/sandbox||[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}} | ||
+ | |} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> | ||
+ | |||
+ | == No parameters == | ||
+ | {{Testcase table|_showcode=true}} | ||
+ | ; Output as displayed in a medal table | ||
+ | {| class="infobox" style="width:22em; float:left;" | ||
+ | {{{{BASEPAGENAME}} }} | ||
+ | |} — '''{{BASEPAGENAME}}'''<br clear="left"> | ||
+ | {| class="infobox" style="width:22em; float:left;" | ||
+ | {{{{BASEPAGENAME}}/sandbox}} | ||
|} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> | |} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> |
Revision as of 22:19, 24 June 2015
![]() | This is the template test cases page for the sandbox of Template:MedalGold. 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
Normal usage
- Output as displayed in a medal table
![]() |
1972 Munich | 100 m butterfly |
— MedalGold
![]() |
1972 Munich | 100 m butterfly |
— MedalGold/sandbox
2nd parameter missing
- Output as displayed in a medal table
![]() |
1972 Munich | {{{2}}} |
— MedalGold
![]() |
1972 Munich | {{{2}}} |
— MedalGold/sandbox
2nd parameter empty
- Output as displayed in a medal table
![]() |
1972 Munich |
— MedalGold
![]() |
1972 Munich |
— MedalGold/sandbox
1st parameter empty
- Output as displayed in a medal table
![]() |
100 m butterfly |
— MedalGold
![]() |
100 m butterfly |
— MedalGold/sandbox
No parameters
- Output as displayed in a medal table
![]() |
{{{1}}} | {{{2}}} |
— MedalGold
![]() |
{{{1}}} | {{{2}}} |
— MedalGold/sandbox