साँचा: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; see the monthly parameter usage report for this template.
TemplateData for 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