Difference between revisions of "Template:Medal/testcases"
Jump to navigation
Jump to search
imported>Zyxw (show main template and sandbox output side-by-side, a comparison to similar templaes) |
imported>Zyxw (add tests) |
||
| Line 144: | Line 144: | ||
{| 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'''<br clear="all"> | ||
| + | |||
| + | == 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}}'''<br 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'''<br clear="all"> | ||
| + | |||
| + | == TrueSpirit == | ||
| + | {{Testcase table|_showcode=true|TrueSpirit|''Year''}} | ||
| + | |||
| + | '''''Output as displayed in a medal table:''''' | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}|TrueSpirit|''Year''}} | ||
| + | |} — '''{{BASEPAGENAME}}'''<br clear="left"> | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}/sandbox|TrueSpirit|''Year''}} | ||
| + | |} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> | ||
| + | |||
| + | == Country == | ||
| + | {{Testcase table|_showcode=true|Country|{{CAN}}}} | ||
| + | |||
| + | '''''Output as displayed in a medal table:''''' | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}|Country|{{CAN}}}} | ||
| + | |} — '''{{BASEPAGENAME}}'''<br clear="left"> | ||
| + | {| class="infobox" style="width:22em; float:left;" | ||
| + | {{{{BASEPAGENAME}}/sandbox|Country|{{CAN}}}} | ||
|} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> | |} — '''{{BASEPAGENAME}}/sandbox'''<br clear="all"> | ||
== 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:''''' | ||
Revision as of 03:18, 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 | Year |
— Medal
| 30px | Pierre de Coubertin medal | Year |
— Medal/sandbox
Country
Output as displayed in a medal table:
| Representing 23x15px Canada |
|---|
— Medal
| Representing 23x15px Canada |
|---|
— Medal/sandbox
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 |
|---|