Difference between revisions of "Template:Medal"

From Sim Football Wiki
Jump to navigation Jump to search
m (1 revision imported)
 
(remove protection tag, per edit request)
Line 1: Line 1:
<noinclude>{| class="infobox" style="width: 25em; font-size: 95%;"
+
<noinclude>
 +
{| class="infobox" style="width: 25em; font-size: 95%;"
 
</noinclude>
 
</noinclude>
|- style="text-align:center;vertical-align:middle;{{#switch: {{{1}}}
+
|-
|Sport|Team|Country =background-color:#eeeeee;
+
{{#switch: {{{1}}}
|Competition|Comp|Olympic|Olympics|WorldChampionships|EuropeanChampionships=background-color:#cccccc;}}"
+
|Sport|Team|Country|Independent = ! colspan="3" style="text-align:center;vertical-align:middle;background-color:#eeeeee;
|{{#switch: {{{1}}}
+
|Competition|Comp|Olympic|Olympics|WorldChampionships|EuropeanChampionships = ! colspan="3" style="text-align:center;vertical-align:middle;background-color:#cccccc;
  | Gold | G                          = [[File:Gold medal icon (G initial).svg|16px|Gold medal – first place|link=]]
+
|#default = {{!}} style="text-align:center;vertical-align:middle;
  | Silver | S                        = [[File:Silver medal icon (S initial).svg|16px|Silver medal – second place|link=]]
+
}}{{#switch: {{{1}}}
  | Bronze | B                        = [[File:Bronze medal icon (B initial).svg|16px|Bronze medal – third place|link=]]
+
  | Gold | G                          = " {{!}} [[File:Gold medal icon (G initial).svg|16px|Gold medal – first place|link=]]
  | Winner | W                        = style="background-color:gold" {{!}} '''Winner'''{{Main other|[[Category:Articles using Template:Medal with Winner]]}}
+
  | Silver | S                        = " {{!}} [[File:Silver medal icon (S initial).svg|16px|Silver medal – second place|link=]]
  | Runner-up | Runnerup | RU        = style="background-color:silver" {{!}} '''Runner-up'''{{Main other|[[Category:Articles using Template:Medal with Runner-up]]}}
+
  | Bronze | B                        = " {{!}} [[File:Bronze medal icon (B initial).svg|16px|Bronze medal – third place|link=]]
  | First | 1st                      = [[File:Gold medal icon.svg|16px|First place|link=]]
+
  | Winner | W                        = background-color:gold" {{!}} '''Winner'''{{Main other|[[Category:Articles using Template:Medal with Winner]]}}
  | Second | 2nd                      = [[File:Silver medal icon.svg|16px|Second place|link=]]
+
  | Runner-up | Runnerup | RU        = background-color:silver" {{!}} '''Runner-up'''{{Main other|[[Category:Articles using Template:Medal with Runner-up]]}}
  | Third | 3rd                      = [[File:Bronze medal icon.svg|16px|Third place|link=]]
+
  | First | 1st                      = " {{!}} [[File:Gold medal icon.svg|16px|First place|link=]]
| Playoffs | PO                    = style="background-color:#cc9966" {{!}} '''Playoffs'''{{Main other|[[Category:Articles using Template:Medal with Playoffs]]}}
+
  | Second | 2nd                      = " {{!}} [[File:Silver medal icon.svg|16px|Second place|link=]]
  | Disqualified | DQ                = style="background-color:pink" {{!}} '''Disqualified'''
+
  | Third | 3rd                      = " {{!}} [[File:Bronze medal icon.svg|16px|Third place|link=]]
  | TrueSpirit | PdC                  = style="background-color:white" {{!}}[[File:Olympic_rings.svg|30px]]{{!!}}style="background-color:white" {{!}}'''[[Pierre de Coubertin medal]]'''
+
  | Disqualified | DQ                = background-color:pink" {{!}} '''Disqualified'''
  | Competition | Comp | Sport | Team = colspan ="3"{{!}} '''<span class="nowrap">{{{2|}}}</span>'''
+
  | TrueSpirit | PdC                  = background-color:white" {{!}} [[File:Olympic_rings.svg|30px]]{{!!}}style="background-color:white" {{!}}'''[[Pierre de Coubertin medal]]'''
  | Olympics | Olympic                = colspan ="3"{{!}} '''<span class="nowrap">[[Olympic Games]]</span>'''
+
  | Olympics | Olympic                = " {{!}} <span class="nowrap">[[Olympic Games]]</span>
  | WorldChampionships                = colspan ="3"{{!}} '''<span class="nowrap">World Championships</span>'''
+
| WorldChampionships                = " {{!}} <span class="nowrap">World Championships</span>
  | EuropeanChampionships            = colspan ="3"{{!}} '''<span class="nowrap">European Championships</span>'''
+
  | EuropeanChampionships            = " {{!}} <span class="nowrap">European Championships</span>
  | Country                          = colspan ="3"{{!}} '''Representing <span class="country-name">{{{2}}}</span>'''
+
  | Competition | Comp | Sport        = " {{!}} <span class="nowrap">{{{2|}}}</span>{{Main other|{{#if:{{{2|}}}||{{#if:{{{2}}}|[[Category:Articles using Template:Medal missing an expected parameter]]}}}}}}
  | Independent                      = colspan ="3"{{!}} '''Competed as an <span class="country-name">{{{2}}}</span>'''
+
  | Team                              = " class="adr" {{!}} <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]]}}
+
  | 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                          = " {{!}} &#32; {{Main other|[[Category:Articles using Template:Medal with unrecognised first positional argument]]}}
 
  }}{{#switch: {{{1}}}
 
  }}{{#switch: {{{1}}}
|Competition|Comp|Country|Sport|Team|Independent|Olympic|Olympics|WorldChampionships|EuropeanChampionships=
+
|Competition|Comp|Sport|Team|Olympic|Olympics|WorldChampionships|EuropeanChampionships|Country|Independent=
|#default = {{!!}} <span class="nowrap">{{{2}}}</span>
+
|#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}}}
 
}}{{#switch: {{{1}}}
|Competition|Comp|Country|Sport|Team|TrueSpirit|PdC|Independent|Olympic|Olympics|WorldChampionships|EuropeanChampionships=
+
|Competition|Comp|Sport|Team|Olympic|Olympics|WorldChampionships|EuropeanChampionships|Country|Independent|TrueSpirit|PdC=
|#default = {{!!}} {{{3}}}}}<noinclude>
+
|#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}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 06:46, 18 June 2019

{{{2}}} {{{3}}}