Jump to content

Template:MedalW/testcases

From Wikipedia, the free encyclopedia

Normal usage

[edit]
{{MedalW|[[CONCACAF Gold Cup]]|[[2009 CONCACAF Gold Cup|2009]]}}
Side by side comparison
{{MedalW}}{{MedalW/sandbox}}

|-

| style="text-align:center;vertical-align:middle;color:inherit;background-color:gold" | Winner|| style="text-align:center;vertical-align:middle;" | CONCACAF Gold Cup|| style="text-align:center;vertical-align:middle;" | 2009

|-

| style="text-align:center;vertical-align:middle;color:inherit;background-color:gold" | Winner|| style="text-align:center;vertical-align:middle;" | CONCACAF Gold Cup|| style="text-align:center;vertical-align:middle;" | 2009
Output as displayed in a medal table
Winner CONCACAF Gold Cup 2009

MedalW

Winner CONCACAF Gold Cup 2009

MedalW/sandbox

2nd parameter missing

[edit]
{{MedalW|[[CONCACAF Gold Cup]]}}
Side by side comparison
{{MedalW}}{{MedalW/sandbox}}

|-

| style="text-align:center;vertical-align:middle;color:inherit;background-color:gold" | Winner|| style="text-align:center;vertical-align:middle;" | CONCACAF Gold Cup|| style="text-align:center;vertical-align:middle;" | {{{2}}}

|-

| style="text-align:center;vertical-align:middle;color:inherit;background-color:gold" | Winner|| style="text-align:center;vertical-align:middle;" | CONCACAF Gold Cup|| style="text-align:center;vertical-align:middle;" | {{{2}}}
Output as displayed in a medal table
Winner CONCACAF Gold Cup {{{2}}}

MedalW

Winner CONCACAF Gold Cup {{{2}}}

MedalW/sandbox

2nd parameter empty

[edit]
{{MedalW|[[CONCACAF Gold Cup]]|}}
Side by side comparison
{{MedalW}}{{MedalW/sandbox}}

|-

| style="text-align:center;vertical-align:middle;color:inherit;background-color:gold" | Winner|| style="text-align:center;vertical-align:middle;" | CONCACAF Gold Cup|| style="text-align:center;vertical-align:middle;" |

|-

| style="text-align:center;vertical-align:middle;color:inherit;background-color:gold" | Winner|| style="text-align:center;vertical-align:middle;" | CONCACAF Gold Cup|| style="text-align:center;vertical-align:middle;" |
Output as displayed in a medal table
Winner CONCACAF Gold Cup

MedalW

Winner CONCACAF Gold Cup

MedalW/sandbox

1st parameter empty

[edit]
{{MedalW||[[2009 CONCACAF Gold Cup|2009]]}}
Side by side comparison
{{MedalW}}{{MedalW/sandbox}}

|-

| style="text-align:center;vertical-align:middle;color:inherit;background-color:gold" | Winner|| style="text-align:center;vertical-align:middle;" | || style="text-align:center;vertical-align:middle;" | 2009

|-

| style="text-align:center;vertical-align:middle;color:inherit;background-color:gold" | Winner|| style="text-align:center;vertical-align:middle;" | || style="text-align:center;vertical-align:middle;" | 2009
Output as displayed in a medal table
Winner 2009

MedalW

Winner 2009

MedalW/sandbox

No parameters

[edit]
{{MedalW}}
Side by side comparison
{{MedalW}}{{MedalW/sandbox}}

|-

| style="text-align:center;vertical-align:middle;color:inherit;background-color:gold" | Winner|| style="text-align:center;vertical-align:middle;" | {{{1}}}|| style="text-align:center;vertical-align:middle;" | {{{2}}}

|-

| style="text-align:center;vertical-align:middle;color:inherit;background-color:gold" | Winner|| style="text-align:center;vertical-align:middle;" | {{{1}}}|| style="text-align:center;vertical-align:middle;" | {{{2}}}
Output as displayed in a medal table
Winner {{{1}}} {{{2}}}

MedalW

Winner {{{1}}} {{{2}}}

MedalW/sandbox