Template:OlympicNationRow
| 30 |
Usage
This template is designed to be used on Olympic-related tables, possessing an {{OlympicYearHeader}}-derived header, which display the history of participating nations on a specific sport at the Summer or Winter Olympics. It creates a unique table row where a NOC, the years it took part on that sport, and the number of competitors sent that year, can be input as parameter values, saving time and preventing complicated table formating problems.
The template code is developed so that:
- Cells corresponding to a sport's Olympic non-competing years appear shaded in gray;
- Cells corresponding to years where a country did not took part on that sport display a dash;
- Cells corresponding to years where a country with X competitors on that sport display X
Wiki markup
{{OlympicNationRow
|NOC=
|sport=
|season=
|1896=
|1900=
|1904=
|1908=
|1912=
...
|1992=
|1994=
|1996=
|1998=
|2000=
|2002=
|2004=
|2006=
|total=
}}
Parameters
- NOC
- required - three letter code of country, as per List of IOC country codes
- sport
- required - capitalized Olympic sport for which the table is built (e.g. Archery)
- season
- required - string which should be either "Summer" or "Winter", according to the Games where <sport> is included on the official programme.
- <year>
- optional - number of national competitors on that <sport> at the <year> <season> Olympics; if not specified, default is "-"
- total
- total number of national presences at the <sport>; if not specified, default is 25
Demonstration
{| {{OlympicYearHeader|header=Nation|sport=Diving}}
|-
{{OlympicNationRow|NOC=ANZ|season=Summer|sport=Diving|1908=1 |1912=4 |total=2}}
|}
| Nation | 96 | 00 | 04 | 08 | 12 | 20 | 24 | 28 | 32 | 36 | 48 | 52 | 56 | 60 | 64 | 68 | 72 | 76 | 80 | 84 | 88 | 92 | 96 | 00 | 04 | 08 | 12 | 16 | 20 | 24 | Years |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 4 | 2 |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.