Difference between revisions of "Template:Infobox Universiade event"
Jump to navigation
Jump to search
imported>Zackmann08 |
imported>Zackmann08 (typo) |
||
| Line 19: | Line 19: | ||
-->{{#if:{{{silver3|}}}|<tr style="vertical-align:top;"><td>[[File:Silver medal icon.svg|14px|Silver medal]] </td><td class="nowraplinks">{{{silver3}}}{{#if:{{{silverNOC3|}}}|{{#if:{{{longnames|}}}|<br/>|</td><td> }}{{flagIOC2|{{{silverNOC3}}}|{{{games|}}}}}}}</td></tr>}}<!-- | -->{{#if:{{{silver3|}}}|<tr style="vertical-align:top;"><td>[[File:Silver medal icon.svg|14px|Silver medal]] </td><td class="nowraplinks">{{{silver3}}}{{#if:{{{silverNOC3|}}}|{{#if:{{{longnames|}}}|<br/>|</td><td> }}{{flagIOC2|{{{silverNOC3}}}|{{{games|}}}}}}}</td></tr>}}<!-- | ||
-->{{#if:{{{bronze|}}}|<tr style="vertical-align:top;"><td>[[File:Bronze medal icon.svg|14px|Bronze medal]] </td><td class="nowraplinks">{{{bronze}}}{{#if:{{{bronzeNOC|}}}|{{#if:{{{longnames|}}}|<br/>|</td><td> }}{{flagIOC2|{{{bronzeNOC}}}|{{{games|}}}}}}}</td></tr>}}<!-- | -->{{#if:{{{bronze|}}}|<tr style="vertical-align:top;"><td>[[File:Bronze medal icon.svg|14px|Bronze medal]] </td><td class="nowraplinks">{{{bronze}}}{{#if:{{{bronzeNOC|}}}|{{#if:{{{longnames|}}}|<br/>|</td><td> }}{{flagIOC2|{{{bronzeNOC}}}|{{{games|}}}}}}}</td></tr>}}<!-- | ||
| − | -->{{#if:{{{bronze2|}}}|<tr style="vertical-align:top;"><td>[[File:Bronze medal icon.svg|14px|Bronze medal]] </td><td class="nowraplinks">{{{bronze2}}}{{#if:{{{bronzeNOC2|}}}|{{#if:{{{longnames|}}}|<br/>|</td><td> }}{{ | + | -->{{#if:{{{bronze2|}}}|<tr style="vertical-align:top;"><td>[[File:Bronze medal icon.svg|14px|Bronze medal]] </td><td class="nowraplinks">{{{bronze2}}}{{#if:{{{bronzeNOC2|}}}|{{#if:{{{longnames|}}}|<br/>|</td><td> }}{{flagIOC2|{{{bronzeNOC2}}}|{{{games|}}}}}}}</td></tr>}}<!-- |
-->{{#if:{{{bronze3|}}}|<tr style="vertical-align:top;"><td>[[File:Bronze medal icon.svg|14px|Bronze medal]] </td><td class="nowraplinks">{{{bronze3}}}{{#if:{{{bronzeNOC3|}}}|{{#if:{{{longnames|}}}|<br/>|</td><td> }}{{flagIOC2|{{{bronzeNOC3}}}|{{{games|}}}}}}}</td></tr>}}<!-- | -->{{#if:{{{bronze3|}}}|<tr style="vertical-align:top;"><td>[[File:Bronze medal icon.svg|14px|Bronze medal]] </td><td class="nowraplinks">{{{bronze3}}}{{#if:{{{bronzeNOC3|}}}|{{#if:{{{longnames|}}}|<br/>|</td><td> }}{{flagIOC2|{{{bronzeNOC3}}}|{{{games|}}}}}}}</td></tr>}}<!-- | ||
--></table></td></tr>}}<!-- | --></table></td></tr>}}<!-- | ||
-->{{#if:{{{prev|}}}{{{next|}}}|<tr><td style="text-align:left;border-top:1px solid #aaa; padding:0.2em;">{{#if:{{{prev|}}}|«{{{prev}}}| }}</td><td style="text-align:right;border-top:1px solid #aaa; padding:0.2em;">{{#if:{{{next|}}}|{{{next}}}»| }}</td></tr>}}<!-- | -->{{#if:{{{prev|}}}{{{next|}}}|<tr><td style="text-align:left;border-top:1px solid #aaa; padding:0.2em;">{{#if:{{{prev|}}}|«{{{prev}}}| }}</td><td style="text-align:right;border-top:1px solid #aaa; padding:0.2em;">{{#if:{{{next|}}}|{{{next}}}»| }}</td></tr>}}<!-- | ||
--></table><noinclude>{{Convert to use Infobox}}{{documentation}}</noinclude> | --></table><noinclude>{{Convert to use Infobox}}{{documentation}}</noinclude> | ||
Revision as of 23:27, 16 January 2017
| {{{event}}} at the Universiade |
| File:Template-info.png | This template may be suitable for conversion to use {{Infobox}} as a base. |
| 30px | This template uses Lua: |
Template:Parameter names example
Usage
{{Infobox Universiade event
| event =
| games =
| image =
| caption =
| venue =
| dates = {{Start date|YYYY|MM|DD}}
| competitors =
| nations =
| teams =
| governing_body =
| win_value =
| gold =
| goldNOC =
| gold2 =
| goldNOC2 =
| silver =
| silverNOC =
| bronze =
| bronzeNOC =
| prev =
| next =
}}
- event
- Required for infobox title
- games
- String such as
2011 Summeror2011 Winter, for example - image
- (Optional) complete image syntax
- caption
- (Optional) displays under the image
- venue or venues
- Required
- date or dates
- Date(s) of the competition. Use {{Start date}} (and {{End date}}) for the first (and last), over multiple lines if necessary.
- competitors
- Optional, total number of competitors for individual events
- nations
- Optional, total number of unique nations represented in this event
- teams
- Optional, number of teams in the tournament for team sports
- governing_body
- Optional, name of International Governing body for the sport
- win_value
- Optional, winning time or score. Use
win_label = Winning scoreto change the label from Winning time to Winning score, for example. - gold, silver, bronze
- Athlete/team name. Use
gold = {{flagIOC2team|CAN|2011 Summer Universiade}}, for example, for a team name, instead of giving a full list of athletes. For duos and small teams, separate entries with {{Plainlist}} - goldNOC, silverNOC, bronzeNOC
- (Optional) country code for the gold medal winner. Do not specify this if the
goldparameter specifies a team name instead of an individual name. - gold2 and goldNOC2
- As for
goldandgoldNOC, but used for situations where there is a tie for first place and two gold medals are awarded (The template currently supports up to three of each medal type.). - prev
- Link to article on the same event/sport from the previous edition of the Universiade
- next
- Link to article on the same event/sport from the following edition of the Universiade
| The above documentation is transcluded from Template:Infobox Universiade event/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |