Bản mẫu:Hộp thông tin môn thi đấu tại Đại hội Thể thao Trong nhà và Võ thuật châu Á
Giao diện
Đại hội Thể thao Trong nhà và Võ thuật châu Á |
---|
Đây là bao bọc tùy chỉnh cho Bản mẫu:Hộp thông tin sự kiện thi đấu thể thao.
Cách sử dụng[sửa mã nguồn]
{{Hộp thông tin môn thi đấu tại Đại hội Thể thao Trong nhà và Võ thuật châu Á | event = | year = | image = | image_size = | alt = | caption = | venue = | venues = | date = | start_date = {{Start date|YYYY|MM|DD|df=y}} | end_date = {{End date|YYYY|MM|DD|df=y}} | competitors = | nations = | teams = | win_label = | win_value = | website = {{Official URL|}} | gold = | gold_nation = | gold2 = | gold2_nation = | silver = | silver_nation = | bronze = | bronze_nation = | previous = | next = }}
Các tham số[sửa mã nguồn]
- event
- (required) Name of the individual event only
- year
- (required) Year such as
2006
or1954
, for example - image
- file name of the image
- image_size
- (optional) specify width or size in px
- alt
- alt text for the image
- caption
- (optional) displayed below the image
- venue or venues
- (either of the two is required)
- date
- required for single-day events.
- start_date and end_date
- required for multi-day events. Use
{{Start date|YYYY|MM|DD|df=y}}
and{{End date|YYYY|MM|DD|df=y}}
- competitors
- (optional) total number of competitors for individual events
- teams
- (optional, only in team-sports) number of teams in the tournament for team sports
- nations
- (optional) total number of unique nations represented
- win_time or win_score
- winning time or score; choice of parameter affects the label.
- win_label and win_value
- use this to specify an alternative label and value
- gold, silver, bronze
- Athlete name or team name. Use
|gold={{flagIOC2|VIE|2017}}
(for example) for a team name, instead of giving a full list of athletes. For duos and small teams, separate entries with{{plainlist}}
- gold_nation, silver_nation, bronze_nation
- (Optional) country code for the gold medal winner. Do not specify this if the
|gold=
parameter specifies a team name instead of an individual name. - gold2 and gold2_nation
- As for
|gold=
and|gold_nation=
, 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.). - previous
- Link to article on the same event/sport from the previous edition of the Asian Indoor and Martial Arts Games
- next
- Link to article on the same event/sport from the following edition of the Asian Indoor and Martial Arts Games
Ví dụ[sửa mã nguồn]
Kurash - +87kg tại Đại hội Thể thao Trong nhà và Võ thuật châu Á 2017 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||
Địa điểm | Ashgabat Martial Arts Arena | ||||||||||||
Ngày | 20 tháng 9 năm 2017 | ||||||||||||
Vận động viên | 6 vận động viên | ||||||||||||
Danh sách huy chương | |||||||||||||
| |||||||||||||
{{Hộp thông tin môn thi đấu tại Đại hội Thể thao Trong nhà và Võ thuật châu Á | event = Kurash - +87kg | year = 2017 | image = Kurash pictogram.svg | image_size = 80px | caption = | venue = Ashgabat Martial Arts Arena | date = {{Start date|2017|09|20|df=y}} | competitors = 6 vận động viên | gold = {{plainlist| * [[Trần Thị Thanh Thủy]] }} | gold_nation = VIE | silver = {{plainlist| * Anna Dmitriýewa }} | silver_nation = TKM | bronze = {{plainlist| * Leýla Aliýewa }} | bronze_nation = TKM | bronze2 = {{plainlist| * Neha Solanki }} | bronze2_nation = IND | previous = [[Kurash tại Đại hội Thể thao Trong nhà và Võ thuật châu Á 2013#+87kg|2013]] | next = [[Kurash tại Đại hội Thể thao Trong nhà và Võ thuật châu Á 2021|2021]] }}
Siêu định dạng[sửa mã nguồn]
The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.- Classes used
The HTML classes this microformat uses include:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.
nor collapse nested elements which use them.