ढाँचा:Cricinfo/doc

स्वतन्त्र विश्वकोश, नेपाली विकिपिडियाबाट
Jump to navigation Jump to search

ढाँचा: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 error report for this template.

TemplateData for Cricinfo

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

Template parameters

Parameterविवरणप्रकारस्थिति
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

पूर्वनिर्धारित
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

पूर्वनिर्धारित
Stringवैकल्पिक
NAMEname

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

पूर्वनिर्धारित
{{PAGENAME}}
Stringवैकल्पिक

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[सम्पादन गर्ने]