Difference between revisions of "Template:Medal/testcases"
imported>Zyxw (show main template and sandbox output side-by-side, a comparison to similar templaes) |
imported>Jonesey95 m (Fix invalid self-closed HTML tag or other HTML Tidy-related tag error) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 141: | Line 141: | ||
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}|Gold|[[1972 Summer Olympics|1972 Munich]]|[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}} | {{{{BASEPAGENAME}}|Gold|[[1972 Summer Olympics|1972 Munich]]|[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}} | ||
| − | |} — '''{{BASEPAGENAME}}''' | + | |} — '''{{BASEPAGENAME}}'''{{clear left}} |
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}/sandbox|Gold|[[1972 Summer Olympics|1972 Munich]]|[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}} | {{{{BASEPAGENAME}}/sandbox|Gold|[[1972 Summer Olympics|1972 Munich]]|[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}} | ||
| − | |} — '''{{BASEPAGENAME}}/sandbox'''< | + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} |
| + | |||
| + | == Disqualified == | ||
| + | {{Testcase table|_showcode=true|Disqualified|[[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:''''' | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}|Disqualified|[[1972 Summer Olympics|1972 Munich]]|[[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|Disqualified|[[1972 Summer Olympics|1972 Munich]]|[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}} | ||
| + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} | ||
| + | |||
| + | == TrueSpirit == | ||
| + | {{Testcase table|_showcode=true|TrueSpirit|1964}} | ||
| + | |||
| + | '''''Output as displayed in a medal table:''''' | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}|TrueSpirit|1964}} | ||
| + | |} — '''{{BASEPAGENAME}}'''{{clear left}} | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}/sandbox|TrueSpirit|1964}} | ||
| + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} | ||
| + | |||
| + | == Country == | ||
| + | <pre>{{Medal|Country|{{CAN}}}}</pre> | ||
| + | {{Testcase table|_showcode=false|Country|{{CAN}}}} | ||
| + | |||
| + | '''''Output as displayed in a medal table:''''' | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}|Country|{{CAN}}}} | ||
| + | |} — '''{{BASEPAGENAME}}'''{{clear left}} | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}/sandbox|Country|{{CAN}}}} | ||
| + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} | ||
| + | |||
| + | == Team == | ||
| + | <pre>{{Medal|Team|{{fb|ITA}}}}</pre> | ||
| + | {{Testcase table|_showcode=false|Team|{{fb|ITA}}}} | ||
| + | |||
| + | '''''Output as displayed in a medal table:''''' | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}|Team|{{fb|ITA}}}} | ||
| + | |} — '''{{BASEPAGENAME}}'''{{clear left}} | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}/sandbox|Team|{{fb|ITA}}}} | ||
| + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} | ||
| + | |||
| + | '''''Comparison to similar template:''''' | ||
| + | <pre>{{MedalTeam|{{fb|ITA}}}}</pre> | ||
| + | {{Testcase table|_showcode=false|_caption= |_showtemplate2=no|_template1=MedalTeam|{{fb|ITA}}}} | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{MedalTeam|{{fb|ITA}}}} | ||
| + | |}{{clear}} | ||
== Sport == | == Sport == | ||
| − | {{Testcase table|_showcode=true|Sport|[[Swimming (sport)|Swimming]] | + | {{Testcase table|_showcode=true|Sport|[[Swimming (sport)|Swimming]]}} |
'''''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}}|Sport|[[Swimming (sport)|Swimming]]}} | {{{{BASEPAGENAME}}|Sport|[[Swimming (sport)|Swimming]]}} | ||
| − | |} — '''{{BASEPAGENAME}}''' | + | |} — '''{{BASEPAGENAME}}'''{{clear left}} |
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}/sandbox|Sport|[[Swimming (sport)|Swimming]]}} | {{{{BASEPAGENAME}}/sandbox|Sport|[[Swimming (sport)|Swimming]]}} | ||
| − | |} — '''{{BASEPAGENAME}}/sandbox''' | + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} |
'''''Comparison to similar template:''''' | '''''Comparison to similar template:''''' | ||
| − | {{Testcase table| | + | {{Testcase table|_showcode=true|_caption= |_showtemplate2=no|_template1=MedalSport|[[Swimming (sport)|Swimming]]}} |
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{MedalSport|[[Swimming (sport)|Swimming]]}} | {{MedalSport|[[Swimming (sport)|Swimming]]}} | ||
| − | |} | + | |}{{clear}} |
== Competition == | == Competition == | ||
| Line 169: | Line 222: | ||
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}|Competition|[[FINA World Aquatics Championships|World Championships]]}} | {{{{BASEPAGENAME}}|Competition|[[FINA World Aquatics Championships|World Championships]]}} | ||
| − | |} — '''{{BASEPAGENAME}}''' | + | |} — '''{{BASEPAGENAME}}'''{{clear left}} |
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}/sandbox|Competition|[[FINA World Aquatics Championships|World Championships]]}} | {{{{BASEPAGENAME}}/sandbox|Competition|[[FINA World Aquatics Championships|World Championships]]}} | ||
| − | |} — '''{{BASEPAGENAME}}/sandbox''' | + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} |
'''''Comparison to similar template:''''' | '''''Comparison to similar template:''''' | ||
| − | {{Testcase table| | + | {{Testcase table|_showcode=true|_caption= |_showtemplate2=no|_template1=MedalCompetition|[[FINA World Aquatics Championships|World Championships]]}} |
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{MedalCompetition|[[FINA World Aquatics Championships|World Championships]]}} | {{MedalCompetition|[[FINA World Aquatics Championships|World Championships]]}} | ||
| − | |} | + | |}{{clear}} |
| + | |||
| + | == Olympics == | ||
| + | {{Testcase table|_showcode=true|Olympics}} | ||
| + | |||
| + | '''''Output as displayed in a medal table:''''' | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}|Olympics}} | ||
| + | |} — '''{{BASEPAGENAME}}'''{{clear left}} | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}/sandbox|Olympics}} | ||
| + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} | ||
| + | |||
| + | '''''Comparison to similar template:''''' | ||
| + | {{Testcase table|_showcode=true|_caption= |_showtemplate2=no|_template1=MedalOlympics}} | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{MedalOlympics}} | ||
| + | |}{{clear}} | ||
| + | |||
| + | == WorldChampionships == | ||
| + | {{Testcase table|_showcode=true|WorldChampionships}} | ||
| + | |||
| + | '''''Output as displayed in a medal table:''''' | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}|WorldChampionships}} | ||
| + | |} — '''{{BASEPAGENAME}}'''{{clear left}} | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}/sandbox|WorldChampionships}} | ||
| + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} | ||
| + | |||
| + | '''''Comparison to similar template:''''' | ||
| + | {{Testcase table|_showcode=true|_caption= |_showtemplate2=no|_template1=MedalWorldChampionships}} | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{MedalWorldChampionships}} | ||
| + | |}{{clear}} | ||
| + | |||
| + | == EuropeanChampionships == | ||
| + | {{Testcase table|_showcode=true|EuropeanChampionships}} | ||
| + | |||
| + | '''''Output as displayed in a medal table:''''' | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}|EuropeanChampionships}} | ||
| + | |} — '''{{BASEPAGENAME}}'''{{clear left}} | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}/sandbox|EuropeanChampionships}} | ||
| + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} | ||
| + | |||
| + | '''''Comparison to similar template:''''' | ||
| + | {{Testcase table|_showcode=true|_caption= |_showtemplate2=no|_template1=MedalEuropeanChampionships}} | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{MedalEuropeanChampionships}} | ||
| + | |}{{clear}} | ||
<!-- | <!-- | ||
Latest revision as of 21:35, 28 January 2017
| 42px | This is the template test cases page for the sandbox of Template:Medal. 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
Basic tests
| {{Medal}} | {{Medal/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| {{Medal}} | {{Medal/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| ||||||||||||||||||||||||||||||||||||||||||
| {{Medal}} | {{Medal/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| {{Medal}} | {{Medal/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
Headers and PdC
| {{Medal}} | {{Medal/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Gold
Output as displayed in a medal table:
| Gold medal – first place | 1972 Munich | 100 m butterfly |
— Medal
| Gold medal – first place | 1972 Munich | 100 m butterfly |
— Medal/sandbox
Disqualified
Output as displayed in a medal table:
| Disqualified | 1972 Munich | 100 m butterfly |
— Medal
| Disqualified | 1972 Munich | 100 m butterfly |
— Medal/sandbox
TrueSpirit
Output as displayed in a medal table:
| 30px | Pierre de Coubertin medal | 1964 |
— Medal
| 30px | Pierre de Coubertin medal | 1964 |
— Medal/sandbox
Country
{{Medal|Country|{{CAN}}}}
Output as displayed in a medal table:
| Representing 23x15px Canada |
|---|
— Medal
| Representing 23x15px Canada |
|---|
— Medal/sandbox
Team
{{Medal|Team|{{fb|ITA}}}}
Output as displayed in a medal table:
| 23x15px Italy |
|---|
— Medal
| 23x15px Italy |
|---|
— Medal/sandbox
Comparison to similar template:
{{MedalTeam|{{fb|ITA}}}}
| 23x15px Italy |
|---|
Sport
Output as displayed in a medal table:
| Swimming |
|---|
— Medal
| Swimming |
|---|
— Medal/sandbox
Comparison to similar template: Template:Testcase table
| Swimming |
|---|
Competition
Output as displayed in a medal table:
| World Championships |
|---|
— Medal
| World Championships |
|---|
— Medal/sandbox
Comparison to similar template: Template:Testcase table
| World Championships |
|---|
Olympics
Output as displayed in a medal table:
| Olympic Games |
|---|
— Medal
| Olympic Games |
|---|
— Medal/sandbox
Comparison to similar template: Template:Testcase table
| Olympic Games |
|---|
WorldChampionships
Output as displayed in a medal table:
| World Championships |
|---|
— Medal
| World Championships |
|---|
— Medal/sandbox
Comparison to similar template: Template:Testcase table
| World Championships |
|---|
EuropeanChampionships
Output as displayed in a medal table:
| European Championships |
|---|
— Medal
| European Championships |
|---|
— Medal/sandbox
Comparison to similar template: Template:Testcase table
| European Championships |
|---|