Difference between revisions of "Template:MedalBronze/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(create testcases)
 
imported>Jonesey95
m (Fix invalid self-closed HTML tag or other HTML Tidy-related tag error)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Testcases notice <!--|toc=on-->}}
 
{{Testcases notice <!--|toc=on-->}}
  
== Test case 1 ==
+
== 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
 
{| class="infobox" style="width:22em; float:left;"
 
{| class="infobox" style="width:22em; float:left;"
 
{{{{BASEPAGENAME}}|[[1972 Summer Olympics|1972 Munich]]|[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}}
 
{{{{BASEPAGENAME}}|[[1972 Summer Olympics|1972 Munich]]|[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}}
|} — '''{{BASEPAGENAME}}'''<br clear="left">
+
|} — '''{{BASEPAGENAME}}'''{{clear left}}
 
{| 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">
+
|} — '''{{BASEPAGENAME}}/sandbox'''{{clear}}
 +
 
 +
== 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}}'''{{clear left}}
 +
{| class="infobox" style="width:22em; float:left;"
 +
{{{{BASEPAGENAME}}/sandbox|[[1972 Summer Olympics|1972 Munich]]}}
 +
|} — '''{{BASEPAGENAME}}/sandbox'''{{clear}}
 +
 
 +
== 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}}'''{{clear left}}
 +
{| class="infobox" style="width:22em; float:left;"
 +
{{{{BASEPAGENAME}}/sandbox|[[1972 Summer Olympics|1972 Munich]]|}}
 +
|} — '''{{BASEPAGENAME}}/sandbox'''{{clear}}
 +
 
 +
== 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}}'''{{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'''{{clear}}
 +
 
 +
== No parameters ==
 +
{{Testcase table|_showcode=true}}
 +
; Output as displayed in a medal table
 +
{| class="infobox" style="width:22em; float:left;"
 +
{{{{BASEPAGENAME}} }}
 +
|} — '''{{BASEPAGENAME}}'''{{clear left}}
 +
{| class="infobox" style="width:22em; float:left;"
 +
{{{{BASEPAGENAME}}/sandbox}}
 +
|} — '''{{BASEPAGENAME}}/sandbox'''{{clear}}

Latest revision as of 21:35, 28 January 2017

Normal usage

Template:Testcase table

Output as displayed in a medal table
Bronze medal – third place 1972 Munich 100 m butterfly

MedalBronze

Bronze medal – third place 1972 Munich 100 m butterfly

MedalBronze/sandbox

2nd parameter missing

Template:Testcase table

Output as displayed in a medal table
Bronze medal – third place 1972 Munich {{{2}}}

MedalBronze

Bronze medal – third place 1972 Munich {{{2}}}

MedalBronze/sandbox

2nd parameter empty

Template:Testcase table

Output as displayed in a medal table
Bronze medal – third place 1972 Munich

MedalBronze

Bronze medal – third place 1972 Munich

MedalBronze/sandbox

1st parameter empty

Template:Testcase table

Output as displayed in a medal table
Bronze medal – third place 100 m butterfly

MedalBronze

Bronze medal – third place 100 m butterfly

MedalBronze/sandbox

No parameters

Template:Testcase table

Output as displayed in a medal table
Bronze medal – third place {{{1}}} {{{2}}}

MedalBronze

Bronze medal – third place {{{1}}} {{{2}}}

MedalBronze/sandbox