Module:IndianPremierLeagueProgression/doc

Usage
&#123;{#invoke:|create|parameters}} This module has only one function: create.

Named parameters

 * caption
 * Optional. Specifies a caption for the top of the table.


 * teams
 * A comma-separated list of the participating teams. These will automatically be wikilinked in the table.


 * matchesPerTeam
 * The number of group stage matches per team.


 * matchReportArticle
 * Optional. The name of the article on which the match scorecards exist. The scorecard for each match must be on the specified article and must be accessible via an element with the  attribute set to , where N is the match number (the   template may be used for this purpose). If not specified, it will be the article from which the module is invoked.


 * knockoutType
 * Specifies the model of the playoff stage. This can be one of two values: 1, to use the 2008-2010 model (2 semifinals/final), or 2, to use the current model (2 qualifiers/eliminator/final).

Data

 * All unnamed parameters are used to represent data.
 * Each of the teams mentioned in the teams parameter take two data parameters, in the order in which they are mentioned. The first team in the teams parameter uses the 1st and 2nd parameters, the second team uses the 3rd and 4th parameters, the third team uses the 5th and 6th parameters ans so on.
 * Odd-numbered parameters represent group stage data, even-numbered parameters represent playoff data.
 * The value of each data parameter consists of one or more result fields, separated by commas. The order of the result fields must be the same order in which the matches were played.
 * Each result field starts with one of the letters W (win), L (loss), N (no result), E or U, followed by the match number. (E and U are used only in the playoff stage data and must not be followed by a match number)
 * Points in the group stage will be inferred from the result fields.


 * For playoff stage only
 * If the  parameter is set to 1, the playoff stage data for each team can have a maximum of two result fields: the first for either of the semifinals, and the second for the final.
 * If the  parameter is set to 2, the playoff stage data for each team can have a maximum of three result fields: the first for the first qualifier or the eliminator, the second for the second qualifier and the third for the final.
 * The result field E indicates that the team has been eliminated. It must be the last result in the playoff data, after the result of the match that caused the elimination. For teams eliminated in the group stage, the playoff stage data for the team must only consist of an E.
 * The result field U indicates that the team does not have to play the match, but is not eliminated. This should only be used only used when the  parameter is set to 2, and is used as the second result for the team that has won the first qualifier and progressed directly into the final.