সাঁচ:ESPNcricinfo/doc
এয়া হৈছে ‘সাঁচ:ESPNcricinfo’ শীৰ্ষক সাঁচটোৰ নথিকৰণৰ উপপৃষ্ঠা। ইয়াত সাঁচটো ব্যৱহাৰৰ তথ্য, শ্ৰেণীসমূহ, আন্তঃৱিকি সংযোগবোৰ আৰু অন্য সমল থাকে, যিবোৰ মূল সাঁচ পৃষ্ঠাটোৰ অংশ নহয়। |
This template uses the Wikidata property:
|
This template tracks the Wikidata property: |
এই সাঁচে লুৱা ব্যৱহাৰ কৰে: |
সাঁচ:ESPNcricinfo displays an external link to an ESPNcricinfo web page. Links to cricket player profiles are created with the "id" parameter and links to other pages are created with the "ref" parameter. It is intended for use in the external links section of an article.
For players, the "id" value should be added to the সাঁচ:Wpl property in Wikidata. Then, if the "id" or "ref" parameters are not specified, the template will retrieve the id from Wikidata. Discrepancies between a specified "id" parameter and the Wikidata property are reported at Category:Cricinfo maintenance.
Usage
সম্পাদনা কৰকUsing "id" from Wikidata:
{{ESPNcricinfo}}
{{ESPNcricinfo | name= NAME }}
{{ESPNcricinfo | name= NAME | accessdate= DATE }}
Using "id" parameter:
{{ESPNcricinfo | id= ID }}
{{ESPNcricinfo | id= ID | name= NAME }}
{{ESPNcricinfo | id= ID | name= NAME | accessdate= DATE }}
Using "ref" parameter:
{{ESPNcricinfo | ref= REF }}
{{ESPNcricinfo | ref= REF | name= NAME }}
{{ESPNcricinfo | ref= REF | name= NAME | accessdate= DATE }}
Examples
সম্পাদনা কৰকUsing "id" from Wikidata
সম্পাদনা কৰকThe Wikidata examples are simulated, they only work as shown if used in the Sachin Tendulkar article.
Usage:
{{ESPNcricinfo}}
- Sachin Tendulkarৰ বিষয়ে ইএছপিএন ক্ৰিকইনফ'ত থকা তথ্য।
Usage with accessdate parameter:
{{ESPNcricinfo | accessdate= 25 February 2017 }}
- "Sachin Tendulkarৰ". ESPNcricinfo. Retrieved 25 February 2017.
Using "id" parameter
সম্পাদনা কৰকURL:
Usage:
{{ESPNcricinfo | id= 35320 | name= Sachin Tendulkar }}
- Sachin Tendulkarৰ বিষয়ে ইএছপিএন ক্ৰিকইনফ'ত থকা তথ্য।
Usage with accessdate parameter:
{{ESPNcricinfo | id= 35320 | name= Sachin Tendulkar | accessdate= 25 February 2017 }}
- "Sachin Tendulkarৰ". ESPNcricinfo. Retrieved 25 February 2017.
Using "ref" parameter
সম্পাদনা কৰকURL:
Usage:
{{ESPNcricinfo | ref= pakistan/content/ground/59011 | name= Zafar Ali Stadium }}
- Zafar Ali Stadiumৰ বিষয়ে ইএছপিএন ক্ৰিকইনফ'ত থকা তথ্য।
Usage with ".html" in ref parameter:
{{ESPNcricinfo | ref= pakistan/content/ground/59011.html | name= Zafar Ali Stadium }}
- Zafar Ali Stadiumৰ বিষয়ে ইএছপিএন ক্ৰিকইনফ'ত থকা তথ্য।
Usage with accessdate parameter:
{{ESPNcricinfo | ref= pakistan/content/ground/59011 | name= Zafar Ali Stadium | accessdate= 25 February 2017 }}
- "Zafar Ali Stadiumৰ". ESPNcricinfo. Retrieved 25 February 2017.
TemplateData
সম্পাদনা কৰকSee the monthly error report for this template.
TemplateData for ESPNcricinfo
This template displays an external link to an ESPNcricinfo web page. Links to cricket player profiles are created with the "id" parameter and links to other pages are created with the "ref" parameter. If "id" and "ref" parameters are omitted, the value stored in Wikidata is used. It is intended for use in the external links section of an article.
পেৰামিটাৰ | বিৱৰণ | প্ৰকাৰ | স্থিতি | |
---|---|---|---|---|
id | id | The "id" parameter should contain the ID number in the URL for the player's profile. Example: 35320 is the "id" in http://www.espncricinfo.com/ci/content/player/35320.html. It is required when not using the "ref" parameter or the Wikidata property.
| সংখ্যা | ঐচ্ছিক |
ref | ref | The "ref" parameter is optional and only used when the player "id" is not specified. If used, it should contain the portion of the URL between "http://www.espncricinfo.com/" and ".html". Example: pakistan/content/ground/59011 is the "ref" portion of http://www.espncricinfo.com/pakistan/content/ground/59011.html. It is required when not using the "id" parameter or the Wikidata property. | ষ্ট্ৰিং | ঐচ্ছিক |
name | name | The "name" parameter may be used to specify the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(cricketer)".
| ষ্ট্ৰিং | ঐচ্ছিক |
accessdate | accessdate | The "accessdate" parameter may be used to document the date when the link was accessed or retrieved. This parameter is optional. | তাৰিখ | ঐচ্ছিক |
check-wikidata | check-wikidata | Set "check-wikidata=no" to prevent the template comparing the provided id or ref value against the value from wikidata. Use mainly when this template is used on list, place or other people's articles.
| ষ্ট্ৰিং | ঐচ্ছিক |
Tracking category
সম্পাদনা কৰক- Category:Cricinfo maintenance (0) – handles multiple maintenance issues using category sort keys:
1
: pages using template with unnamed parameter 12
: pages using template with unnamed parameter 2Diff
: pages using template with "id" number different than number in Wikidata propertyMissingID
: pages using template with "id" or "ref" missing and Wikidata property does not exist
See also
সম্পাদনা কৰক{{Cricketarchive}}
, which uses a similar format{{Yahoo! Cricket}}
, which uses a similar format
Other ESPN external link templates: