ഫലകം:IAAF name

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.
Jump to navigation Jump to search

{{{name}}} profile at IAAF

[തിരുത്തുക] [പുതുക്കുക] ഫലകത്തിന്റെ വിവരണം

ഫലകം:IAAF name displays an external link to an athlete's profile at IAAF.org, the official website of the International Association of Athletics Federations. It is intended for use in the external links section of an article.

Usage[തിരുത്തുക]

Unnamed parameters:

{{IAAF name | ID }}
{{IAAF name | ID | NAME }}

Named parameters:

{{IAAF name | id= ID }}
{{IAAF name | id= ID | name= NAME }}

Using Wikidata property P1146:

{{IAAF name}}
{{IAAF name | name= NAME }}

Simplified usage with Wikidata[തിരുത്തുക]

The two pieces of information in this template can be automatically populated.

  1. The id can be fed automatically from Wikidata if the ID field is left empty.
    • If an IAAF ID has not yet been added to the athlete's Wikidata: Click "WikiData Item" under Tools on the left menu. Under "Statements" on the Wikidata page click add and type in IAAF ID. Enter the ID and save. This ID can now be automatically used across all Wikipedia's languages.
    • After the IAAF ID has been added to the athlete's Wikidata, placing {{IAAF name}} in the athlete's Wikipedia article will generate the link successfully.
  2. The name will be automatically generated from the page title. Any disambiguation handles (e.g. Michael Johnson (sprinter)) will be stripped from the name automatically.

How to find the "id" number[തിരുത്തുക]

To find an athlete's IAAF profile and "id" number:

  1. Go to http://www.iaaf.org/athletes
  2. Find the athlete using the web page navigation (name and/or country).
  3. The URL of the athlete's profile 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 "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}}
  5. Before saving the page, it is always a good idea to double check if the link you've created is correct by clicking on it.

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.

Examples[തിരുത്തുക]

Unnamed parameters[തിരുത്തുക]

URLs:

http://www.iaaf.org/athletes/biographies/athcode=1622
http://www.iaaf.org/athletes/united-states/carl-lewis-1622

Usage:

{{IAAF name | 1622 | Carl Lewis }}

Output:

Carl Lewis profile at IAAF

Named parameters[തിരുത്തുക]

URLs:

http://www.iaaf.org/athletes/biographies/athcode=773
http://www.iaaf.org/athletes/great-britain-ni/jonathan-edwards-773

Usage:

{{IAAF name |id= 773 |name= Jonathan Edwards }}

Output:

Jonathan Edwards profile at IAAF

TemplateData[തിരുത്തുക]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for IAAF name

This template displays an external link to an athlete's profile at IAAF.org, the official website of the International Association of Athletics Federations. It is intended for use in the external links section of an article.

ഫലകത്തിനുള്ള ചരങ്ങൾ

ചരംവിവരണംതരംസ്ഥിതി
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 1622 is the ID portion of http://www.iaaf.org/athletes/biographies/athcode=1622 or http://www.iaaf.org/athletes/united-states/carl-lewis-1622. This parameter is optional if Wikidata property P1146 exists, but required if not.

സ്വതേ
Wikidata property P1146
എണ്ണംഐച്ഛികം
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".

സ്വതേ
{{PAGENAMEBASE}}
പദംഐച്ഛികം

Tracking categories[തിരുത്തുക]

"id" parameter exists
"id" parameter missing and Wikidata property does not exist

"https://ml.wikipedia.org/w/index.php?title=ഫലകം:IAAF_name&oldid=2495331" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്