(Created page with "This template is an iteration of the {{tl|MatchListStart}} {{tl|MatchListSlot}} {{tl|MatchListEnd}} family of templates. The main feature is to show a list of matches in a gro...") |
|||
Line 10: | Line 10: | ||
<pre>{{MatchList | <pre>{{MatchList | ||
|match1={{MatchMaps | |match1={{MatchMaps | ||
− | |player1=PuMa | + | |player1=PuMa |
− | |player2=Kas | + | |player2=Kas |
|winner=1 | |winner=1 | ||
− | |map1win=2 | + | |map1win=2 |
− | |map2win=1 | + | |map2win=1 |
− | |map3win=1 | + | |map3win=1 |
}} | }} | ||
}}</pre> | }}</pre> | ||
Line 22: | Line 22: | ||
{{MatchList | {{MatchList | ||
|match1={{MatchMaps | |match1={{MatchMaps | ||
− | |player1=PuMa | + | |player1=PuMa |
− | |player2=Kas | + | |player2=Kas |
|winner=1 | |winner=1 | ||
− | |map1win=2 | + | |map1win=2 |
− | |map2win=1 | + | |map2win=1 |
− | |map3win=1 | + | |map3win=1 |
}} | }} | ||
}} | }} | ||
Line 62: | Line 62: | ||
;|player2= | ;|player2= | ||
:set the name of the player 1 & 2. | :set the name of the player 1 & 2. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
;|winner= | ;|winner= | ||
:set the winner of the match with entering "1", "2" or "draw" nothing else is recognized. | :set the winner of the match with entering "1", "2" or "draw" nothing else is recognized. | ||
;|walkover= | ;|walkover= | ||
:set this to "1" or "2" if the player won on walk over, you will also need to set the '''|winner='''. | :set this to "1" or "2" if the player won on walk over, you will also need to set the '''|winner='''. | ||
− | |||
− | |||
;|mapXwin= | ;|mapXwin= | ||
:set this to "1", "2", "skip" or "draw" to either set a winner or show the map wasn't played or had no winner. | :set this to "1", "2", "skip" or "draw" to either set a winner or show the map wasn't played or had no winner. | ||
Line 103: | Line 95: | ||
<pre> | <pre> | ||
{{MatchMaps | {{MatchMaps | ||
− | |player1= | + | |player1= |
− | |player2= | + | |player2= |
|winner= | |winner= | ||
− | |map1win | + | |map1win= |
− | |map2win | + | |map2win= |
− | |map3win | + | |map3win= |
− | |map4win | + | |map4win= |
− | |map5win | + | |map5win= |
− | |map6win | + | |map6win= |
− | |map7win | + | |map7win= |
− | |map8win | + | |map8win= |
− | |map9win | + | |map9win= |
}} | }} | ||
</pre> | </pre> |
This template is an iteration of the {{MatchListStart}} {{MatchListSlot}} {{MatchListEnd}} family of templates. The main feature is to show a list of matches in a group with the maps that were played if the person so wishes to expand the list. Also the template calculates the score automatically based on the wins that are registered for each player. It supports a six player round robin style group (15 matches) with the matches being up to best of nine.
A big way this template differs from most others is that you will use another template within the MatchList template.
The code:
{{MatchList |match1={{MatchMaps |player1=PuMa |player2=Kas |winner=1 |map1win=2 |map2win=1 |map3win=1 }} }}
Gives us:
Match List | |||
---|---|---|---|
PuMa | 2 | 1 | Kas |
For MatchList
{{MatchList |match1= |match2= |match3= |match4= |match5= |match6= |match7= |match8= |match9= |match10= |match11= |match12= |match13= |match14= |match15= }}
For MatchMaps
{{MatchMaps |player1= |player2= |winner= |map1win= |map2win= |map3win= |map4win= |map5win= |map6win= |map7win= |map8win= |map9win= }}