टेम्पलेट: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[संपादन करीं]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Cricinfo

This template displays an external link to an ESPN Cricinfo web page for a cricket player.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
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

Default
Numberrequired
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

Default
Stringoptional
NAMEname

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

Default
{{PAGENAME}}
Stringoptional

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[संपादन करीं]