Difference between revisions of "Template:Medal"
From NSWiki
(Replaced content with "Gold medal - first place") |
|||
Line 1: | Line 1: | ||
− | [[File: | + | <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 16px.png|16px|Gold medal – first place|link=]] | ||
+ | | Silver | S = " {{!}} [[File:Silver medal icon 16px.png|16px|Silver medal – second place|link=]] | ||
+ | | Bronze | B = " {{!}} [[File:Bronze medal icon 16px.png|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 16px.png|16px|First place|link=]] | ||
+ | | Second | 2nd = " {{!}} [[File:Silver medal icon 16px.png|16px|Second place|link=]] | ||
+ | | Third | 3rd = " {{!}} [[File:Bronze medal icon 16px.png|16px|Third place|link=]] | ||
+ | | Disqualified | DQ = background-color:pink" {{!}} '''Disqualified''' | ||
+ | | Olympics | Olympic = " {{!}} <span class="nowrap">[[Olympic Games]]</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> |
Latest revision as of 02:25, 4 January 2019
{{{2}}} | {{{3}}} |
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |