Line 1: | Line 1: | ||
− | <includeonly><table class=" | + | <includeonly><table class="{{{class|wikitable matchlist collapsible {{#ifeq:{{lc:{{{uncollapsed-maps|}}}}}|true|uncollapsed-maps}} {{#ifeq:{{lc:{{{hide}}}}}|false||collapsed}}}}}" style="width:{{{width|300px}}}; margin: -1px 0 0 0;"> |
<tr><th colspan="4"> {{{1|{{{title|Match List}}}}}}<!-- | <tr><th colspan="4"> {{{1|{{{title|Match List}}}}}}<!-- | ||
Icons for interviews preview vod etc. | Icons for interviews preview vod etc. |
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= }}