Jump to content

Template:Cricketsquad-row/doc

From Wikipedia, the free encyclopedia

This template is one of three designed to standardise the presentation of cricket squads for two opposing teams on pages about a series (e.g., West Indian cricket team in New Zealand in 2008-09). It provides a row of the squad list, while {{Cricketsquad-start}} creates the header and {{Cricketsquad-end}} finishes the list.

Usage

[edit]
All parameters
{{Cricketsquad-row
| s  =
| p1 = 
| p2 =
| p3 =
| p4 =
| p5 =
| p6 =
}}
  • s is the number of squad lists being given (1, 2 or 3).
  • p1 to p6 are the players included in this row. These may be omitted if there are no further players for the squad.

Examples

[edit]

Single squad listing

[edit]
{{Cricketsquad-start|squad1=Test squads|team1={{cr|NZL}}|team2={{cr|RSA}}}}
{{Cricketsquad-row|s=1|p1=Player 1|p2=Player 2}}
{{Cricketsquad-row|s=1|p1=Player 1|p2=Player 2}}
{{Cricketsquad-row|s=1|p2=Player 2}}
{{Cricketsquad-end}}
Test squads
 New Zealand  South Africa
Player 1 Player 2
Player 1 Player 2
  Player 2


Two squads

[edit]
{{Cricketsquad-start|squad1=Test squads|squad2=ODI squads|team1={{cr|BAN}}|team2={{cr|IND}}}}
{{Cricketsquad-row|s=2|p1=Player 1|p2=Player 2|p3=Player 3|p4=Player 4}}
{{Cricketsquad-row|s=2|p1=Player 1|p2=Player 2|p3=Player 3|p4=Player 4}}
{{Cricketsquad-row|s=2|p1=Player 1|p2=Player 2|p3=Player 3|p4=Player 4}}
{{Cricketsquad-row|s=2|p1=Player 1|p2=Player 2|p3=Player 3|p4=Player 4}}
{{Cricketsquad-row|s=2|p1=Player 1|}}
{{Cricketsquad-end}}
Test squads ODI squads
 Bangladesh  India Bangladesh  India
Player 1 Player 2Player 3 Player 4
Player 1 Player 2Player 3 Player 4
Player 1 Player 2Player 3 Player 4
Player 1 Player 2Player 3 Player 4
Player 1  


Three squads

[edit]
{{Cricketsquad-start|squad1=Test squads|squad2=ODI squads|squad3=T20I squads
|team1={{cr|AUS}}|team2={{cr|ENG}}}}
{{Cricketsquad-row|s=3|p1=Player 1|p2=Player 2|p3=Player 3|p4=Player 4|p5=Player 5|p6=Player 6}}
{{Cricketsquad-row|s=3|p1=Player 1|p2=Player 2|p3=Player 3|p4=Player 4|p5=Player 5|p6=Player 6}}
{{Cricketsquad-row|s=3|p1=Player 1|p2=Player 2|p3=Player 3|p4=Player 4|p5=Player 5|p6=Player 6}}
{{Cricketsquad-row|s=3|p1=Player 1|p2=Player 2|p3=Player 3|p4=Player 4|p5=Player 5|p6=Player 6}}
{{Cricketsquad-row|s=3|p1=Player 1|p2=Player 2|p6=Player 6}}
{{Cricketsquad-end}}
Test squads ODI squads T20I squads
 Australia  England Australia  England Australia  England
Player 1 Player 2Player 3 Player 4Player 5 Player 6
Player 1 Player 2Player 3 Player 4Player 5 Player 6
Player 1 Player 2Player 3 Player 4Player 5 Player 6
Player 1 Player 2Player 3 Player 4Player 5 Player 6
Player 1 Player 2   Player 6