Template talk:Infobox Cricketer

From Wikipedia, the free encyclopedia

Contents

[edit] Syntax

Example:

{{Infobox Cricketer |
  flag = England_flag_large.png |
  nationality = English |
  country = England |
  country abbrev = Eng |
  name = Brian Close |
  picture = Brian Close - Small pic.jpg |
  batting style = Left-handed batsman (LHB) |
  bowling style = Right-arm off break/medium pace|
  oversORballs = overs|
  tests = 22 |
  test runs = 887 |
  test bat avg = 25.34 |
  test 100s/50s = 0/4 |
  test top score = 70 |
  test overs = 202 |
  test wickets = 18 |
  test bowl avg = 29.55 |
  test 5s = 0 |
  test 10s = 0 |
  test best bowling = 4/35 |
  test catches/stumpings = 24/0 |
  ODIs = 3 |
  ODI runs = 49 |
  ODI bat avg = 16.33 |
  ODI 100s/50s = 0/0 |
  ODI top score = 43 |
  ODI overs = 3 |
  ODI wickets = 0 |
  ODI bowl avg = n/a |
  ODI 5s = 0 |
  ODI best bowling = n/a |
  ODI catches/stumpings = 1/0 |
  date = 13 July |
  year = 1976 |
  source = http://www.cricinfo.com/link_to_database/PLAYERS/ENG/C/CLOSE_DB_01000858/
}}

[edit] Changing this box changes all cricketers!

I just reverted a change from user 61.3.237.20 which added "bowling economy" to the template.

I'd just like to emphasise that you can't edit the template without also editing all the cricketers who use it. In this case, the user added bowling economy stats to Sachin Tendulkar, but left an ugly mess on all other cricketers.

It's also probably not a good idea to add more stats to the template. It's meant to be a quick summary. If we listed every interesting stat about every cricketer, it would soon become unwieldy.

It's probably best if changes to the template are discussed on Wikipedia_talk:WikiProject_Cricket before being implemented.

Maybe this sounds very prescriptive. It's not meant to be. We all value everyone's contributions. But there are certain common mistakes that people make, which have to be reverted, and that doesn't help anyone.

Thanks. Stephen Turner 09:02, 28 Mar 2005 (UTC)

Seeing as changes to the template are made infrequently and by people by know what their doing, the "edit this template" link was removed, especially now MediaWiki lists all the templates when you edit a page. I have removed the warning comment as it was forcing a line-break, and isn't really necessary now the edit link is gone. ed g2stalk 23:42, 11 August 2005 (UTC)

[edit] Overs or Balls bowled

I've added the option of choosing whether you want to display Overs bowled or Balls bowled in the infobox. This is because Cricinfo shows balls bowled for cricketers who bowled both 8- and 6-ball overs during their career. To use this option, type either

oversORballs=overs|

or

oversORballs=balls|

If the parameter is not included (on all articles created before this change), the template will default to overs. Note that the parameters Test overs and ODI overs are still named the same no matter whether you choose balls or overs - to reduce workload due to the change. AlbinoMonkey (Talk) 05:17, 3 January 2006 (UTC)

Great! I used it in Mudassar Nazar. Stephen Turner (Talk) 17:22, 7 January 2006 (UTC)

The switch template which was used to add this functionality is one of the meta-templates which are actively being removed to reduce server load issues. To avoid having this template break when 'switch' gets deleted I changed the way it works. The functionality is exactly the same, but instead of using 'oversORballs=balls|' to set that option you should use 'balls=true|'. I made this change for all existing uses of the template. For 'overs' you can continue just not setting the parameter at all and it will default to that form. --CBD 13:17, 15 January 2006 (UTC)

Why does this template use "test overs" and "ODI overs" when it is actually referring to balls in every case. I have never myself heard of cricket statistics which emphasise overs, everyone talks about balls. Ansell 22:30, 5 December 2006 (UTC)

[edit] Name

The name on the top of the box is not fully aligned to the left. It starts with a space. That looks awkward to me. Is there any way to fix it? - Ganeshk (talk) 00:06, 7 February 2006 (UTC)

[edit] ICC ranking of player

I feel the current ICC ranking of the player in tests and ODI should also find a mention in this infobox. Idleguy 14:46, 20 February 2006 (UTC)

Personally, I am reluctant to add any more fields to the box. I think it's already quite a lot of numbers, without four more (assuming you had batting and bowling rankings). And it doesn't work for retired players. (If we had to add another stat, I'd add ODI strike rate first). Stephen Turner (Talk) 15:24, 20 February 2006 (UTC)

[edit] Best bowling

It is unclear from the template whether "best bowling" refers to by innings or by match. If it were by innings, then it should say that, as it is in the "test" column. Ansell 22:45, 5 December 2006 (UTC)