Template talk:Infobox cricket team

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Cricket (Rated Template-class)
WikiProject icon This 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.
 Template  This template does not require a rating on the project's quality scale.
 

Not used?[edit]

Apparently this infobox is not used by any article. Probably because it fails to serve most needs. nafSadh did say 01:48, 24 April 2015 (UTC)

lol, Special:WhatLinksHere/Template:Infobox cricket team. Frietjes (talk) 18:07, 26 April 2015 (UTC)

Team debuts[edit]

This infobox has sections for a team's first-class debut. What is to be done about teams that are not first-class but which use this infobox, i.e. the World Series Cricket teams, or the IPL and Big Bash teams? 92.2.40.191 (talk) 21:28, 7 May 2016 (UTC)

Club professional[edit]

I've added a 'club professional' field, which will be useful for English League clubs, please check I have done this correctly Vauxhall Bridgefoot (talk) 14:14, 18 July 2016 (UTC)

2st kit[edit]

The bottom of the template's infobox says "1st kit 2st kit 3st kit". Shouldn't it be "1st kit 2nd kit 3rd kit", with normal English ordinal numbers? The feature isn't used much in articles, but I found "2st kit" at Victoria cricket team. I'm reluctant to fix cricket articles ever since I made the mistake of fixing "an innings". Art LaPella (talk) 03:58, 23 July 2016 (UTC)

I fixed it anyway, after getting no response here. Art LaPella (talk) 03:08, 28 July 2016 (UTC)

Merger[edit]

