Editing Template:MatchList/doc

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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
|map=Mojave
 
 
|match1={{MatchMaps
 
|match1={{MatchMaps
|team1=4-25|team2=Danger Dogs|winner=draw
+
|T1=4-25|T2=Danger Dogs|winner=draw
 
|games1=3|games2=3
 
|games1=3|games2=3
|details={{BracketMatchSummary
+
|map1=cp_granary_pro_b9|map1win=2|map1score=2-3
  | date=May 19, 2032 - 21:15 {{abbr/CEST}} |finished=true
+
|map2=cp_badlands|map2win=1|map2score=3-2
  | match1={{Game | t1score=0 | t2score=5 | map=cp_badlands | win=2 }}
 
  | match2={{Game | t1score=5 | t2score=0 | map=cp_snakewater_final1 | win=1 }}
 
  | details={{Details
 
    | log1=826611 | log2=826684
 
    | vod1=https://youtu.be/dt5P6mXitic?t=17m2s | vod2=https://youtu.be/dt5P6mXitic?t=35m37s
 
  }}
 
}}
 
 
}}
 
}}
 
}}</pre>
 
}}</pre>
  
Produces:
+
Gives us:
 
{{MatchList
 
{{MatchList
|map=Mojave
 
 
|match1={{MatchMaps
 
|match1={{MatchMaps
|team1=4-25|team2=Danger Dogs|winner=draw
+
|T1=4-25|T2=Danger Dogs|winner=draw
 
|games1=3|games2=3
 
|games1=3|games2=3
|details={{BracketMatchSummary
+
|map1=cp_granary_pro_b9|map1win=2|map1score=2-3
  | date=May 19, 2032 - 21:15 {{abbr/CEST}} |finished=true
+
|map2=cp_badlands|map2win=1|map2score=3-2
  | match1={{Game | t1score=0 | t2score=5 | map=cp_badlands | win=2 }}
 
  | match2={{Game | t1score=5 | t2score=0 | map=cp_snakewater_final1 | win=1 }}
 
  | details={{Details
 
    | log1=826611 | log2=826684
 
    | vod1=https://youtu.be/dt5P6mXitic?t=17m2s | vod2=https://youtu.be/dt5P6mXitic?t=35m37s
 
  }}
 
}}
 
 
}}
 
}}
 
}}
 
}}
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".
;|map=
 
:(Optional) Put a map name here (shows <code>File:<mapname>_Slice.jpg</code>)
 
 
;|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 here.
+
:(Optional) Put a link to the VOD(s) here.
;|vod#=
 
:(Optional) If there are multiple VODs, we would encourage the use of this parameter.
 
 
;|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 ===
;|team1=
+
;|T1=
;|team2=
+
;|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).
;|stream=
 
:(Optional) Adds in the twitch.tv stream.
 
 
;|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).
;|details=
+
;|stream=
:(Optional) Add details about the game, to be used with <nowiki>{{</nowiki>[[Template:BracketMatchSummary|BracketMatchSummary]]<nowiki>}}</nowiki>.
+
:(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 ==
 
== Snippet code ==
Line 133: Line 133:
 
{{MatchMaps
 
{{MatchMaps
 
|date= |finished=
 
|date= |finished=
|team1= |team2= |winner=
+
|T1= |T2= |winner=
|details={{BracketMatchSummary
+
|stream=
  | date= |stream= |finished=
+
|preview=
  | match1={{Game | t1score= | t2score= | map= | win= }}
+
|lrthread=
  | match2={{Game | t1score= | t2score= | map= | win= }}
+
|review=
  | details={{Details
+
|recap=
    | log1= | log1gc= | log2= | log2gc= | log3= | log3gc=
+
|interview=
    | vod1= | vod2= | vod3=
+
|vod=
    | interview=
+
|comment=
  }}
+
|etf2l=
}}
+
|esea=
 +
|esea1=
 +
|esea2=
 +
|esea3=
 +
|map1= |map1win= |youtube= |log=
 +
|map2= |map2win= |vodgame1= |log1=
 +
|map3= |map3win= |vodgame2= |log2= |log3=
 
}}
 
}}
 
</pre>
 
</pre>

Please note that all contributions to comp.tf may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see comp.tf:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)