Jump to content

Template:ESPNcricinfo player entry/doc

From Wikipedia, the free encyclopedia

This template is used to provide a link to the ESPNcricinfo player database for a specified cricketer.

Usage

[edit]

Copy a blank version to use. Almost all parameter names are supported only in lower case (some initialisms, such as |isbn= have upper-case aliases like |ISBN=, which are acceptable for use). Use the "|" (pipe) character between each parameter. Unused parameters may be deleted to avoid clutter in the edit window. Some samples on this documentation page may include the current date. If the date is not current, then purge the page.

Most commonly used parameters in horizontal format
{{ESPNcricinfo player entry |ID= |playername= |access-date= }}

Required parameter

[edit]
  • ID: the player's identifier from the database (the number XXXXX listed http://www.espncricinfo.com/ci/content/player/XXXXX).

Optional parameters

[edit]

Additional information for the title:

  • playername: The cricketer's name.
  • access-date: The date a Wikipedia editor retrieved information from ESPNcricinfo.
  • mode: Defaults to |mode=cs1; set to |mode=cs2 to provide consistency with Citation style 2, as produced by {{Citation}}.
  • postscript: Controls the closing punctuation for the citation. Defaults to a period (.); for no terminating punctuation set to |postscript=none, however using |mode=cs2 does this automatically.
  • fewer-links: Use |fewer-links=yes to remove repeated links where the template is used more than once in an article.

Examples

[edit]

{{ESPNcricinfo player entry |ID=16956}} displays as:

"Details from player profile (16956)". ESPNcricinfo. ESPN.

{{ESPNcricinfo player entry |ID=16956 |playername=Peter May}} displays as:

"Player profile: Peter May". ESPNcricinfo. ESPN.

{{ESPNcricinfo player entry |ID=16956 |playername=Peter May |access-date=13 November 2024}} displays as:

"Player profile: Peter May". ESPNcricinfo. ESPN. Retrieved 13 November 2024.

{{ESPNcricinfo player entry |ID=16956 |playername=Peter May |fewer-links=yes |access-date=13 November 2024}} displays as:

"Player profile: Peter May". ESPNcricinfo. ESPN. Retrieved 13 November 2024.

{{ESPNcricinfo player entry |ID=16956 |playername=Peter May |access-date=13 November 2024 |mode=cs2}} displays as:

"Player profile: Peter May", ESPNcricinfo, ESPN, retrieved 13 November 2024