This is a place to discuss the merger of this template with {{Infobox Test team}}, {{Infobox women's national cricket team}}, {{Infobox non Test cricket team}}. Primefac (talk) 13:38, 9 March 2017 (UTC)

Based on the table below, a straight-up hack-n-slash merger would result in 60 new parameters being added to this template. Can/should that number be trimmed down any? Primefac (talk) 16:07, 9 March 2017 (UTC)

@Primefac: As far as I can see there hasn't been any further discussion on this anywhere. So here's my two cents. In cricket, as far as I can see, there are two sorts of teams which would be easiest to put into an infobox – national teams and all other teams. See {{Infobox football club}} and {{Infobox national football team}}. I think that works well, and it would make sense here, as {{Infobox cricket team}} and {{Infobox national cricket team}}. All the parameters about test matches or test status, World Cups, one day internationals and T20 internationals only apply to national teams. On the other hand, national teams do not require other competition parameters like title1 and Indian Premier League. The non-national team infobox, therefore, would only require the title1 series of parameters to cover all possibilities. Basically it keeps redundant parameters out of both – and it would be relatively straightforward to use a bot to convert the national teams to that infobox and every other instance to the more general template. Triptothecottage (talk) 09:29, 13 May 2017 (UTC)

Comparison table of all params[edit]

Italic values are "updates" (i.e. new parameters added for merger).

All params have been integrated into the sandbox
{{Infobox cricket team}} {{Infobox Test team}} {{Infobox non Test cricket team}} {{Infobox women's national cricket team}}
name or county = team_name = country_name = country_name =
native_name =
native_name_lang =
alt_name =
image = image = image_file = image_file =
image_size = image_size =
alt =
caption = image_caption = image_caption = image_caption =
nickname = nickname = nickname =
motto =
association = association =
league =
oneday =
t20name =
secondteam =
lifemembers =
captain = current captain = current_captain = current_captain =
odcaptain = odi captain =
1captain =
2captain =
coach = current coach = current_coach = current_coach =
chairman or president =
battingcoach =
bowlingcoach =
fieldingcoach =
overseas =
overseas1 =
overseas2 =
city =
colours or colors =
owner =
founded or established =
dissolved or last match =
ground or home venue =
capacity =
ground2 =
capacity2 =
ceo =
manager =
adviser =
fcdebutvs = first_fc =
fcdebutyr =
fcdebutvenue =
no. of titles =
title1 =
title1wins =
title2 =
title2wins =
title3 =
title3wins =
title4 =
title4wins =
title5 =
title5wins =
title6 =
title6wins =
title7 =
title7wins =
title8 =
title8wins =
title9 =
title9wins =
sheffield =
frcwins =
t20wins =
IPLwins =
clt20wins =
BPLwins =
PSLwins =
notable players =
website =
current =
club professional=
h_pattern_la = h_pattern_la =
h_pattern_b = h_pattern_b =
h_pattern_ra = h_pattern_ra =
h_pattern_pants = h_pattern_pants =
h_leftarm = h_leftarm =
h_body = h_body =
h_rightarm = h_rightarm =
h_pants = h_pants =
a_pattern_la = a_pattern_la =
a_pattern_b = a_pattern_b =
a_pattern_ra = a_pattern_ra =
a_pattern_pants = a_pattern_pants =
a_leftarm = a_leftarm =
a_body = a_body =
a_rightarm = a_rightarm =
a_pants = a_pants =
t_pattern_la = t_pattern_la =
t_pattern_b = t_pattern_b =
t_pattern_ra = t_pattern_ra =
t_pattern_pants = t_pattern_pants =
t_leftarm = t_leftarm =
t_body = t_body =
t_rightarm = t_rightarm =
t_pants = t_pants =
club professional=
test status year =
t20i captain =
current official rank =
all-time best official rank =
first test match = first test match = first_test = first_test =
first_match = first_match =
number of tests = number of tests =
test matches this year = test matches this year =
win/loss record = win/loss record =
win/loss record this year = win/loss record this year =
most recent test match = most recent test match =
first odi match = first odi match = first_odi = first_odi =
number of odis = number of odis =
odi matches this year = odi matches this year =
odi win/loss record = odi win/loss record =
odi win/loss record this year = odi win/loss record this year =
most recent odi match = most recent odi match =
cricket world cup apps = cricket world cup apps = cricket_world_cup_apps = wc_apps =
cricket world cup first = cricket world cup first = cricket_world_cup_first = wc_first =
cricket world cup best = cricket world cup best = cricket_world_cup_best = wc_best =
first t20i match = first t20i match = first_t20i = first_t20i =
number of t20is = number of t20is =
t20i matches this year = t20i matches this year =
t20i win/loss record = t20i win/loss record =
t20i win/loss record this year = t20i win/loss record this year =
most recent t20i match = most recent t20i match=
worldt20 apps = worldt20 apps = worldt20_apps =
worldt20 first = worldt20 first = worldt20_first =
worldt20 best = worldt20 best = worldt20_best =
asofdate = asofdate = asofdate =
worldt20_qualifier_apps = worldt20_qualifier_apps = wt20_apps =
worldt20_qualifier_first = worldt20_qualifier_first = wt20_first =
worldt20_qualifier_best = worldt20_qualifier_best = wt20_best =
icc_status = icc_status = icc_status =
icc_member_year = icc_member_year = icc_member_year =
icc_status2 = icc_status2 = icc_status2 =
icc_member_year2 = icc_member_year2 = icc_member_year2 =
icc_status3 = icc_status3 = icc_status3 =
icc_member_year3 = icc_member_year3 = icc_member_year3 =
icc_region = icc_region = icc_region =
WCL_division = WCL_division =
first_la = first_la =
first_t20 = first_t20 =
icc_world_cup_qualifier_apps = icc_world_cup_qualifier_apps = wcq_apps =
icc_world_cup_qualifier_first = icc_world_cup_qualifier_first = wcq_first =
icc_world_cup_qualifier_best = icc_world_cup_qualifier_best = wcq_best =
u19_world_cup_apps =
u19_world_cup_first =
u19_world_cup_best =
u19_world_cupq_apps =
u19_world_cupq_first =
u19_world_cupq_best =
u19_regional_name =
u19_regional_apps =
u19_regional_first =
u19_regional_best =
t20q_apps =
t20q_first =
t20q_best =

Testcase table (full params)[edit]

Template merger complete, other templates will be redirected here shortly
Side by side comparison
{{Infobox cricket team/sandbox}} {{infobox Test team}} {{infobox non Test cricket team}} {{infobox women's national cricket team}}
name
alt_name
native_name
alt
image_caption
Nickname(s) nickname
One-day name oneday
Twenty20 name t20name
Second XI secondteam
League league
Association association
Personnel
Captain current captain
One-day captain odi captain
T20I captain t20i captain
1st XI captain 1captain
2nd XI captain 2captain
Coach current coach
Chairman chairman
Bowling coach bowlingcoach
Fielding coach fieldingcoach
Overseas player(s) overseas
Overseas player overseas1
Overseas player overseas2
Owner owner
Chief executive ceo
Manager manager
Adviser adviser
Team information
City city
Colours colours
Founded founded
Dissolved dissolved
Home ground ground
Capacity capacity
Secondary home ground(s) ground2
Secondary ground capacity capacity2
History
Test status acquired test status year
First-class debut first_fc
in fcdebutyr
at fcdebutvenue
List A debut first_la
Twenty20 debut first_t20
No. of titles no. of titles
title1 wins title1wins
title2 wins title2wins
title3 wins title3wins
title4 wins title4wins
title5 wins title5wins
title6 wins title6wins
title7 wins title7wins
title8 wins title8wins
Sheffield Shield wins sheffield
Ford Ranger Cup wins frcwins
Twenty20 Cup wins t20wins
Indian Premier League wins IPLwins
CLT20 wins clt20wins
Bangladesh Premier League wins BPLwins
PSL wins PSLwins
Notable players notable players
International Cricket Council
ICC status icc_status (icc_member_year)
icc_status2 (icc_member_year2)
icc_status3 (icc_member_year3)
ICC region icc_region
WCL WCL_division
ICC Rankings Current [1] Best-ever
Test test current official rank test all-time best official rank
ODI odi current official rank odi all-time best official rank
T20I t20i current official rank t20i all-time best official rank
Test Matches
First international first_match
First Test first test match
Last Test most recent test match
Tests Played Won/Lost
Total [2] number of tests win/loss record
This year [3] test matches this year win/loss record this year
One-Day Internationals
First ODI first_odi
ODIs Played Won/Lost
Total [4] number of odis odi win/loss record
This year [5] odi matches this year odi win/loss record this year
Last ODI most recent odi match
World Cup Appearances cricket_world_cup_apps (first in cricket_world_cup_first')
Best result cricket_world_cup_best
World Cup Qualifier Appearances wcq_apps (first in wcq_first')
Best result wcq_best
T20 Internationals
First T20I first_t20i
T20Is Played Won/Lost
Total [6] number of t20is t20i win/loss record
This year [7] t20i matches this year t20i win/loss record this year
Last T20I most recent t20i match
World Twenty20 Appearances wt20_apps (first in wt20_first')
Best result wt20_best
World Twenty20 Qualifier Appearances t20q_apps (first in t20q_first')
Best result t20q_best
Official website: website
'current'
As of asofdate'
country_name
alt_name
native_name
alt
image_caption
Nickname(s) nickname
One-day name oneday
Twenty20 name t20name
Second XI secondteam
League league
Association association
Personnel
Captain current captain
One-day captain odi captain
T20I captain t20i captain
1st XI captain 1captain
2nd XI captain 2captain
Coach current coach
Chairman chairman
Bowling coach bowlingcoach
Fielding coach fieldingcoach
Overseas player(s) overseas
Overseas player overseas1
Overseas player overseas2
Owner owner
Chief executive ceo
Manager manager
Adviser adviser
Team information
City city
Colours colours
Founded founded
Dissolved dissolved
Home ground ground
Capacity capacity
Secondary home ground(s) ground2
Secondary ground capacity capacity2
History
Test status acquired test status year
First-class debut first_fc
in fcdebutyr
at fcdebutvenue
List A debut first_la
Twenty20 debut first_t20
No. of titles no. of titles
title1 wins title1wins
title2 wins title2wins
title3 wins title3wins
title4 wins title4wins
title5 wins title5wins
title6 wins title6wins
title7 wins title7wins
title8 wins title8wins
Sheffield Shield wins sheffield
Matador BBQs One-Day Cup wins frcwins
Twenty20 Cup wins t20wins
Indian Premier League wins IPLwins
CLT20 wins clt20wins
Bangladesh Premier League wins BPLwins
PSL wins PSLwins
Notable players notable players
International Cricket Council
ICC status icc_status (icc_member_year)
icc_status2 (icc_member_year2)
icc_status3 (icc_member_year3)
ICC region icc_region
WCL WCL_division
ICC Rankings Current [1] Best-ever
Test test current official rank test all-time best official rank
ODI odi current official rank odi all-time best official rank
T20I t20i current official rank t20i all-time best official rank
Tests
First international first_match
First Test first test match
Last Test most recent test match
Tests Played Won/Lost
Total [2] number of tests win/loss record
This year [3] test matches this year win/loss record this year
One Day Internationals
First ODI first_odi
Last ODI most recent odi match
ODIs Played Won/Lost
Total [4] number of odis odi win/loss record
This year [5] odi matches this year odi win/loss record this year
World Cup Appearances cricket_world_cup_apps (first in cricket_world_cup_first')
Best result cricket_world_cup_best
World Cup Qualifier Appearances wcq_apps (first in wcq_first')
Best result wcq_best
Twenty20 Internationals
First T20I first_t20i
Last T20I most recent t20i match
T20Is Played Won/Lost
Total [6] number of t20is t20i win/loss record
This year [7] t20i matches this year t20i win/loss record this year
World Twenty20 Appearances wt20_apps (first in wt20_first')
Best result wt20_best
World Twenty20 Qualifier Appearances t20q_apps (first in t20q_first')
Best result t20q_best
Women's One Day Internationals
Official website: website
'current'
As of asofdate'
country_name
alt_name
native_name
alt
image_caption
Nickname(s) nickname
One-day name oneday
Twenty20 name t20name
Second XI secondteam
League league
Association association
Personnel
Captain current captain
One-day captain odi captain
T20I captain t20i captain
1st XI captain 1captain
2nd XI captain 2captain
Coach current coach
Chairman chairman
Bowling coach bowlingcoach
Fielding coach fieldingcoach
Overseas player(s) overseas
Overseas player overseas1
Overseas player overseas2
Owner owner
Chief executive ceo
Manager manager
Adviser adviser
Team information
City city
Colours colours
Founded founded
Dissolved dissolved
Home ground ground
Capacity capacity
Secondary home ground(s) ground2
Secondary ground capacity capacity2
History
Test status acquired test status year
First-class debut first_fc
in fcdebutyr
at fcdebutvenue
List A debut first_la
Twenty20 debut first_t20
No. of titles no. of titles
title1 wins title1wins
title2 wins title2wins
title3 wins title3wins
title4 wins title4wins
title5 wins title5wins
title6 wins title6wins
title7 wins title7wins
title8 wins title8wins
Sheffield Shield wins sheffield
Matador BBQs One-Day Cup wins frcwins
Twenty20 Cup wins t20wins
Indian Premier League wins IPLwins
CLT20 wins clt20wins
Bangladesh Premier League wins BPLwins
PSL wins PSLwins
Notable players notable players
International Cricket Council
ICC status icc_status (icc_member_year)
icc_status2 (icc_member_year2)
icc_status3 (icc_member_year3)
ICC region icc_region
WCL WCL_division
ICC Rankings Current [1] Best-ever
Test test current official rank test all-time best official rank
ODI odi current official rank odi all-time best official rank
T20I t20i current official rank t20i all-time best official rank
Tests
First international first_match
First Test first test match
Last Test most recent test match
Tests Played Won/Lost
Total [2] number of tests win/loss record
This year [3] test matches this year win/loss record this year
One Day Internationals
First ODI first_odi
Last ODI most recent odi match
ODIs Played Won/Lost
Total [4] number of odis odi win/loss record
This year [5] odi matches this year odi win/loss record this year
World Cup Appearances cricket_world_cup_apps (first in cricket_world_cup_first')
Best result cricket_world_cup_best
World Cup Qualifier Appearances wcq_apps (first in wcq_first')
Best result wcq_best
Twenty20 Internationals
First T20I first_t20i
Last T20I most recent t20i match
T20Is Played Won/Lost
Total [6] number of t20is t20i win/loss record
This year [7] t20i matches this year t20i win/loss record this year
World Twenty20 Appearances wt20_apps (first in wt20_first')
Best result wt20_best
World Twenty20 Qualifier Appearances t20q_apps (first in t20q_first')
Best result t20q_best
Women's One Day Internationals
Official website: website
'current'
As of asofdate'
country_name
alt_name
native_name
alt
image_caption
Nickname(s) nickname
One-day name oneday
Twenty20 name t20name
Second XI secondteam
League league
Association association
Personnel
Captain current captain
One-day captain odi captain
T20I captain t20i captain
1st XI captain 1captain
2nd XI captain 2captain
Coach current coach
Chairman chairman
Bowling coach bowlingcoach
Fielding coach fieldingcoach
Overseas player(s) overseas
Overseas player overseas1
Overseas player overseas2
Owner owner
Chief executive ceo
Manager manager
Adviser adviser
Team information
City city
Colours colours
Founded founded
Dissolved dissolved
Home ground ground
Capacity capacity
Secondary home ground(s) ground2
Secondary ground capacity capacity2
History
Test status acquired test status year
First-class debut first_fc
in fcdebutyr
at fcdebutvenue
List A debut first_la
Twenty20 debut first_t20
No. of titles no. of titles
title1 wins title1wins
title2 wins title2wins
title3 wins title3wins
title4 wins title4wins
title5 wins title5wins
title6 wins title6wins
title7 wins title7wins
title8 wins title8wins
Sheffield Shield wins sheffield
Matador BBQs One-Day Cup wins frcwins
Twenty20 Cup wins t20wins
Indian Premier League wins IPLwins
CLT20 wins clt20wins
Bangladesh Premier League wins BPLwins
PSL wins PSLwins
Notable players notable players
International Cricket Council
ICC status icc_status (icc_member_year)
icc_status2 (icc_member_year2)
icc_status3 (icc_member_year3)
ICC region icc_region
WCL WCL_division
ICC Rankings Current [1] Best-ever
Test test current official rank test all-time best official rank
ODI odi current official rank odi all-time best official rank
T20I t20i current official rank t20i all-time best official rank
Tests
First international first_match
First Test first test match
Last Test most recent test match
Tests Played Won/Lost
Total [2] number of tests win/loss record
This year [3] test matches this year win/loss record this year
One Day Internationals
First ODI first_odi
Last ODI most recent odi match
ODIs Played Won/Lost
Total [4] number of odis odi win/loss record
This year [5] odi matches this year odi win/loss record this year
World Cup Appearances cricket_world_cup_apps (first in cricket_world_cup_first')
Best result cricket_world_cup_best
World Cup Qualifier Appearances wcq_apps (first in wcq_first')
Best result wcq_best
Twenty20 Internationals
First T20I first_t20i
Last T20I most recent t20i match
T20Is Played Won/Lost
Total [6] number of t20is t20i win/loss record
This year [7] t20i matches this year t20i win/loss record this year
World Twenty20 Appearances wt20_apps (first in wt20_first')
Best result wt20_best
World Twenty20 Qualifier Appearances t20q_apps (first in t20q_first')
Best result t20q_best
Women's One Day Internationals
Official website: website
'current'
As of asofdate'

References

  1. ^ a b c d "ICC Rankings". icc-cricket.com. 
  2. ^ a b c d "Test matches - Team records". ESPNcricinfo.com. 
  3. ^ a b c d "Test matches - 2017 Team records". ESPNcricinfo.com. 
  4. ^ a b c d "ODI matches - Team records". ESPNcricinfo.com. 
  5. ^ a b c d "ODI matches - 2017 Team records". ESPNcricinfo.com. 
  6. ^ a b c d "T20I matches - Team records". ESPNcricinfo.com. 
  7. ^ a b c d "T20I matches - 2017 Team records". ESPNcricinfo.com. 

Parameter issues in some articles[edit]

I noticed that articles such as Bangladesh national cricket team, Pakistan national cricket team, India national cricket team and Australia national cricket team are having infobox parameter issues. Perhaps this template was edited and some of these parameters have been deprecated. Anyone have any ideas as to what is going on? -- Marchjuly (talk) 11:03, 16 August 2017 (UTC)

Marchjuly, I don't think the template itself has been significantly changed, but rather that Ianblair23 removed or modified many of the parameter checks (such as removing |team_name= from the acceptable list), which is why it's throwing an error despite being a perfectly valid parameter. I'll wait for their reply to see if I'm missing something obvious before reverting them. Primefac (talk) 14:26, 16 August 2017 (UTC)
Thanks for taking a look Primefac. -- Marchjuly (talk) 21:16, 16 August 2017 (UTC)
@Marchjuly and Primefac: Hi guys, my apologies for this. I have fixed up the parameter list and this should be resolved now. Cheers – Ianblair23 (talk) 06:28, 17 August 2017 (UTC)
Thanks for checking on this Ianblair23. I'm still getting an "unknown parameter" notice for |caption= in Bangladesh national cricket team though. Do you have any idea why that might be happening?
Also, I have a question about templates in general. I noticed some of the parameters (e.g., |alt_name=) require underscores and some do not (e.g., |test captain=). Is there a reason for this? It would seem to be less confusing (at least in my opinion) to pick one way or the other if possible. -- Marchjuly (talk) 07:35, 17 August 2017 (UTC)
Hi Marchjuly, I have fixed that now. In answer to your question, as you can see in the thread above Primefac undertook the task of merging the four cricket team infoboxes into one. All of the existing parameters were taken, some of which had underscores and others that didn't and was made into this infobox. I agree with though that having some parameters with underscores and other without is not ideal. Also, I am not really a fan of multiple names for the same parameters eg. |imagesize=and |image_size=. The next step is really to agree on what names to use for each parameter and then eliminate the others. Then go and update each article which is calling up this template which at the moment is 1,033 (includes redirects). Cheeers – Ianblair23 (talk) 08:06, 17 August 2017 (UTC)
The caption parameter is no longer an issue, so thanks for fixing that. Also, thanks for the details on the other parameters. I don't really no much about template, but I do try to fix bad parameters when I can. I'm happy to help out with the updating once everything has been sorted. -- Marchjuly (talk) 08:11, 17 August 2017 (UTC)

────────────────────────────────────────────────────────────────────────────────────────────────────Ianblair23 is pretty much spot-on regarding parameter names. My main priority was merging the four templates together into one, and sorting out the parameters later (i.e. "let's make sure this works"). Given that it's been a month or two and no one has thrown rocks at me, I'd say we can get started on normalizing the parameters. Personally, I prefer params with underscores, but in the next day or two I'll probably make a new thread to "officially" deprecate any duplicate params. Primefac (talk) 14:12, 17 August 2017 (UTC)