টেমপ্লেট:স্পোর্টস-রেফারেন্স
- স্পোর্টস রেফারেন্স আইডি (P1447) (আলোচনা দেখুন; ব্যবহার)
- স্পোর্টস রেফারেন্স আইডি (P1447) (আলোচনা দেখুন; ব্যবহার)
ব্যবহৃত লুয়া: |
টেমপ্লেট:স্পোর্টস-রেফারেন্স displays an external link to an Olympic athlete's profile at Olympics at Sports-Reference.com, also known as SR/Olympics. It is intended for use in the external links section of an article.
The link is archived since the Sports Reference Olympic site closed on 14 May 2020. The web archive defaults to Memento Project which searches multiple sites to find an archived link. The archive date defaults to 4 December 2016 because pages after that display incorrect output for extended characters. A specific archive at the Wayback Machine may be specified via the |archive=
parameter.
ব্যবহারবিধি
[সম্পাদনা]The basic way to use the template is to insert this:
* {{স্পোর্টস-রেফারেন্স}}
If this results in an error, that means the article's Wikidata item does not have the property স্পোর্টস রেফারেন্স আইডি (P1447). To resolve this, either add the "id" in Wikidata or use the optional "id" parameter in the template. For example, da/bjorn-daehlie-1 is the "id" portion of the URL https://www.sports-reference.com/olympics/athletes/da/bjorn-daehlie-1.html.
* {{স্পোর্টস-রেফারেন্স|ID}}
* {{স্পোর্টস-রেফারেন্স|id=ID}}
The link text defaults to the Wikipedia article name, without any disambiguation such as "(athlete)". The default text can be changed via the optional "name" parameter. This may be useful when adding the template more than once (to differentiate the links) or when the article name is different than the athlete's name at Sports-Reference.com.
* {{স্পোর্টস-রেফারেন্স|ID|NAME}}
* {{স্পোর্টস-রেফারেন্স|id=ID|name=NAME}}
উদাহরণ
[সম্পাদনা]ID in template
[সম্পাদনা]Usage in the article Jeremy Abbott, with article name as link text:
* {{স্পোর্টস-রেফারেন্স | ab/jeremy-abbott-2 }}
* {{স্পোর্টস-রেফারেন্স | id= ab/jeremy-abbott-2 | archive= 20161202194710 }}
Usage with name parameter as link text:
* {{স্পোর্টস-রেফারেন্স | ab/jeremy-abbott-2 | Jeremy Abbott }}
* {{স্পোর্টস-রেফারেন্স | id= ab/jeremy-abbott-2 | name= Jeremy Abbott | archive= 20161202194710 }}
Output:
URL:
- https://www.sports-reference.com/olympics/athletes/ab/jeremy-abbott-2.html
ID in Wikidata
[সম্পাদনা]Usage in the article Bjørn Dæhlie:
* {{স্পোর্টস-রেফারেন্স}}
* {{স্পোর্টস-রেফারেন্স | name= Bjørn Dæhlie }}
Output:
URL:
- https://www.sports-reference.com/olympics/athletes/da/bjorn-daehlie-1.html
No ID in template or Wikidata
[সম্পাদনা]Usage:
* {{স্পোর্টস-রেফারেন্স}}
Output:
- উইকিউপাত্ত বা এই নিবন্ধে কোথাও স্পোর্টস রেফারেন্স ID উপস্থিত নেই!
Add ID in Wikidata
[সম্পাদনা]- 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
www.sports-reference.com/olympics/athletes/
and.html
, so forhttps://www.sports-reference.com/olympics/athletes/be/livio-berruti-1.html
, the ID isbe/livio-berruti-1
. - In order to add this to Wikidata:
- Click "Wikidata item" under "Tools" to the left of the article.
- Go to the bottom of the section called "Statements" (just above the one called "Wikipedia pages linked to this item")
- Click the bottom-most link called "[add]"
- Type in "Sports Reference" in the first box that appears, and click "Sports Reference ID" in the dropdown that appears
- In the next box, paste the ID (
be/livio-berruti-1
in the example above) and press enter - 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.
TemplateData
[সম্পাদনা]স্পোর্টস-রেফারেন্স শীর্ষ
This template displays an external link to an Olympic athlete's profile at Olympics at Sports-Reference.com, also known as SR/Olympics. It is intended for use in the external links section of an article.
প্যারামিটার | বিবরণ | ধরন | অবস্থা | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: ab/jeremy-abbott-2 is the ID portion of https://www.sports-reference.com/olympics/athletes/ab/jeremy-abbott-2.html This parameter is optional if Wikidata property P1447 exists, but required if not.
| স্ট্রিং | ঐচ্ছিক |
name | name 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)".
| স্ট্রিং | ঐচ্ছিক |
archive | archive | Number representing the date/time in an Internet Archive URL, such as 20161202194710 in https://web.archive.org/web/20161202194710/https://www.sports-reference.com/olympics/athletes/ab/jeremy-abbott-2.html. | সংখ্যা | ঐচ্ছিক |
Tracking categories
[সম্পাদনা]- ID parameter exists
- বিষয়শ্রেণী:Sports-Reference template with ID different from Wikidata (০)
- বিষয়শ্রেণী:Sports-Reference template with ID not in Wikidata (০)
- ID parameter does not exist
See also
[সম্পাদনা]- {{Cite sports-reference}}, for links used in a reference
Other Olympics templates
[সম্পাদনা]- {{Olympedia}}, for non-archived links to Olympedia.org (source for Olympics at Sports-Reference pages)
- {{Olympics.com profile}}, for links to an athlete's profile at the International Olympic Committee website
- বিষয়শ্রেণী:Olympics external link templates (৪)
Other Sports Reference templates
[সম্পাদনা]- {{Baseballstats}} and {{Baseball-reference manager}} for links at Baseball-Reference.com
- {{Basketballstats}} and {{Basketball-Reference NBA Recap}} for links at Basketball-Reference.com
- {{Ice hockey stats}} and {{Hockey-reference}} for links at Hockey-Reference.com
- {{Footballstats}} for links at Pro-Football-Reference.com
- {{FBref player}} for links at FBref.com
- উইকিউপাত্ত থেকে উপাত্ত ব্যবহারকৃত টেমপ্লেট
- টেমপ্লেট উইকিউপাত্ত অনুসরণ করে
- লুয়া-ভিত্তিক টেমপ্লেট
- উইকিউপাত্তে স্পোর্টস রেফারেন্স নেই
- টেমপ্লেটডাটা নথি
- Olympics external link templates
- People and person external link templates
- Templates that add a tracking category
- External link templates using Wikidata
- External link templates with archive parameter