Template:Infobox cricket tournament/doc

From IxWiki
Jump to navigation Jump to search

The Infobox cricket tournament template may be used to summarise information about a specific cricket tournament, for example, 2007 Cricket World Cup. However, for a template to be used on an article detailing all of the specific tournaments use Template:Infobox cricket tournament main.

Usage

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}]]
{{{caption}}}
Dates{{{fromdate}}} – {{{todate}}}
Administrator(s){{{administrator}}}
Cricket format{{{cricket format}}}
Tournament format(s){{{tournament format}}}
Host(s){{{host}}}
Champions{{{champions}}} ({{{count}}}th title)
Runners-up{{{runner up}}}
Participants{{{participants}}}
Matches played{{{matches}}}
Attendance{{{attendance}}} (Expression error: Unrecognized punctuation character "&". per match)
Player of the series{{{player of the series}}}
Most runs{{{most runs}}}
Most wickets{{{most wickets}}}
Official website{{{website}}}
← [[{{{previous_tournament}}}|{{{previous_year}}}]]
[[{{{next_tournament}}}|{{{next_year}}}]] →
{{Infobox cricket tournament
| name                 = 
| image                = 
| image_size           = 
| fromdate             = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| todate               = 
| caption              = 
| administrator        = 
| cricket format       = 
| tournament format    = 
| host                 = 
| champions            = 
| runner up            =
| count                = 
| participants         = 
| matches              = 
| attendance           = 
| player of the series = 
| most runs            = 
| most wickets         = 
| website              = <!-- {{URL|example.com}} -->
| drs                  =
| previous_year        = 
| previous_tournament  = 
| next_year            = 
| next_tournament      = 
}}

Parameters

Parameter Explanation
name Insert name of tournament. Use the common name, typically name of article, if multiple names are used. If omitted it defaults to the name of the article. If included but left blank, infobox will show no title.
image Insert image name. Use only the file name such as abc.jpg, xyz.png, 123.gif, etc. Do not use syntax such as [[File:abc.jpg]] or [[File:abc.jpg|200px]]
image_size Set the width of the image, such as 100px. Only needed if the image is smaller than 200px so as to avoid upscaling.
fromdate Insert the tournament's start date using {{start date}}.
todate Insert the tournament's end date using {{end date}}.
caption Insert caption for the image.
administrator Insert the tournament's organiser, for example, the International Cricket Council.
cricket format Insert form of cricket played: e.g. Test, One Day International, Twenty20 or First-class.
tournament format Insert how the tournament is played: e.g. round robin, league and/or knockout.
host Insert the host name if it is an international competition. If this is the case use the Template:Cr template.
champions Insert team that won the tournament, e.g. {{cr}}.
runner up Insert the losing finalist.
count To show how many times the team has won the tournament, e.g. 1st or 4th.
participants Insert the number of teams that competed in the tournament. For prior qualifying series, please be as precise as possible.
matches Insert how many matches were played.
attendance Insert the number of people who attended the tournament throughout.
player of the series Insert the {{flagicon}} template as appropriate and the name of the person who was named player of the series.
most runs Insert the player who scored the most runs.
most wickets Insert the player who took the most wickets.
drs Insert Yes/No after making sure UDRS is available in tournament or not.
website Insert the official website of the tournament. Use {{URL}}.
previous_year Insert the year that the previous edition of this tournament was held
previous_tournament Insert the name of the article for the previous edition of this tournament (without any links - the template will automatically add the link). This will not be used unless 'previous_year' is also used.
next_year Insert the year that the next edition of this tournament was/will be held
next_tournament Insert the name of the article for the next edition of this tournament (without any links - the template will automatically add the link). This will not be used unless 'next_year' is also used.

Example

2007 ICC Cricket World Cup
Logo of the 2007 ICC Cricket World Cup
Dates23 December 2007 (2007-12-23) – 12 January 2008 (2008-01-12)
Administrator(s)International Cricket Council
Cricket formatOne Day International
Tournament format(s)Round robin and knockout
Host(s) West Indies
Champions Australia (4th title)
Participants16 (from 97 entrants)
Matches played51
Attendance439,028 (8,608 per match)
Player of the seriesAustralia Glenn McGrath
Most runsAustralia Matthew Hayden (659)
Most wicketsAustralia Glenn McGrath (26)
2003
2011
{{Infobox cricket tournament
| name = 2007 ICC Cricket World Cup
| image = ICC Cricket World Cup 2007 logo.png
| image_size = 100px
| fromdate = {{start date|2007|12|23|df=y}}
| todate = {{end date|2008|01|12|df=y}}
| caption = Logo of the 2007 ICC Cricket World Cup
| administrator = [[International Cricket Council]]
| cricket format = [[One Day International]]
| tournament format = [[Round-robin tournament|Round robin]] and [[Single-elimination tournament|knockout]]
| host = {{cr|West Indies}}
| champions = {{cr|Australia}}
| count = 4
| participants = 16 (from 97 entrants)
| matches = 51
| attendance = 439028
| player of the series = {{flagicon|Australia}} [[Glenn McGrath]]
| most runs = {{flagicon|Australia}} [[Matthew Hayden]] (659)
| most wickets = {{flagicon|Australia}} [[Glenn McGrath]] (26)
| drs = No
| website = 
| previous_year = 2003
| previous_tournament = 2003 Cricket World Cup
| next_year = 2011
| next_tournament = 2011 Cricket World Cup
}}

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox cricket tournament in articles based on its TemplateData.

TemplateData for Infobox cricket tournament

No description.

Template parameters

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
imageimage

no description

Unknownoptional
image_sizeimage_size

no description

Unknownoptional
captioncaption

no description

Unknownoptional
fromdatefromdate

no description

Unknownoptional
todatetodate

no description

Unknownoptional
administratoradministrator

no description

Unknownoptional
cricket formatcricket format

no description

Unknownoptional
tournament formattournament format

no description

Unknownoptional
hosthost

no description

Unknownoptional
championschampions

no description

Unknownoptional
countcount

no description

Unknownoptional
runner uprunner up

no description

Unknownoptional
participantsparticipants

no description

Unknownoptional
matchesmatches

no description

Unknownoptional
attendanceattendance

no description

Unknownoptional
player of the seriesplayer of the series

no description

Unknownoptional
most runsmost runs

no description

Unknownoptional
most wicketsmost wickets

no description

Unknownoptional
websitewebsite

no description

Unknownoptional
previous_yearprevious_year

no description

Unknownoptional
previous_tournamentprevious_tournament

no description

Unknownoptional
next_yearnext_year

no description

Unknownoptional
next_tournamentnext_tournament

no description

Unknownoptional