ଛାଞ୍ଚ:IAAF name/doc
This is a documentation subpage for ଛାଞ୍ଚ:IAAF name. It may contain usage information, categories and other content that is not part of the original ଛାଞ୍ଚ page. |
This is a template to generate links to athletes' sports biographies at http://www.iaaf.org, intended for use in the "External links" section of athletes' respective articles. It is derived directly from Template:IMDb name, with virtually the same basic syntax and usage.
Usage
ସମ୍ପାଦନାThe IAAF name template has the following syntax:
{{IAAF name|id=XXX|name=John Doe}}
- The only mandatory parameter isthe first one, id. Replace XXX with the athlete's numerical id used by the IAAF database.
- The name parameter is optional. If not used, this defaults to the article title (any statements in parentheses will be removed, e.g. Jonathan Edwards (athlete) will appear as "Jonathan Edwards").
Example
ସମ୍ପାଦନାSuppose you'd like to link to an IAAF bio page on Carl Lewis using this template. To do that, it is necessary to obtain the id parameter, which is encoded in the page URL. The procedure is simple:
1) Go to http://www.iaaf.org/athletes
2) Find the athlete using the web page navigation (name and/or country).
3) When you find Carl Lewis, his profile's URL will look something like this:
http://www.iaaf.org/athletes/united-states/carl-lewis-1622
The number at the end of the url is the athlete's id (in this case, 1622)
4) Edit the article and insert the following text (assuming you are adding the link to the External links section):
*{{IAAF name|1622}}
After saving the page, it is always a good idea to double check if the link you've created is correct by clicking on it.
Remarks
ସମ୍ପାଦନାThe IAAF database currently only covers athletes active from the 1980s to the present day; you won't find Emil Zatopek or Alberto Juantorena. Still, it is fairly comprehensive; all notable athletes are covered, along with many non-notable ones.