Editing Template:MatchList/doc
Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.
The system administrator who locked it offered this explanation: We are currently working on upgrading comp.tf. Edits will be locked for most of March 2025, or until further notice. For questions, please contact staff on the comp.tf Discord. I apologise for the inconvenience.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.
| Latest revision | Your text | ||
| Line 8: | Line 8: | ||
The code: | The code: | ||
<pre>{{MatchList | <pre>{{MatchList | ||
| − | |||
|match1={{MatchMaps | |match1={{MatchMaps | ||
| − | | | + | |T1=4-25|T2=Danger Dogs|winner=draw |
|games1=3|games2=3 | |games1=3|games2=3 | ||
| − | | | + | |map1=cp_granary_pro_b9|map1win=2|map1score=2-3 |
| − | + | |map2=cp_badlands|map2win=1|map2score=3-2 | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
}}</pre> | }}</pre> | ||
| − | + | Gives us: | |
{{MatchList | {{MatchList | ||
| − | |||
|match1={{MatchMaps | |match1={{MatchMaps | ||
| − | | | + | |T1=4-25|T2=Danger Dogs|winner=draw |
|games1=3|games2=3 | |games1=3|games2=3 | ||
| − | | | + | |map1=cp_granary_pro_b9|map1win=2|map1score=2-3 |
| − | + | |map2=cp_badlands|map2win=1|map2score=3-2 | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
}} | }} | ||
| Line 54: | Line 38: | ||
;|title= | ;|title= | ||
:set the title of the table, default is "Match List". | :set the title of the table, default is "Match List". | ||
| − | |||
| − | |||
;|matchX= | ;|matchX= | ||
:This is where you will insert the MatchMaps template. | :This is where you will insert the MatchMaps template. | ||
| Line 63: | Line 45: | ||
:(Optional) Put a link to the live report thread here. | :(Optional) Put a link to the live report thread here. | ||
;|vod= | ;|vod= | ||
| − | :(Optional) Put a link to the VOD | + | :(Optional) Put a link to the VOD(s) here. |
| − | |||
| − | |||
;|interview= | ;|interview= | ||
:(Optional) Put a link to the interview(s) here. | :(Optional) Put a link to the interview(s) here. | ||
| Line 74: | Line 54: | ||
=== MatchMaps === | === MatchMaps === | ||
| − | ;| | + | ;|T1= |
| − | ;| | + | ;|T2= |
:set the team names. These will generate templates for their icon and tags under Team2/ and Team1/ respectively. | :set the team names. These will generate templates for their icon and tags under Team2/ and Team1/ respectively. | ||
;|winner= | ;|winner= | ||
| Line 81: | Line 61: | ||
;|default= | ;|default= | ||
:set this to "1" or "2" if the player won due to a default, such as a no show or dropping teams. '''|winner='''. | :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= | ;|comment= | ||
:(Optional) Put a comment here. | :(Optional) Put a comment here. | ||
;|date= | ;|date= | ||
:(Optional) Put a date here (includes countdown). | :(Optional) Put a date here (includes countdown). | ||
| − | |||
| − | |||
;|finished= | ;|finished= | ||
:(Optional) Mark the match as finished (Which will remove the "LIVE!" sign). | :(Optional) Mark the match as finished (Which will remove the "LIVE!" sign). | ||
| − | ;| | + | ;|stream= |
| − | :(Optional) Add | + | :(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 '''null - 3''' | ||
| + | ;|eseaX | ||
| + | :(Optional) Link to the ESEA match/stats page here. X is currently from '''null - 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 '''null - 3''' | ||
== Snippet code == | == Snippet code == | ||
| Line 133: | Line 133: | ||
{{MatchMaps | {{MatchMaps | ||
|date= |finished= | |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= | ||
}} | }} | ||
</pre> | </pre> | ||