Difference between revisions of "Template:Medal/testcases"
imported>Zyxw (add tests) |
imported>Zyxw (more tests) |
||
| Line 158: | Line 158: | ||
== TrueSpirit == | == TrueSpirit == | ||
| − | {{Testcase table|_showcode=true|TrueSpirit| | + | {{Testcase table|_showcode=true|TrueSpirit|1964}} |
'''''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}}|TrueSpirit| | + | {{{{BASEPAGENAME}}|TrueSpirit|1964}} |
|} — '''{{BASEPAGENAME}}'''<br clear="left"> | |} — '''{{BASEPAGENAME}}'''<br clear="left"> | ||
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
| − | {{{{BASEPAGENAME}}/sandbox|TrueSpirit| | + | {{{{BASEPAGENAME}}/sandbox|TrueSpirit|1964}} |
|} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> | |} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> | ||
== Country == | == Country == | ||
| − | {{Testcase table|_showcode= | + | <pre>{{Medal|Country|{{CAN}}}}</pre> |
| + | {{Testcase table|_showcode=false|Country|{{CAN}}}} | ||
'''''Output as displayed in a medal table:''''' | '''''Output as displayed in a medal table:''''' | ||
| Line 178: | Line 179: | ||
{{{{BASEPAGENAME}}/sandbox|Country|{{CAN}}}} | {{{{BASEPAGENAME}}/sandbox|Country|{{CAN}}}} | ||
|} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> | |} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> | ||
| + | |||
| + | == 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}}'''<br clear="left"> | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}/sandbox|Team|{{fb|ITA}}}} | ||
| + | |} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> | ||
| + | |||
| + | '''''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}}}} | ||
| + | |}<br clear="all"> | ||
== Sport == | == Sport == | ||
| Line 191: | Line 211: | ||
'''''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]]}} | ||
| Line 208: | Line 228: | ||
'''''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]]}} | ||
| + | |}<br clear="all"> | ||
| + | |||
| + | == Olympics == | ||
| + | {{Testcase table|_showcode=true|Olympics}} | ||
| + | |||
| + | '''''Output as displayed in a medal table:''''' | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}|Olympics}} | ||
| + | |} — '''{{BASEPAGENAME}}'''<br clear="left"> | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}/sandbox|Olympics}} | ||
| + | |} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> | ||
| + | |||
| + | '''''Comparison to similar template:''''' | ||
| + | {{Testcase table|_showcode=true|_caption= |_showtemplate2=no|_template1=MedalOlympics}} | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{MedalOlympics}} | ||
| + | |}<br clear="all"> | ||
| + | |||
| + | == WorldChampionships == | ||
| + | {{Testcase table|_showcode=true|WorldChampionships}} | ||
| + | |||
| + | '''''Output as displayed in a medal table:''''' | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}|WorldChampionships}} | ||
| + | |} — '''{{BASEPAGENAME}}'''<br clear="left"> | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}/sandbox|WorldChampionships}} | ||
| + | |} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> | ||
| + | |||
| + | '''''Comparison to similar template:''''' | ||
| + | {{Testcase table|_showcode=true|_caption= |_showtemplate2=no|_template1=MedalWorldChampionships}} | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{MedalWorldChampionships}} | ||
| + | |}<br clear="all"> | ||
| + | |||
| + | == EuropeanChampionships == | ||
| + | {{Testcase table|_showcode=true|EuropeanChampionships}} | ||
| + | |||
| + | '''''Output as displayed in a medal table:''''' | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}|EuropeanChampionships}} | ||
| + | |} — '''{{BASEPAGENAME}}'''<br clear="left"> | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}/sandbox|EuropeanChampionships}} | ||
| + | |} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> | ||
| + | |||
| + | '''''Comparison to similar template:''''' | ||
| + | {{Testcase table|_showcode=true|_caption= |_showtemplate2=no|_template1=MedalEuropeanChampionships}} | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{MedalEuropeanChampionships}} | ||
|}<br clear="all"> | |}<br clear="all"> | ||
Revision as of 19:20, 10 December 2016
| 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 |
|---|