வார்ப்புரு:IPL Result
&lt;includeonly&gt;{{#switch: {{{winner|}}}
  |          = style=&quot;text-align: center&quot; {{!}} {{#if: {{{match|}}} | [[#போட்டி{{{match}}}{{!}}போட்டி {{{match}}}]] }}
 
  | null     = style=&quot;background:#C0C0C0; text-align: center&quot; {{!}} 
 
  | home     = style=&quot;background:#CCCCFF; text-align: center&quot; {{!}} {{#if: {{{team|}}} | {{{team}}}&lt;br/&gt;}}{{#if: {{{match|}}} | [[#போட்டி{{{match}}}{{!}}{{{margin}}}]] | {{{margin}}} }}
  
  | draw     = style=&quot;background:#F0E68C; text-align: center&quot; {{!}} {{#if: {{{match|}}} | [[#போட்டி{{{match}}}{{!}}போட்டி drawn]] | போட்டி drawn }}
 
  | tie     = style=&quot;background:#DDFFDD; text-align: center&quot; {{!}} {{#if: {{{match|}}} | [[#போட்டி{{{match}}}{{!}}போட்டி tied]] | போட்டி tied }}
  
  | away     = style=&quot;background:#FFCCCC; text-align: center&quot; {{!}} {{#if: {{{team|}}} | {{{team}}}&lt;br/&gt;}}{{#if: {{{match|}}} | [[#போட்டி{{{match}}}{{!}}{{{margin}}}]] | {{{margin}}} }}
 
  | aban     = style=&quot;background:#FFDEAD; text-align: center&quot; {{!}} {{#if: {{{match|}}} | Abandoned&lt;br/&gt;[[#போட்டி{{{match}}}{{!}}No result]] | போட்டி abandoned }}
 
  | test     = style=&quot;background:#7B68EE; text-align: center&quot; {{!}} [[#போட்டி{{{match}}}{{!}}Test target]]&lt;!--FOR TESTING PURPOSES ONLY, DO NOT USE IN ARTICLES--&gt;
  
  | default  = style=&quot;background:#C0C0C0; text-align: center&quot; {{!}} 
 }}&lt;/includeonly&gt;&lt;noinclude&gt;
 
 ==Usage==
 Use this template to format the cells in the results table. 
 *The parameter &lt;code&gt;winner&lt;/code&gt; decides the background color of the cell. Possible values are &lt;code&gt;null&lt;/code&gt; (to indicate that no match is possible, as in when both the column and the row refer to the same team), &lt;code&gt;home&lt;/code&gt; (for matches won by the home team), &lt;code&gt;away&lt;/code&gt; (for matches won by the visitor team), &lt;code&gt;draw&lt;/code&gt; (for drawn matches), &lt;code&gt;tie&lt;/code&gt; (for tied matches) and &lt;code&gt;aban&lt;/code&gt; (for abandoned matches). Mandatory parameter.
 *The parameter &lt;code&gt;margin&lt;/code&gt; takes the margin of winning. Mandatory for &lt;code&gt;home&lt;/code&gt; and &lt;code&gt;away&lt;/code&gt; winner. Ignored for the others.
 *The parameter &lt;code&gt;match&lt;/code&gt; takes the sequence number of the match and makes either the margin (if &lt;code&gt;winner&lt;/code&gt; is &lt;code&gt;home&lt;/code&gt; or &lt;code&gt;away&lt;/code&gt;) or the result (if &lt;code&gt;winner&lt;/code&gt; is &lt;code&gt;draw&lt;/code&gt;, &lt;code&gt;tie&lt;/code&gt; or &lt;code&gt;aban&lt;/code&gt;) an internal link that links to the match details. Optional parameter.
 *The &lt;code&gt;team&lt;/code&gt; parameter lists the name of the winning team.
 
 ==Examples==
 {| class=&quot;wikitable&quot;
 |-
 | No match possible || {{IPL Result|winner = null}} || &lt;nowiki&gt;{{IPL Result|winner = null}}&lt;/nowiki&gt;
 |-
 | Home team wins || {{IPL Result|winner = home | match=12 | margin = 12 runs}} || &lt;nowiki&gt;{{IPL Result|winner = home | match=12 | margin = 12 runs}}&lt;/nowiki&gt;
 |-
 | Away team wins || {{IPL Result|winner = away | margin = 12 runs | team = Australia}} || &lt;nowiki&gt;{{IPL Result|winner = away | margin = 12 runs | team = Australia}}&lt;/nowiki&gt;
 |-
 | Drawn match || {{IPL Result|winner = draw | match = 20}} || &lt;nowiki&gt;{{IPL Result|winner = draw | match = 20}}&lt;/nowiki&gt;
 |-
 | Tied match || {{IPL Result|winner = tie}} || &lt;nowiki&gt;{{IPL Result|winner = tie}}&lt;/nowiki&gt;
 |-
 | Abandoned match || {{IPL Result|winner = aban}} || &lt;nowiki&gt;{{IPL Result|winner = aban}}&lt;/nowiki&gt;
 |-
 | No formatting || {{IPL Result}} || &lt;nowiki&gt;{{IPL Result}}&lt;/nowiki&gt;
 |}
 {{translate|வார்ப்புரு}}