साँचा:Cricinfo/doc

मुक्त ज्ञानकोश विकिपीडिया से

साँचा: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.

साँचे के पैरामीटर्स

पैरामीटरविवरणप्रकारस्थिति
IDid

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

डिफ़ॉल्ट
संख्याआवश्यक
REFref

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

डिफ़ॉल्ट
स्ट्रिंगवैकल्पिक
NAMEname

Name of cricket player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (cricketer).

डिफ़ॉल्ट
{{PAGENAME}}
स्ट्रिंगवैकल्पिक

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[संपादित करें]