Ta̱mpi̱let:AthResult
| {{{1}}} | |{{{3}}} |{{{4}}} |
The AthResult template is for usage on athletics and track and field athlete biographies. It must be used in conjunction with the AchievementTable template to work properly.
AthResult is a semi-automated, non-intrusive method of quickly inserting a particular athlete's performance at a major competition. It must always be substituted to allow for easy future reading and editing, and to reduce template recall overheads.
Usage
[jhyuk a̱tyin ka]- See Template:AchievementTable for basic usage of that template
The basic usage of the template is as follows: {{subst:AthResult|YEAR|COMPETITION|LOCATION|RESULT|GENDER|EVENT}}
The information appears in the template in roughly the same order as it appears when placed on a page. Once the substituted template is saved on to a page, the resulting entry will automatically become plain text, matching entries done in the usual manual style.
Parameters
[jhyuk a̱tyin ka]A̱lyia̱
[jhyuk a̱tyin ka]- The first parameter is the year of the competition you want to add (e.g. 2012).
A̱yangka̱nan
[jhyuk a̱tyin ka]- The second parameter denotes the competition. There are limited number of specific codes which correspond to the competitions which may be added:
- Games
- OG = Summer Olympics
- UNI= Athletics at the Summer Universiade
- MWG= Track and field at the Military World Games
- AG= Athletics at the Asian Games
- AIG= Indoor athletics at the Asian Indoor Games
- AAG= Athletics at the All-Africa Games
- PAG= Athletics at the Pan American Games
- ARA= Athletics at the Pan Arab Games
- CWG= Athletics at the Commonwealth Games
- CACG= Athletics at the Central American and Caribbean Games
- EAG= Athletics at the East Asian Games
- SAG=Athletics at the South Asian Games
- SEAG=Athletics at the Southeast Asian Games
- LUG=Athletics at the Lusophony Games
- GWG=Athletics at the Goodwill Games
- JF=Athletics at the Jeux de la Francophonie
- MG=Athletics at the Mediterranean Games
- BG=Athletics at the Bolivarian Games
- CAG=Athletics at the Central American Games
- SAMG=Athletics at the South American Games
- PACG=Athletics at the Pacific Games
- PACMG=Athletics at the Pacific Mini Games
- SPG=Athletics at the Pacific Games
- SPMG=Athletics at the South Pacific Mini Games
- MICG=Athletics at the Micronesian Games
- ALBA=Athletics at the ALBA Games
- Ta̱mpi̱let:Col-4
- Track and field championships
- WC= World Athletics Championships
- WIC= World Athletics Indoor Championships
- AFC=African Championships in Athletics
- ASC=Asian Athletics Championships
- AIC=Asian Indoor Athletics Championships
- CACC=CAC Championships
- EC=European Athletics Championships
- EIC=European Athletics Indoor Championships
- ETC=European Team Championships
- SAC=South American Championships in Athletics
- CAMC=Central American Championships
- OAC=Oceania Championships
- IBC=Ibero-American Championships in Athletics
- Road and XC championships
- WXC= World Athletics Cross Country Championships
- AFXC=African Cross Country Championships
- ASXC=Asian Cross Country Championships
- EXC=European Cross Country Championships
- WRW= World Athletics Race Walking Team Championships
- ERW=European Race Walking Cup
- PARW=Pan American Race Walking Cup
- SAXC=South American Cross Country Championships
- SARW=South American Race Walking Cup
- WHM= World Half Marathon Championships
- Age category
- WJC= World Junior Championships in Athletics
- WYC= World Youth Championships in Athletics
- AFJC=African Junior Athletics Championships
- ASJC=Asian Junior Athletics Championships
- CAR=CARIFTA Games
- CARJ=CARIFTA Games (U-20)
- CARY=CARIFTA Games (U-17)
- CACJC=CAC Junior Championships (U-20)
- CACYC=CAC Junior Championships (U-17)
- EU23= European Athletics U23 Championships
- EJC= European Athletics Junior Championships
- NAU23= NACAC Under-23 Championships in Athletics
- PAJC= Pan American Junior Athletics Championships
- SAU23=South American Under-23 Championships in Athletics
- SAJC= South American Junior Championships in Athletics
- SAYC= South American Youth Championships in Athletics
- OAJC= Oceania Junior Championships
- OAYC= Oceania Youth Championships
- WMAO= World Masters Outdoor Athletics Championships
- WMAI= World Masters Indoor Athletics Championships
A̱vwuo
[jhyuk a̱tyin ka]The third parameter denotes the location of the competition. Typical usage is to link the host city followed by its country unlinked (e.g. [[Berlin]], Germany).
Result
[jhyuk a̱tyin ka]The fourth parameter corresponds to the finishing position of the athlete at that event (e.g. 1st, 2nd, 9th). Medal colours are automatically added. Qualifying statements may also be added if desired, for example, "20th (heats)".
Gender
[jhyuk a̱tyin ka]The fifth parameter denotes the gender of the competition in which the athlete is competing: either Men or Women. This parameter is used to generate links to event result articles when they are present.
Event
[jhyuk a̱tyin ka]The sixth parameter denotes the specific athletic event in which the athlete is competing (e.g. 100 metres, shot put, decathlon, marathon). This should not be linked.
Example
[jhyuk a̱tyin ka]The code listed below will produce the following table. The first entry demonstrates how to insert notes alongside the template. The Olympic and European entries demonstrate how event result articles are automatically linked. The Asian Games entry links to the larger "Athletics Results" page.
{| {{AchievementTable|Event=yes}} |- {{subst:AthResult|2003|MWG|[[Catania]], Italy|1st|Women|10,000 metres}} |33:42.10 |- {{subst:AthResult|2004|OG|[[Athens]], Greece|2nd|Men|Discus throw}} |- {{subst:AthResult|2006|IBC|[[Ponce, Puerto Rico]]|3rd|Women|100 metres}} |- {{subst:AthResult|2010|AG|[[Beijing]], China|4th|Men|Javelin throw}} |- {{subst:AthResult|2011|EIC|[[Paris]], France|5th|Women|3000 metres}} |}
A̱lyia̱ | A̱yangka̱nan | A̱vwuo | Shi | Nyia̱ | A̱kyokyuat nkhang |
---|---|---|---|---|---|
2003 | Military World Games | Catania, Italy | 1st | 10,000 metres | 33:42.10 |
2004 | Olympic Games | Athens, Greece | 2nd | Discus throw | |
2006 | Ibero-American Championships | Ponce, Puerto Rico | 3rd | 100 metres | |
2010 | Asian Games | Beijing, China | 4th | Javelin throw | |
2011 | European Indoor Championships | Paris, France | 5th | 3000 metres |
Fixing rowspan issues
[jhyuk a̱tyin ka]If several entries refer to the same year then the rowspan parameter can be used. If omitted this defaults to 1 and will enter the year for a single line as normal. For example, the following code produces the following result:
{| {{AchievementTable}} |- {{subst:AthResult|2000|OG|[[Sydney]], Australia|1st|Men|200 metres|rowspan=3}} |- {{subst:AthResult|2000|OG|[[Sydney]], Australia|1st|Men|400 metres|rowspan=0}} |- {{subst:AthResult|2000|OG|[[Sydney]], Australia|1st|Men|800 metres|rowspan=0}} |- {{subst:AthResult|2004|OG|[[Athens]], Greece|1st|Men|1500 metres}} |}
A̱lyia̱ | A̱yangka̱nan | A̱vwuo | Shi | A̱kyokyuat nkhang |
---|---|---|---|---|
2000 | Olympic Games | Sydney, Australia | 1st | 200 metres |
Olympic Games | Sydney, Australia | 1st | 400 metres | |
Olympic Games | Sydney, Australia | 1st | 800 metres | |
2004 | Olympic Games | Athens, Greece | 1st | 1500 metres |
Known issues
[jhyuk a̱tyin ka]- Where a table has both "Event" and "Notes" columns, notes can be manually added by placing them after a vertical bar "|" on the line below the AthResult code.
- For athletes who compete in just one event specifically (high jumpers for instance), this template will still generate the event name for each and every entry.