Šablon:Sports-reference/dok

Izvor: Vojna Enciklopedija
< Шаблон:Sports-referenceOvo je najnovija verzija ove stranice; nema odobrenih izmena.
Pređi na navigaciju Pređi na pretragu

Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted

Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permittedLua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted Šablon:Sports-reference displays an external link to an Olympic Games athlete profile at the Sports Reference web site (Sports-Reference.com).

Upotreba

The basic way to use the template is to insert this:

  • {{Sports-reference}}

If this results in an error, that means there is no Sports Reference statement for the item in Wikidata. If you would like, you can fix it; if you don't want to, you can use the optional backup parameter thusly:

  • {{Sports-reference|optional backup parameter}}

This parameter is the page's ID on the Sports Reference website (found in the URL). For Bjørn Dæhlie, that is da/bjorn-daehlie-1, from the URL: http://www.sports-reference.com/olympics/athletes/da/bjorn-daehlie-1.html

Do not use this template for references. For that, see {{Cite sports-reference}}.

TemplateData

Ovo je TemplateData dokumentacija za ovaj šablon, korišćena u Vizuelnom uređivaču i u drugim alatkama; pogledajte mesečni izveštaj o greškama za ovaj šablon.

TemplateData za Sports-reference

This template displays an external link to an Olympic Games athlete profile at the Sports Reference web site (Sports-Reference.com).

Parametri šablona

ParametarOpisVrstaStatus
ID1 id

ID portion of the URL for an athlete's Sports Reference web page. Example: ab/jeremy-abbott-2 is the ID portion of http://www.sports-reference/olympics/athletes/ab/jeremy-abbott-2.html

Podrazumevano
tekstobavezno

Primeri

Kada je ID unesen na Vikipodacima

Usage in the article Bjørn Dæhlie:

  • {{Sports-reference}}

Output:

Kada ID nije unesen na Vikipodacima

Usage in the article Paul Elvstrøm:

  • {{Sports-reference|el/paul-elvstrom-1}}

Output:

Dodavanje ID-a na Vikipodacima

  • Find the athlete's ID on the Sports Reference website. To do this, search for the athlete here, and look at the URL. The ID is everything between http://www.sports-reference.com/olympics/athletes/ and .html, so for Livio Berruti, the ID is be/livio-berruti-1.
  • In order to add this to Wikidata:
    1. Click "Wikidata item" under "Tools" to the left of the article.
    2. Go to the bottom of the section called "Statements" (just above the one called "Wikipedia pages linked to this item")
    3. Click the bottom-most link called "[add]"
    4. Type in "Sports Reference" in the first box that appears, and click "Sports Reference ID" in the dropdown that appears
    5. In the next box, paste the ID (be/livio-berruti-1 in the example above) and press enter
    6. You're done! If you go back to the article and refresh it (maybe try to purge the page by adding ?action=purge at the end of the URL), the link should work properly.
  • If you find this process too cumbersome, you are always free to use the optional backup parameter instead.

Kategorija za praćenje

Vidi još