Template:MatchList/doc
Jump to navigation
Jump to search
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 eight player round robin style group (29 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.
Example
The code:
{{MatchList |match1={{MatchMaps |T1=4-25|T2=Danger Dogs|winner=draw |games1=3|games2=3 |map1=cp_granary_pro_b9|map1win=2|map1score=2-3 |map2=cp_badlands|map2win=1|map2score=3-2 }} }}
Gives us:
Match List | |||
---|---|---|---|
3 | 3 |
Parameters
MatchList
- |hide=
- set to "false" to not have the match list collapsed.
- |width=
- set to the amount of pixels, ems, or percent, default is 300px.
- |uncollapsed-maps=
- set to "true" to have the maps shown when the table is not collapsed.
- |class=
- set your own classes, default is "wikitable collapsible collapsed".
- |title=
- set the title of the table, default is "Match List".
- |matchX=
- This is where you will insert the MatchMaps template.
- |preview=
- (Optional) Put a link to a preview here.
- |lrthread=
- (Optional) Put a link to the live report thread here.
- |vod=
- (Optional) Put a link to the VOD(s) here.
- |interview=
- (Optional) Put a link to the interview(s) here.
- |recap=
- (Optional) Put a link to the recap here.
- |comment=
- (Optional) Put a comment here.
MatchMaps
- |T1=
- |T2=
- set the team names. These will generate templates for their icon and tags under Team2/ and Team1/ respectively.
- |winner=
- set the winner of the match with entering "1", "2" or "draw".
- |default=
- set this to "1" or "2" if the player won due to a default, such as a no show or dropping teams. |winner=.
- |mapX=
- set the name of the map.
- |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.
- |comment=
- (Optional) Put a comment here.
- |date=
- (Optional) Put a date here (includes countdown).
- |finished=
- (Optional) Mark the match as finished (Which will remove the "LIVE!" sign).
- |stream=
- (Optional) Add a stream to the match (complete URL).
- |preview=
- (Optional) Add a link to a preview.
- |lrthread=
- (Optional) Add a link to a Live Report thread.
- |review=
- (Optional) Add a link to a review.
- |interview=
- (Optional) Add a link to an interview.
- |logX=
- (Optional) Add logs.tf links. Only the number of the log is required. X is currently from 1 - 3
- |eseaX
- (Optional) Link to the ESEA match/stats page here. X may be left blank if there is only one page, if there are multiple games however, X is currently from 1 - 3/
- |etf2l=
- (Optional) Link to the ETF2L match page. Only the match number is required.
- |tftv=
- (Optional) Link to the teamfortress.tv page here. Only the thread number is required.
- |youtubeX=
- (Optional) Add a link to a VOD. X is currently from 1 - 3
Snippet code
For MatchList
{{MatchList |match1= |match2= |match3= |match4= |match5= |match6= |match7= |match8= |match9= |match10= |match11= |match12= |match13= |match14= |match15= |match16= |match17= |match18= |match19= |match20= |match21= |match22= |match23= |match24= |match25= |match26= |match27= |match28= |match29= }}
For MatchMaps
{{MatchMaps |date= |finished= |T1= |T2= |winner= |stream= |preview= |lrthread= |review= |recap= |interview= |vod= |comment= |etf2l= |esea= |esea1= |esea2= |esea3= |map1= |map1win= |youtube= |log= |map2= |map2win= |vodgame1= |log1= |map3= |map3win= |vodgame2= |log2= |log3= }}