साँचा:IPL Result
imported>Ganesh591 द्वारा परिवर्तित १२:२४, ३ अप्रैल २०१७ का अवतरण
Usage
Use this template to format the cells in the results table.
- The parameter
winner
decides the background color of the cell. Possible values arenull
(to indicate that no match is possible, as in when both the column and the row refer to the same team),home
(for matches won by the home team),away
(for matches won by the visitor team),draw
(for drawn matches),tie
(for tied matches) andमैच रद्द
(for abandoned matches). Mandatory parameter. - The parameter
margin
takes the margin of winning. Mandatory forhome
andaway
winner. Ignored for the others. - The parameter
match
takes the sequence number of the match and makes either the margin (ifwinner
ishome
oraway
) or the result (ifwinner
isdraw
,tie
orमैच रद्द
) an internal link that links to the match details. Optional parameter. - The
team
parameter lists the name of the winning team.
Examples
No match possible | {{IPL Result|winner = null}} | |
Home team wins | 12 runs | {{IPL Result|winner = home | match=12 | margin = 12 runs}} |
Away team wins | Australia 12 runs |
{{IPL Result|winner = away | margin = 12 runs | team = Australia}} |
Drawn match | मैच ड्रॉ | {{IPL Result|winner = draw | match = 20}} |
Tied match | Match tied | {{IPL Result|winner = tie}} |
Abandoned match | Match abandoned | {{IPL Result|winner = aban}} |
No formatting | {{IPL Result}} |