WikiProject iconCricket Template‑class
WikiProject iconThis template is part of WikiProject Cricket which aims to expand and organise information better in articles related to the sport of cricket. Please participate by visiting the project and talk pages for more details.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
WikiProject Cricket To-do list:
Article assessment
Verifiability
Cleanup
Infoboxes
Cricket people
Cricket teams & countries
Images
On this day in cricket
Umpires
Women
Update
Other

Using WikiData edit

I have modified the Template:Cricinfo/sandbox to use, and check, the wikidata item. At the moment, it still uses the ID or ref field if it is set in the template, so for most articles there is absolutely no change. However, in the future, you could just use {{Cricinfo}} without any parameters and it will retrieve and use the ESPNcricinfo player ID parameter from WikiData. I've also expanded the Category:Cricinfo maintenance to capture if the specified id or ref is different to the WikiData property, and if the WikiData property is missing. Because it needs a live WikiData item link to work, I've trialed the use of the parameter-less sandbox template in Tim Zoehrer, as well as checking that the id and ref versions also both work. I'll wait a day or two to see if there are any issues, and then I'll integrate it into the main template. If any experienced template editors think it's OK to go now, then I'm happy for them to do the edit. The-Pope (talk) 09:27, 12 March 2017 (UTC)Reply

  Done & Tim Zoehrer reverted to {{Cricinfo}}. Please update the documentation. Cabayi (talk) 14:25, 13 March 2017 (UTC)Reply

Access-date edit

Following the deprecation of non-hyphenated parameter names and their ongoing replacement, this template should also allow |access-date=. Further, couldn't this template be rewritten as a wrapper for {{Cite web}}? -- Michael Bednarek (talk) 11:23, 23 January 2021 (UTC)Reply

  Done And yes, a {{cite web}} wrapper would probably make sense, if someone wants to write that. ProcrastinatingReader (talk) 13:06, 23 January 2021 (UTC)Reply

Template-protected edit request on 27 October 2021 edit

Change ci/content/player to /player. Eg. https://www.espncricinfo.com/ci/content/player/bangalore-jaya-ram-29758 to https://www.espncricinfo.com/player/bangalore-jaya-ram-29758 Chanaka L (talk) 06:57, 27 October 2021 (UTC)Reply

  Not done There seem to be two different styles of ID, one that is all-numeric and works with the "ci/content/player" URLs, and one that contains the player's name and works with the /player URLs. Instead of switching this template from one form to the other and breaking uses, I've updated B. Jayaram to use the all-numeric form and it's URL (https://www.espncricinfo.com/ci/content/player/29758.html) now works. * Pppery * it has begun... 23:55, 27 October 2021 (UTC)Reply