Template:ESPNcricinfo player entry/doc
This is a documentation subpage for Template:ESPNcricinfo player entry. It contains usage information, categories and other content that is not part of the original template page. |
This template is used to provide a link to the ESPNcricinfo player database for a specified cricketer.
Usage
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 Script error: No such module "Purge". the page.
|
Required parameter
- ID: the player's identifier from the database (the number XXXXX listed
http://www.espncricinfo.com/ci/content/player/XXXXX
).
Optional parameters
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
{{ESPNcricinfo player entry |ID=16956}}
displays as:
{{ESPNcricinfo player entry |ID=16956 |playername=Peter May}}
displays as:
{{ESPNcricinfo player entry |ID=16956 |playername=Peter May |access-date=12 August 2023}}
displays as:
- "Player profile: Peter May". ESPNcricinfo. ESPN. Retrieved 12 August 2023.
{{ESPNcricinfo player entry |ID=16956 |playername=Peter May |fewer-links=yes |access-date=12 August 2023}}
displays as:
- "Player profile: Peter May". ESPNcricinfo. ESPN. Retrieved 12 August 2023.
{{ESPNcricinfo player entry |ID=16956 |playername=Peter May |access-date=12 August 2023 |mode=cs2}}
displays as:
- "Player profile: Peter May", ESPNcricinfo, ESPN, retrieved 12 August 2023