قالب:Cricinfo/doc
| هذه صفحة توثيق فرعية لـ قالب:Cricinfo. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
قالب:Cricinfo displays an external link to an ESPN Cricinfo web page for a cricket player.
Usage
Using "id" parameter
{{Cricinfo|id=ID}}{{Cricinfo|id=ID|name=NAME}}
Using "ref" parameter
{{Cricinfo|ref=REF}}{{Cricinfo|ref=REF|name=NAME}}
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Cricinfo
This template displays an external link to an ESPN Cricinfo web page for a cricket player.
| وسيط | وصف | نوع | حالة | |
|---|---|---|---|---|
| ID | id | ID number in URL of a player's ESPN Cricinfo web page. Example: 39343 is the ID portion of http://www.espncricinfo.com/ci/content/player/39343.html
| رقم | مطلوب |
| REF | ref | Portion of URL specific to a player's ESPN Cricinfo web page (everything between http://www.espncricinfo.com/ and .html). Not required if ID is specified. Examples: ci/content/player/39343 OR pakistan/content/player/39343
| نص | اختياري |
| NAME | name | Name of cricket player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (cricketer).
| نص | اختياري |
Examples
Using "id" parameter
Usage:
{{Cricinfo |id= 39343 |name= Abdul Aziz }}
Output:
URL:
Using "ref" parameter
Usage:
{{Cricinfo |ref= pakistan/content/player/39343 |name= Abdul Aziz }}
Output:
URL:
See also
{{Cricketarchive}}, which uses a similar format{{Yahoo! Cricket}}, which uses a similar format