Template talk:First Class Matches
From Wikipedia, the free encyclopedia
Contents |
[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)
[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)
-
-
- Yep. Perhaps it's best to remove the hidden structure hack as well, then? Sam Vimes 06:31, 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)
-
-
-
[edit] Other situations...
How can this template deal with the following:
- Redirects?
There are many players whose articles are dabbed with "Foo (cricketer)", and the template doesn't seem to be able to handle it.Also, several cities, as well as a few cricket grounds, are also dabbed in one way or another (e.g., "Centurion, South Africa" for the "Centurion" where the cricket ground is located). Update: I wasn't thinking about how the template works. Never mind the deal with the players; just put the name with the dab in the "full name" section, I know. Still, there is a problem when a city or ground has to be dabbed. — Dale Arnett 09:07, 21 January 2007 (UTC) Muslim names? I'm specifically thinking here of Pakistani names. Cricinfo does not use the "IM Cricketer" style for Pakistanis that it uses for cricketers from other countries, instead listing them by their full names. I shudder to think what would happen with a name like line Inzamam-ul-Haq.Update: Again, didn't think through it myself! Just put the full name in the "initial form" entry. D'oh! ‚ Dale Arnett 09:07, 21 January 2007 (UTC)
Just wondering if anyone's thought through these issues. — Dale Arnett 16:51, 20 January 2007 (UTC) Well, I'm definitely guilty of foot-in-mouth disease here! :) — Dale Arnett 09:07, 21 January 2007 (UTC)