Bản mẫu:Infobox Pan American Games event/doc
Đây là một trang con tài liệu sử dụng bản mẫu dành cho Bản mẫu:Infobox Pan American Games event. Nó gồm có các thông tin hướng dẫn sử dụng, thể loại và các nội dung khác không thuộc về phần trang bản mẫu gốc. |
Bản mẫu này được sử dụng ở rất nhiều trang, vì thế những thay đổi đến nó sẽ hiện ra rõ ràng. Vui lòng thử nghiệm các thay đổi ở trang con /sandbox, /testcases của bản mẫu, hoặc ở không gian người dùng của bạn. Cân nhắc thảo luận các thay đổi tại trang thảo luận trước khi áp dụng sửa đổi. |
Bản mẫu này thêm một mô tả ngắn một cách tự động. Nếu như mô tả ngắn tự động không hiệu quả, thay thế nó bằng cách bổ sung thêm {{Short description}} ở đỉnh đầu của bài viết. |
Bản mẫu này sử dụng Lua: |
Cách sử dụng sửa
{{Infobox Pan American Games event
| event =
| year =
| image =
| image_size =
| alt =
| caption =
| venue =
| venues =
| date =
| start_date = {{Start date|YYYY|MM|DD|mf=y}}
| end_date = {{End date|YYYY|MM|DD|mf=y}}
| competitors =
| nations =
| teams =
| win_label =
| win_value =
| website = {{Official URL|}}
| gold =
| goldNOC =
| gold2 =
| goldNOC2 =
| silver =
| silverNOC =
| bronze =
| bronzeNOC =
| prev =
| next =
}}
Tham số sửa
- 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|mf=y}}
and{{End date|YYYY|MM|DD|mf=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={{flagPASOteam|IND|2010}}
(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) PASO 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 goldNOC2
- 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.). - prev
- Link to article on the same event/sport from the previous edition of the Pan American Games
- next
- Link to article on the same event/sport from the following edition of the Pan American Games
Ví dụ sửa
Individual event sửa
Boxing at the 2011 Pan American Games – Welterweight
Boxing – Men's welterweight tại Đại hội Thể thao Liên châu Mỹ | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Địa điểm | Expo Guadalajara Arena | ||||||||||||
Ngày bắt đầu | 22 tháng 10 năm 2011 | ||||||||||||
Ngày kết thúc | 29 tháng 10 năm 2011 | ||||||||||||
Vận động viên | 11 từ 11 quốc gia | ||||||||||||
Danh sách huy chương | |||||||||||||
| |||||||||||||
{{Infobox Pan American Games event
| event = Boxing – Men's welterweight
| year = 2011
| image = Boxing pictogram.svg
| image_size = 80px
| venue = [[Expo Guadalajara Arena]]
| start_date = {{start date|2011|10|22}}
| end_date = {{end date|2011|10|29}}
| competitors = 11
| nations = 11
| gold = [[Carlos Banteux]]
| goldNOC = CUB
| silver = [[Oscar Molina]]
| silverNOC = MEX
| bronze = [[Mian Hussain]]
| bronzeNOC = CAN
| bronze2 = [[Myke Carvalho]]
| bronzeNOC2 = BRA
| prev = [[Boxing at the 2007 Pan American Games|2007]]
| next = [[Boxing at the 2015 Pan American Games – Men's Welterweight|2015]]
}}
Team event sửa
Archery at the 2015 Pan American Games – Men's team
Archery – Men's team tại Đại hội Thể thao Liên châu Mỹ 2015 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Địa điểm | Varsity Stadium | |||||||||
Các ngày | July 14–17 | |||||||||
Vận động viên | 21 từ 7 quốc gia | |||||||||
Danh sách huy chương | ||||||||||
| ||||||||||
{{Infobox Pan American Games event
| event = Archery – Men's team
| games = 2015
| image = Archery pictogram.svg
| image_size = 80px
| caption =
| venue = [[Varsity Stadium]]
| dates = July 14–17
| competitors = 21
| nations = 7
| win_value =
| win_label = Winning score
| gold = {{ubl|[[Juan René Serrano]] |[[Ernesto Horacio Boardman]]|[[Luis Álvarez (archer)|Luis Álvarez]]}}
| goldNOC = MEX
| silver = {{ubl|[[Zach Garrett]] |[[Brady Ellison]]|[[Collin Klimitchek]]}}
| silverNOC = USA
| bronze = {{ubl|[[Marcus Vinicius D'Almeida]]|[[Bernardo Oliveira]]|[[Daniel Xavier]]}}
| bronzeNOC = BRA
| prev = [[Archery at the 2011 Pan American Games – Men's team|2011]]
| next =
}}
Microformat sửa
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.
Tracking category sửa
Xem thêm sửa
- {{Infobox sports competition event}}
- {{Infobox Olympic event}}
- {{Infobox Commonwealth Games event}}
- {{Infobox Southeast Asian Games event}}
- {{Infobox Asian Games event}}