قالب:Yahoo! Cricket/doc

قالب:Yahoo! Cricket displays an external link to a Yahoo! Cricket web page for a cricket player.

Usage

Using "id" parameter

  • {{Yahoo! Cricket|id=ID}}
  • {{Yahoo! Cricket|id=ID|name=NAME}}

Using "ref" parameter

  • {{Yahoo! Cricket|ref=REF}}
  • {{Yahoo! Cricket|ref=REF|name=NAME}}

TemplateData

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

Yahoo! Cricket

This template displays an external link to a Yahoo! Cricket web page for a cricket player.

وسائط القالب

وسيطوصفنوعحالة
IDid

ID number in URL of a player's Yahoo! Cricket web page. Example: 2962 is the ID number in http://cricket.yahoo.com/cricket/profile/player-profile?pid=2962

غيابي
رقممطلوب
REFref

Portion of URL specific to a player's Yahoo! Cricket web page (currently everything after http://cricket.yahoo.com/). Not required if ID is specified. Examples: player-profile/Sachin-Tendulkar_2962 OR cricket/profile/player-profile?pid=2962

غيابي
نصاختياري
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

URL:

Usage:

  • {{Yahoo! Cricket |id= 2962 |name= Sachin Tendulkar }}

Output:

Using "ref" parameter

URL:

Usage:

  • {{Yahoo! Cricket |ref= player-profile/Sachin-Tendulkar_2962 |name= Sachin Tendulkar }}

Output:

See also