Difference between revisions of "Template:Infobox international hockey competition"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Muboshgu (MOS:ACCESS#Text / MOS:FONTSIZE: "Avoid using smaller font sizes in elements that already use a smaller font size, such as infoboxes, navboxes and reference sections.") |
imported>Zyxw m (update to keep label and medal image on same line - not doing it in Chrome) |
||
| Line 33: | Line 33: | ||
| header10 = {{#if:{{{winners|}}}{{{winners_women|}}}{{{winners_other|}}}|Final positions}} | | header10 = {{#if:{{{winners|}}}{{{winners_women|}}}{{{winners_other|}}}|Final positions}} | ||
| − | | label11 = Champions [[File:Gold medal blank.svg|10px]] | + | | label11 = <span class="nowrap">Champions [[File:Gold medal blank.svg|10px]]</span> |
| data11 = {{#if:{{{winners|}}}|{{ih|{{{winners|}}}|{{{winners-flagvar|}}}}} {{#if: {{{count|}}}|{{nowrap|({{ordinal|{{{count}}}}} title)}} }} }} | | data11 = {{#if:{{{winners|}}}|{{ih|{{{winners|}}}|{{{winners-flagvar|}}}}} {{#if: {{{count|}}}|{{nowrap|({{ordinal|{{{count}}}}} title)}} }} }} | ||
| − | | label12 = Champions [[File:Gold medal blank.svg|10px]] | + | | label12 = <span class="nowrap">Champions [[File:Gold medal blank.svg|10px]]</span> |
| data12 = {{#if:{{{winners_women|}}}|{{ihw|{{{winners_women|}}}|{{{winners_women-flagvar|}}}}} {{#if: {{{count|}}}|{{nowrap|({{ordinal|{{{count}}}}} title)}} }} }} | | data12 = {{#if:{{{winners_women|}}}|{{ihw|{{{winners_women|}}}|{{{winners_women-flagvar|}}}}} {{#if: {{{count|}}}|{{nowrap|({{ordinal|{{{count}}}}} title)}} }} }} | ||
| − | | label13 = Champions [[File:Gold medal blank.svg|10px]] | + | | label13 = <span class="nowrap">Champions [[File:Gold medal blank.svg|10px]]</span> |
| data13 = {{#if:{{{winners_other|}}}|{{{winners_other|}}} {{#if: {{{count|}}}|{{nowrap|({{ordinal|{{{count}}}}} title)}} }} }} | | data13 = {{#if:{{{winners_other|}}}|{{{winners_other|}}} {{#if: {{{count|}}}|{{nowrap|({{ordinal|{{{count}}}}} title)}} }} }} | ||
| − | | label14 = Runner-up [[File:Silver medal blank.svg|10px]] | + | | label14 = <span class="nowrap">Runner-up [[File:Silver medal blank.svg|10px]]</span> |
| data14 = {{#if:{{{second|}}}|{{ih|{{{second|}}}|{{{second-flagvar|}}}}} }} | | data14 = {{#if:{{{second|}}}|{{ih|{{{second|}}}|{{{second-flagvar|}}}}} }} | ||
| − | | label15 = Runner-up [[File:Silver medal blank.svg|10px]] | + | | label15 = <span class="nowrap">Runner-up [[File:Silver medal blank.svg|10px]]</span> |
| data15 = {{#if:{{{second_other|}}}|{{{second_other|}}} }} | | data15 = {{#if:{{{second_other|}}}|{{{second_other|}}} }} | ||
| − | | label16 = Third place [[File:Bronze medal blank.svg|10px]] | + | | label16 = <span class="nowrap">Third place [[File:Bronze medal blank.svg|10px]]</span> |
| data16 = {{#if:{{{third|}}}|{{ih|{{{third|}}}|{{{third-flagvar|}}}}} }} | | data16 = {{#if:{{{third|}}}|{{ih|{{{third|}}}|{{{third-flagvar|}}}}} }} | ||
| − | | label17 = Third place [[File:Bronze medal blank.svg|10px]] | + | | label17 = <span class="nowrap">Third place [[File:Bronze medal blank.svg|10px]]</span> |
| data17 = {{#if:{{{third_other|}}}|{{{third_other|}}} }} | | data17 = {{#if:{{{third_other|}}}|{{{third_other|}}} }} | ||
Latest revision as of 02:12, 14 January 2020
[[Category:Infobox templates|Template:Remove first word]]
Usage
{{Infobox international hockey competition
| tourney_name = <!-- blank, if tournament name is like PAGE NAME-->
| year =
| yearr = <!-- use if year is on right side-->
| other_titles =
| image = <!-- use the format of "imagename.jpg" -->
| size =
| caption =
| country =
| country-flagvar = <!-- if the flag is other as the current -->
| country2 =
| country2-flagvar =
| country3 =
| country3-flagvar =
| country4 =
| country4-flagvar =
| country5 =
| country5-flagvar =
| country6 =
| country6-flagvar =
| country7 =
| country7-flagvar =
| country8 =
| country8-flagvar =
| dates =
| tournament_format =
| num_teams =
| arenas = <!-- or | venues = -->
| cities =
| host_cities = <!-- optional, write "no" if the cities aren't host cities -->
| winners =
| winners_women = <!-- use for women's tournaments -->
| winners_other = <!-- use instead if the team is not in {{ih}} (enter your own code) -->
| count =
| second = <!-- automatically wraps into {{ih}} template -->
| second_other = <!-- use instead if the team is not in {{ih}} (enter your own code) -->
| third = <!-- automatically wraps into {{ih}} template -->
| third_other = <!-- use instead if the team is not in {{ih}} (enter your own code) -->
| fourth = <!-- automatically wraps into {{ih}} template -->
| fourth_other = <!-- use instead if the team is not in {{ih}} (enter your own code) -->
| games =
| goals =
| attendance =
| scoring_leader =
| points =
| mvp =
| prevseason =
| nextseason =
| note =
}}
Example
| 2006. gada Pasaules čempionāts hokejā | |
|---|---|
| Tournament details | |
| Host country | |
| Dates | May 5 - May 21 |
| Teams | 16 |
| Venue(s) | 2 (in 2 host cities) |
| Final positions | |
| Champions | |
| Tournament statistics | |
| Matches played | 56 |
| Goals scored | 329 (5.88 per match) |
| Attendance | 324,794 (5,800 per match) |
| Scoring leader(s) | (16 points) |
| MVP | |
← 2005 2007 → | |
{{Infobox international hockey competition
| tourney_name = IIHF World Championship
| year = 2006
| other_titles = {{lang|Lat| 2006. gada Pasaules čempionāts hokejā}}
| image =
| size = 110px
| caption =
| country = Latvia
| dates = May 5 - May 21
| num_teams = 16
| venues = 2
| cities = 2
| winners = Sweden
| count = 8
| games = 56
| goals = 329
| attendance = 324794
| scoring_leader = {{Flagicon|CAN}} [[Sidney Crosby]]
| points = 16
| mvp = {{Flagicon|SWE}} [[Niklas Kronwall]]
| prevseason = [[2005 IIHF World Championship|2005]]
| nextseason = [[2007 IIHF World Championship|2007]]
}}
| The above documentation is transcluded from Template:Infobox international hockey competition/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. |