टेम्पलेट:Cricinfo/doc
| This is a documentation subpage for टेम्पलेट:Terminate sentence It may contain usage information, categories and other content that is not part of the original टेम्पलेट page. |
टेम्पलेट: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
[संपादन करीं]TemplateData for Cricinfo
This template displays an external link to an ESPN Cricinfo web page for a cricket player.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 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
| Number | required |
| 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
| String | optional |
| NAME | name | Name of cricket player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (cricketer).
| String | optional |
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- Category:Cricinfo maintenance (hidden tracking/maintenance category)