Difference between revisions of "Template:Medal/testcases"
imported>Zyxw (more tests) |
imported>Jonesey95 m (Fix invalid self-closed HTML tag or other HTML Tidy-related tag error) |
||
| 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 == | == Disqualified == | ||
| Line 152: | Line 152: | ||
{| class="infobox" style="width:22em; float:left;" | {| 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}}|Disqualified|[[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|Disqualified|[[1972 Summer Olympics|1972 Munich]]|[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}} | {{{{BASEPAGENAME}}/sandbox|Disqualified|[[1972 Summer Olympics|1972 Munich]]|[[Swimming at the 1972 Summer Olympics - Men's 100 metre butterfly|100 m butterfly]]}} | ||
| − | |} — '''{{BASEPAGENAME}}/sandbox''' | + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} |
== TrueSpirit == | == TrueSpirit == | ||
| Line 163: | Line 163: | ||
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}|TrueSpirit|1964}} | {{{{BASEPAGENAME}}|TrueSpirit|1964}} | ||
| − | |} — '''{{BASEPAGENAME}}''' | + | |} — '''{{BASEPAGENAME}}'''{{clear left}} |
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}/sandbox|TrueSpirit|1964}} | {{{{BASEPAGENAME}}/sandbox|TrueSpirit|1964}} | ||
| − | |} — '''{{BASEPAGENAME}}/sandbox''' | + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} |
== Country == | == Country == | ||
| Line 175: | Line 175: | ||
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}|Country|{{CAN}}}} | {{{{BASEPAGENAME}}|Country|{{CAN}}}} | ||
| − | |} — '''{{BASEPAGENAME}}''' | + | |} — '''{{BASEPAGENAME}}'''{{clear left}} |
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}/sandbox|Country|{{CAN}}}} | {{{{BASEPAGENAME}}/sandbox|Country|{{CAN}}}} | ||
| − | |} — '''{{BASEPAGENAME}}/sandbox''' | + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} |
== Team == | == Team == | ||
| Line 187: | Line 187: | ||
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}|Team|{{fb|ITA}}}} | {{{{BASEPAGENAME}}|Team|{{fb|ITA}}}} | ||
| − | |} — '''{{BASEPAGENAME}}''' | + | |} — '''{{BASEPAGENAME}}'''{{clear left}} |
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}/sandbox|Team|{{fb|ITA}}}} | {{{{BASEPAGENAME}}/sandbox|Team|{{fb|ITA}}}} | ||
| − | |} — '''{{BASEPAGENAME}}/sandbox''' | + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} |
'''''Comparison to similar template:''''' | '''''Comparison to similar template:''''' | ||
| Line 197: | Line 197: | ||
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{MedalTeam|{{fb|ITA}}}} | {{MedalTeam|{{fb|ITA}}}} | ||
| − | |} | + | |}{{clear}} |
== Sport == | == Sport == | ||
| Line 205: | Line 205: | ||
{| 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:''''' | ||
| Line 214: | Line 214: | ||
{| 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 222: | 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:''''' | ||
| Line 231: | Line 231: | ||
{| 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 == | == Olympics == | ||
| Line 239: | Line 239: | ||
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}|Olympics}} | {{{{BASEPAGENAME}}|Olympics}} | ||
| − | |} — '''{{BASEPAGENAME}}''' | + | |} — '''{{BASEPAGENAME}}'''{{clear left}} |
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}/sandbox|Olympics}} | {{{{BASEPAGENAME}}/sandbox|Olympics}} | ||
| − | |} — '''{{BASEPAGENAME}}/sandbox''' | + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} |
'''''Comparison to similar template:''''' | '''''Comparison to similar template:''''' | ||
| Line 248: | Line 248: | ||
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{MedalOlympics}} | {{MedalOlympics}} | ||
| − | |} | + | |}{{clear}} |
== WorldChampionships == | == WorldChampionships == | ||
| Line 256: | Line 256: | ||
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}|WorldChampionships}} | {{{{BASEPAGENAME}}|WorldChampionships}} | ||
| − | |} — '''{{BASEPAGENAME}}''' | + | |} — '''{{BASEPAGENAME}}'''{{clear left}} |
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}/sandbox|WorldChampionships}} | {{{{BASEPAGENAME}}/sandbox|WorldChampionships}} | ||
| − | |} — '''{{BASEPAGENAME}}/sandbox''' | + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} |
'''''Comparison to similar template:''''' | '''''Comparison to similar template:''''' | ||
| Line 265: | Line 265: | ||
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{MedalWorldChampionships}} | {{MedalWorldChampionships}} | ||
| − | |} | + | |}{{clear}} |
== EuropeanChampionships == | == EuropeanChampionships == | ||
| Line 273: | Line 273: | ||
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}|EuropeanChampionships}} | {{{{BASEPAGENAME}}|EuropeanChampionships}} | ||
| − | |} — '''{{BASEPAGENAME}}''' | + | |} — '''{{BASEPAGENAME}}'''{{clear left}} |
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{{{BASEPAGENAME}}/sandbox|EuropeanChampionships}} | {{{{BASEPAGENAME}}/sandbox|EuropeanChampionships}} | ||
| − | |} — '''{{BASEPAGENAME}}/sandbox''' | + | |} — '''{{BASEPAGENAME}}/sandbox'''{{clear}} |
'''''Comparison to similar template:''''' | '''''Comparison to similar template:''''' | ||
| Line 282: | Line 282: | ||
{| class="infobox" style="width:22em; float:left;" | {| class="infobox" style="width:22em; float:left;" | ||
{{MedalEuropeanChampionships}} | {{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 |
|---|