Changes
Update output of {{Medal|Team}} to match {{MedalTeam}}, tested in /sandbox, see Template:Medal/testcases#Team.
<noinclude>{{sandbox other|<!--avoids transclusion of protection template in sandbox-->|{{pp-template|small=yes}}}}
{| class="infobox" style="width: 25em; font-size: 95%;"
</noinclude>
|-
{{#switch: {{{1}}}
|Sport|Team|Country|Independent = ! colspan="3" style="text-align:center;vertical-align:middle;background-color:#eeeeee;
|Competition|Comp|Olympic|Olympics|WorldChampionships|EuropeanChampionships = ! colspan="3" style="text-align:center;vertical-align:middle;background-color:#cccccc;
|#default = {{!}} style="text-align:center;vertical-align:middle;
}}{{#switch: {{{1}}}
| Gold | G = " {{!}} [[File:Gold medal icon (G initial).svg|16px|Gold medal – first place|link=]]
| Silver | S = " {{!}} [[File:Silver medal icon (S initial).svg|16px|Silver medal – second place|link=]]
| Bronze | B = " {{!}} [[File:Bronze medal icon (B initial).svg|16px|Bronze medal – third place|link=]]
| Winner | W = background-color:gold" {{!}} '''Winner'''{{Main other|[[Category:Articles using Template:Medal with Winner]]}}
| Runner-up | Runnerup | RU = background-color:silver" {{!}} '''Runner-up'''{{Main other|[[Category:Articles using Template:Medal with Runner-up]]}}
| First | 1st = " {{!}} [[File:Gold medal icon.svg|16px|First place|link=]]
| Second | 2nd = " {{!}} [[File:Silver medal icon.svg|16px|Second place|link=]]
| Third | 3rd = " {{!}} [[File:Bronze medal icon.svg|16px|Third place|link=]]
| Disqualified | DQ = background-color:pink" {{!}} '''Disqualified'''
| TrueSpirit | PdC = background-color:white" {{!}} [[File:Olympic_rings.svg|30px]]{{!!}}style="background-color:white" {{!}}'''[[Pierre de Coubertin medal]]'''
| Olympics | Olympic = " {{!}} <span class="nowrap">[[Olympic Games]]</span>
| WorldChampionships = " {{!}} <span class="nowrap">World Championships</span>
| EuropeanChampionships = " {{!}} <span class="nowrap">European Championships</span>
| Competition | Comp | Sport = " {{!}} <span class="nowrap">{{{2|}}}</span>{{Main other|{{#if:{{{2|}}}||{{#if:{{{2}}}|[[Category:Articles using Template:Medal missing an expected parameter]]}}}}}}
| Team = " class="adr" {{!}} <span class="country-name">{{{2}}}</span>{{Main other|{{#if:{{{2|}}}||{{#if:{{{2}}}|[[Category:Articles using Template:Medal missing an expected parameter]]}}}}}}
| Country = " class="adr" {{!}} Representing <span class="country-name">{{{2}}}</span>{{Main other|{{#if:{{{2|}}}||{{#if:{{{2}}}|[[Category:Articles using Template:Medal missing an expected parameter]]}}}}}}
| Independent = " class="adr" {{!}} Competed as an <span class="country-name">{{{2}}}</span>{{Main other|{{#if:{{{2|}}}||{{#if:{{{2}}}|[[Category:Articles using Template:Medal missing an expected parameter]]}}}}}}
| #default = " {{!}}   {{Main other|[[Category:Articles using Template:Medal with unrecognised first positional argument]]}}
}}{{#switch: {{{1}}}
|Competition|Comp|Sport|Team|Olympic|Olympics|WorldChampionships|EuropeanChampionships|Country|Independent=
|#default = {{!!}} style="text-align:center;vertical-align:middle;" {{!}} <span class="nowrap">{{{2}}}</span>{{Main other|{{#if:{{{2|}}}||{{#if:{{{2}}}|[[Category:Articles using Template:Medal missing an expected parameter]]}}}}}}
}}{{#switch: {{{1}}}
|Competition|Comp|Sport|Team|Olympic|Olympics|WorldChampionships|EuropeanChampionships|Country|Independent|TrueSpirit|PdC=
|#default = {{!!}} style="text-align:center;vertical-align:middle;" {{!}} {{{3}}}{{Main other|{{#if:{{{3|}}}||{{#if:{{{3}}}|[[Category:Articles using Template:Medal missing an expected parameter]]}}}}}}}}<noinclude>
|}
{{documentation}}
</noinclude>
{| class="infobox" style="width: 25em; font-size: 95%;"
</noinclude>
|-
{{#switch: {{{1}}}
|Sport|Team|Country|Independent = ! colspan="3" style="text-align:center;vertical-align:middle;background-color:#eeeeee;
|Competition|Comp|Olympic|Olympics|WorldChampionships|EuropeanChampionships = ! colspan="3" style="text-align:center;vertical-align:middle;background-color:#cccccc;
|#default = {{!}} style="text-align:center;vertical-align:middle;
}}{{#switch: {{{1}}}
| Gold | G = " {{!}} [[File:Gold medal icon (G initial).svg|16px|Gold medal – first place|link=]]
| Silver | S = " {{!}} [[File:Silver medal icon (S initial).svg|16px|Silver medal – second place|link=]]
| Bronze | B = " {{!}} [[File:Bronze medal icon (B initial).svg|16px|Bronze medal – third place|link=]]
| Winner | W = background-color:gold" {{!}} '''Winner'''{{Main other|[[Category:Articles using Template:Medal with Winner]]}}
| Runner-up | Runnerup | RU = background-color:silver" {{!}} '''Runner-up'''{{Main other|[[Category:Articles using Template:Medal with Runner-up]]}}
| First | 1st = " {{!}} [[File:Gold medal icon.svg|16px|First place|link=]]
| Second | 2nd = " {{!}} [[File:Silver medal icon.svg|16px|Second place|link=]]
| Third | 3rd = " {{!}} [[File:Bronze medal icon.svg|16px|Third place|link=]]
| Disqualified | DQ = background-color:pink" {{!}} '''Disqualified'''
| TrueSpirit | PdC = background-color:white" {{!}} [[File:Olympic_rings.svg|30px]]{{!!}}style="background-color:white" {{!}}'''[[Pierre de Coubertin medal]]'''
| Olympics | Olympic = " {{!}} <span class="nowrap">[[Olympic Games]]</span>
| WorldChampionships = " {{!}} <span class="nowrap">World Championships</span>
| EuropeanChampionships = " {{!}} <span class="nowrap">European Championships</span>
| Competition | Comp | Sport = " {{!}} <span class="nowrap">{{{2|}}}</span>{{Main other|{{#if:{{{2|}}}||{{#if:{{{2}}}|[[Category:Articles using Template:Medal missing an expected parameter]]}}}}}}
| Team = " class="adr" {{!}} <span class="country-name">{{{2}}}</span>{{Main other|{{#if:{{{2|}}}||{{#if:{{{2}}}|[[Category:Articles using Template:Medal missing an expected parameter]]}}}}}}
| Country = " class="adr" {{!}} Representing <span class="country-name">{{{2}}}</span>{{Main other|{{#if:{{{2|}}}||{{#if:{{{2}}}|[[Category:Articles using Template:Medal missing an expected parameter]]}}}}}}
| Independent = " class="adr" {{!}} Competed as an <span class="country-name">{{{2}}}</span>{{Main other|{{#if:{{{2|}}}||{{#if:{{{2}}}|[[Category:Articles using Template:Medal missing an expected parameter]]}}}}}}
| #default = " {{!}}   {{Main other|[[Category:Articles using Template:Medal with unrecognised first positional argument]]}}
}}{{#switch: {{{1}}}
|Competition|Comp|Sport|Team|Olympic|Olympics|WorldChampionships|EuropeanChampionships|Country|Independent=
|#default = {{!!}} style="text-align:center;vertical-align:middle;" {{!}} <span class="nowrap">{{{2}}}</span>{{Main other|{{#if:{{{2|}}}||{{#if:{{{2}}}|[[Category:Articles using Template:Medal missing an expected parameter]]}}}}}}
}}{{#switch: {{{1}}}
|Competition|Comp|Sport|Team|Olympic|Olympics|WorldChampionships|EuropeanChampionships|Country|Independent|TrueSpirit|PdC=
|#default = {{!!}} style="text-align:center;vertical-align:middle;" {{!}} {{{3}}}{{Main other|{{#if:{{{3|}}}||{{#if:{{{3}}}|[[Category:Articles using Template:Medal missing an expected parameter]]}}}}}}}}<noinclude>
|}
{{documentation}}
</noinclude>