Template:Single-innings cricket match collapsible/doc

Usage edit

{{Single-innings cricket match collapsible
| date     = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| time     = 
| team1    = 
| team2    = 

| score1   = 
| runs1    = 
| wickets1 = 

| score2   = 
| runs2    = 
| wickets2 = 
| result   = 
| report   = 
| round    =
| venue    = 
| umpires  = 
| tvumpire = 
| matchref = 
| motm     = 
| toss     = 
| rain     = 
| notes    = 
| bg       = 
| stack    = yes
}}
{{Single-innings cricket match collapsible
| date = 22 May 2014
| time = 13:00
| daynight = yes

| team1 = {{cr-rt|ENG}}
| team2 = {{cr|SRI}}
| score1 = 247/6 (39 overs)
| runs1 = [[Gary Ballance]] 64 (72)
| wickets1 = [[Sachithra Senanayake]] 3/30 (8 overs)
| score2 = 144 (27.5 overs)
| runs2 = [[Mahela Jayawardene]] 35 (41)
| wickets2 = [[Chris Jordan (cricketer)|Chris Jordan]] 3/25 (6 overs)
| result = England won by 81 runs ([[Duckworth–Lewis method|D/L method]])
| report = [http://www.espncricinfo.com/ci/engine/match/667889.html Scorecard]
| venue = [[The Oval]], London
| umpires = [[Rob Bailey (cricketer)|Rob Bailey]] (ENG) and [[Chris Gaffaney]] (NZL)
| tvumpire = [[Marais Erasmus]] (RSA)
| matchref = [[Jeff Crowe]] (NZL)
| motm = [[Chris Jordan (cricketer)|Chris Jordan]] (Eng)
| toss = Sri Lanka won the toss and elected to field.
| rain = Rain after 20.4 overs of the England innings reduced the game to 39 overs per side, with Sri Lanka set a target of 259 runs to win on the [[Duckworth–Lewis method]].''
*''Further rain during the Sri Lanka innings reduced their response to 32 overs with a revised target of 226 runs.
| notes = 
| bg = W
| stack = yes
}}
22 May 2014
England 
247/6 (39 overs)
v
 Sri Lanka
144 (27.5 overs)
England won by 81 runs (D/L method)
 
 
13:00 (D/N)
Scorecard
The Oval, London
Umpires: Rob Bailey (ENG) and Chris Gaffaney (NZL)
TV Umpire: Marais Erasmus (RSA)
Match Referee: Jeff Crowe (NZL)
Player of the match: Chris Jordan (ENG)
Gary Ballance 64 (72)
Sachithra Senanayake 3/30 (8 overs)
Mahela Jayawardene 35 (41)
Chris Jordan 3/25 (6 overs)
  • Sri Lanka won the toss and elected to field.
  • Rain after 20.4 overs of the England innings reduced the game to 39 overs per side, with Sri Lanka set a target of 259 runs to win on the Duckworth–Lewis method.
  • Further rain during the Sri Lanka innings reduced their response to 32 overs with a revised target of 226 runs.

Parameters edit

Match information edit

date
The scheduled start and finish dates for the match.
time
The local time of the match (local to the stadium it took place in).
team1
Before the match starts, this is the home team. After the match starts, this is the team that bats first.
team2
Before the match starts, this is the away team. After the match starts, this is the team that fields first.
result
The result of the match, in the format "[winning team] won by [winning margin]". Do not use the {{cr}} template for this parameter.
report
A link to the match scorecard, usually from espncricinfo.com.
round
For use when the match is part of a tournament with various rounds of play, such as Qualifying Round, Group Stage, Knockout Stage, etc.
venue
The ground and town/city where the match was played.
umpires
The names and nations of the on-field umpires.
tvumpire
The name and nation of the TV umpire.
matchref
The name and nation of the match referee.
motm
The name and team of the player named as "man of the match", if applicable.
toss
The result of the coin toss, in the format "[team] won the toss and elected to [bat/field]."
rain
Details of any delays in play, whether for rain or bad light.
notes
Any relevant notes about the match, other than the result of the toss or delays in play.

Scorecard edit

score1
Team 1s total for innings, in the format "[runs]/[wickets] ([overs] overs)" (or "[wickets]/[runs] ([overs] overs)" in Australia).
score2
Team 2s total for innings
runs1
Team 1's top run-scorer in the innings. (Tiebreaker: fewer balls faced)
runs2
Team 2's top run-scorer in the innings.
wickets1
Team 1's top wicket-taker in the innings. (Tiebreaker: fewer runs conceded; then fewer overs bowled) Leave blank if no bowler took a wicket.
wickets2
Team 1's top wicket-taker in the innings.

Formatting edit

bg
The background colour in the format #123456 OR W, D or L for team specific pages (win, draw/no result, loss)
nobars
Include only if no bars should be shown on the template
stack
Include only if template is stacked above others (removes the bottom bar)

Microformats edit

The HTML markup produced by this template includes an hCard microformat, which makes the person's or organisation's name parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

The hCard in this template uses at least some of these HTML classes:

  • fn (required)
  • nickname
  • org
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Classes used

The HTML classes of this microformat include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.

See also edit