Difference between revisions of "Template:ESPNcricinfo player entry/doc"
imported>Nitesh Goud (→Usage: All Rounder package Nitesh belong to be a poor family His father death in 2003 then he is only 5 year old. Good person Everything help them Right arm Leg spin bowler and Good Batsman. He is birth on 14 October 1998. He is big fan of Rohit Sharam) |
imported>NicoScribe (Undid revision 923453111 by Nitesh Goud (talk) ?) |
||
| Line 8: | Line 8: | ||
{{csdoc|usage}} | {{csdoc|usage}} | ||
{{csdoc|usage common}} | {{csdoc|usage common}} | ||
| − | :<code><nowiki>{{ESPNcricinfo player entry |ID= | + | :<code><nowiki>{{ESPNcricinfo player entry |ID= |playername= |access-date= }}</nowiki></code> |
{{end}} | {{end}} | ||
===Required parameter=== | ===Required parameter=== | ||
| − | *'''ID''': the player's identifier from the database (the number | + | *'''ID''': the player's identifier from the database (the number XXXXX listed <code><nowiki>http://www.espncricinfo.com/ci/content/player/XXXXX</nowiki></code>). |
===Optional parameters=== | ===Optional parameters=== | ||
Additional information for the title: | Additional information for the title: | ||
| − | *'''playername''': | + | *'''playername''': The cricketer's name. |
*'''access-date''': The date a Wikipedia editor retrieved information from ESPNcricinfo. | *'''access-date''': The date a Wikipedia editor retrieved information from ESPNcricinfo. | ||
*'''mode''': Defaults to {{para|mode|cs1}}; set to {{para|mode|cs2}} to provide consistency with [[Help:Citation Style 2|Citation style 2]], as produced by {{tlx|Citation}}. | *'''mode''': Defaults to {{para|mode|cs1}}; set to {{para|mode|cs2}} to provide consistency with [[Help:Citation Style 2|Citation style 2]], as produced by {{tlx|Citation}}. | ||
Revision as of 22:49, 28 October 2019
| 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=cs2to 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=cs2does this automatically. - fewer-links: Use
|fewer-links=yesto 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=8 April 2026}} displays as:
- "Player profile: Peter May". ESPNcricinfo. ESPN. Retrieved 8 April 2026.
{{ESPNcricinfo player entry |ID=16956 |playername=Peter May |fewer-links=yes |access-date=8 April 2026}} displays as:
- "Player profile: Peter May". ESPNcricinfo. ESPN. Retrieved 8 April 2026.
{{ESPNcricinfo player entry |ID=16956 |playername=Peter May |access-date=8 April 2026 |mode=cs2}} displays as:
- "Player profile: Peter May", ESPNcricinfo, ESPN, retrieved 8 April 2026