قالب:Cricinfo
Player profile: {{{name}}} from ESPNcricinfo
قالب: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
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
| The above documentation is transcluded from قالب:Cricinfo/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |