Difference between revisions of "Template:Medal"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(remove tracking category for pending further testing with templates that call this one)
imported>Zyxw
(Restore tracking category, with fix. Tested in /sandbox.)
Line 16: Line 16:
 
  | Disqualified | DQ                = background-color:pink" {{!}} '''Disqualified'''
 
  | Disqualified | DQ                = background-color:pink" {{!}} '''Disqualified'''
 
  | TrueSpirit | PdC                  = background-color:white" {{!}} [[File:Olympic_rings.svg|30px]]{{!!}}style="background-color:white" {{!}}'''[[Pierre de Coubertin medal]]'''
 
  | TrueSpirit | PdC                  = background-color:white" {{!}} [[File:Olympic_rings.svg|30px]]{{!!}}style="background-color:white" {{!}}'''[[Pierre de Coubertin medal]]'''
  | Competition | Comp | Sport | Team = " colspan="3" {{!}} '''<span class="nowrap">{{{2|}}}</span>'''
+
  | Competition | Comp | Sport | Team = " colspan="3" {{!}} '''<span class="nowrap">{{{2|}}}</span>'''{{Main other|{{#if:{{{2|}}}||{{#if:{{{2}}}|[[Category:Articles using Template:Medal missing an expected parameter]]}}}}}}
 
  | Olympics | Olympic                = " colspan="3" {{!}} '''<span class="nowrap">[[Olympic Games]]</span>'''
 
  | Olympics | Olympic                = " colspan="3" {{!}} '''<span class="nowrap">[[Olympic Games]]</span>'''
 
  | WorldChampionships                = " colspan="3" {{!}} '''<span class="nowrap">World Championships</span>'''
 
  | WorldChampionships                = " colspan="3" {{!}} '''<span class="nowrap">World Championships</span>'''
 
  | EuropeanChampionships            = " colspan="3" {{!}} '''<span class="nowrap">European Championships</span>'''
 
  | EuropeanChampionships            = " colspan="3" {{!}} '''<span class="nowrap">European Championships</span>'''
  | Country                          = " colspan="3" class="adr" {{!}} '''Competitor for <span class="country-name">{{{2}}}</span>'''
+
  | Country                          = " colspan="3" class="adr" {{!}} '''Competitor for <span class="country-name">{{{2}}}</span>'''{{Main other|{{#if:{{{2|}}}||{{#if:{{{2}}}|[[Category:Articles using Template:Medal missing an expected parameter]]}}}}}}
  | Independent                      = " colspan="3" class="adr" {{!}} '''Competed as an <span class="country-name">{{{2}}}</span>'''
+
  | Independent                      = " colspan="3" 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]]}}
 
  | #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|Country|Sport|Team|Independent|Olympic|Olympics|WorldChampionships|EuropeanChampionships=
|#default = {{!!}} style="text-align:center;vertical-align:middle;" {{!}} <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|Country|Sport|Team|TrueSpirit|PdC|Independent|Olympic|Olympics|WorldChampionships|EuropeanChampionships=
|#default = {{!!}} style="text-align:center;vertical-align:middle;" {{!}} {{{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 04:56, 17 March 2016