Template talk:First Class Matches

From Wikipedia, the free encyclopedia

[edit] Syntax

{{First Class Matches |
batting first flag = Flag of South Africa.svg |
batting first = South Africa |
first innings score of first team = 303 |
overs in first innings of first team = 97.2 |
Highest scorer for first innings of first team = Ashwell Prince |
Highest scorer for first innings of first team initial form = AG Prince |
Highest score for first innings of first team = 93 |
Highest score for first innings of first team balls faced = 170 |
Best bowler in first innings of first team = Brett Lee |
Best bowler in first innings of first team initial form = B Lee |
Best bowler in first innings of first team figures = 3-57 |

second innings score of first team = 258 |
overs in second innings of first team = 71.3 |
Highest scorer for second innings of first team = Mark Boucher |
Highest scorer for second innings of first team initial form = MV Boucher|
Highest score for second innings of first team = 63 |
Highest score for second innings of first team balls faced = 92 |
Best bowler in second innings of first team = Stuart Clark |
Best bowler in second innings of first team initial form = SR Clark |
Best bowler in second innings of first team figures = 4-64 |

batting second flag = Flag of Australia.svg|
batting second = Australia |
first innings score of second team = 270 |
overs in first innings of second team = 62.5 |
Highest scorer for first innings of second team = Michael Hussey|
Highest scorer for first innings of second team initial form = MEK Hussey |
Highest score for first innings of second team = 75 |
Highest score for first innings of second team balls faced = 153 |
Best bowler in first innings of second team = Makhaya Ntini |
Best bowler in first innings of second team initial form = M Ntini |
Best bowler in first innings of second team figures = 6-100 |

second innings score of second team = 291/8 |
overs in second innings of second team = 91.4 |
Highest scorer for second innings of second team = Damien Martyn |
Highest scorer for second innings of second team initial form = DR Martyn |
Highest score for second innings of second team = 101 |
Highest score for second innings of second team balls faced = 208 |
Best bowler in second innings of second team = Makhaya Ntini |
Best bowler in second innings of second team initial form = M Ntini |
Best bowler in second innings of second team figures = 4-78 |

winning team = Australia |
win margin = two wickets |
stadium = New Wanderers Stadium |
city = Johannesburg |
country = South Africa |
umpire1 = Steve Bucknor |
umpire1 initial form = SA Bucknor |
umpire1 country = West Indies cricket team |
umpire1 country short form = WI |
umpire2 = Tony Hill |
umpire2 initial form = AL Hill |
umpire2 country = New Zealand |
umpire2 country short form = NZ |
MOTM = Brett Lee |
MOTM initial form = B Lee |
MOTM country = Australia |
MOTM ctry short form = Aus |
}}

If the match ends in a result other than a win for either team, use the field "other result = true |" and then "result = Match drawn |", for example.

[edit] Subst?

Is the intention that this template and {{Limited overs international}}should be "subst:"ed into article when the matches are complete? As far as I can see, this is the only way to deal with teams not batting twice (drawn games, teams being required to following on, winning by an innings, etc). -- ALoan (Talk) 11:11, 20 April 2006 (UTC)

I'm not sure what went wrong here... Hidden structure? -- ALoan (Talk) 11:29, 20 April 2006 (UTC)

[edit] No second innings

How do we deal with this situation? See here for example. Can't work out what to do. Shadow007 15:15, 1 May 2006 (UTC)

Yeah, it's a bit tricky. You need to write {{subst:First class matches as the first line, and then submit. That will give you a table you can manually edit to remove the apostrophes and empty links. Sam Vimes 15:57, 1 May 2006 (UTC)
See my comment in the immediately preceding section - substing is the best way, I think. -- ALoan (Talk) 22:32, 1 May 2006 (UTC)
Yep. Perhaps it's best to remove the hidden structure hack as well, then? Sam Vimes 06:31, 2 May 2006 (UTC)
I'm not sure what you are talking about, I am afraid... -- ALoan (Talk) 10:34, 2 May 2006 (UTC)
With the current system, it's possible to write in any result you want (assuming 4 innings was played), by putting "other result = true |" inside the syntax, and then "result = match drawn |". In the cases where the match has a winner, the way is to do "winning team = England |" and "win margin = "innings and 198 runs |". But since it has to be substed in so many cases, it might be best to avoid this way of doing it altogether and just use subst to do it all the time? Sam Vimes 11:12, 2 May 2006 (UTC)