Difference between revisions of "Template:BracketMatchSummary"
(Created page with "<includeonly>{{#if:{{{date|}}}{{{map1|}}}{{{comment|}}}|<div class="bracket-popup-body">}}<!-- -->{{#vardefine:match_status|{{#switch:{{{finished|}}}|true=|false={{#var:tourn...") |
(No difference)
|
Latest revision as of 00:19, 8 August 2021
Documentation (view - edit)
This template is used by bracket and group templates as it needs wrapping code to actually work. It creates the overlay with information about maps, results, stats, VODs etc. for a specific match.
Use
- |mapX=
- Set this to the name of the map played during the Xth game in the series.
- |mapXt1firstside=
- Set this to "t" or "ct" to indicate the starting side on the Xth map for the first team input in the parent template.
- |mapXtXt=
- The number of rounds team X scored on map X during their Terrorist side.
- |mapXtXct=
- The number of rounds team X scored on map X during their Counter-Terrorist side.
- |mapXwin=
- Set this to "1" or "2" depending on whether the first or the second team input in the parent template has won map X.
- |date=
- (Optional) Set the date of the match.
- |vodgameX=
- (Optional) Put a link to the VOD of game X here.
- |vod=
- (Optional) Put a link to the VOD of the whole series, if there is no VOD for each game already.
- |comment=
- (Optional) Option to leave a short note about noteworthy events (e.g. a draw, reason for a walkover).
- |preview=
- (Optional) Put a link to a preview here.
- |lrthread=
- (Optional) Put a link to the live report thread here.
- |interview=
- (Optional) Put a link to the interview(s) here.
- |recap=
- (Optional) Put a link to the recap here.
- |finished=
- (Optional) Set this to "true" to hide the countdown.
Example
The code:
{{2SETeamBracket |column-width=200 |R1D1team=Wink |R1D1score=2 |R1D1win=1 |R1D2team=suiGeneris |R1D2score=0 |R1D2win= |R1G1details={{BracketMatchSummary |date=February 11, 2015 - 21:00 {{Abbr/CET}} |finished=true |map1t1firstside=ct|map1t1t=4|map1t1ct=6|map1t2t=9|map1t2ct=7 |map1=Inferno |map1score=10-16 |map1win=2 |vodgame1= |map2t1firstside=ct|map2t1t=9|map2t1ct=7|map2t2t=8|map2t2ct=4 |map2=Mirage |map2score=16-12 |map2win=1 |vodgame2= |map3t1firstside=t|map3t1t=5|map3t1ct=11|map3t2t=4|map3t2ct=10 |map3=Nuke |map3score=16-14 |map3win=1 |vodgame3= }} }}
gives us:
- "Match__vs__at_{{#explode:February 11, 2015 - 21:00 " contains the "{" character as part of a property label and has been classified as invalid.
- Property "Has map date" (as page type) with input value "{{#replace:{{#explode:February 11, 2015 - 21:00 CET|" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
{{#lpdb_match:TBD_vs_TBD_at_{{#explode:February 11, 2015 - 21:00 CET|<|0}}{{#explode:{{#explode:February 11, 2015 - 21:00 CET|data-tz="|1}}|"|0}} |opponent1= |opponent2= |opponent1score= |opponent2score= |winner= |walkover= |resulttype= |finished=1 |mode= |date={{#replace:{{#explode:February 11, 2015 - 21:00 CET|<|0}}|-}}{{#explode:{{#explode:February 11, 2015 - 21:00 CET|data-tz="|1}}|"|0}} |dateexact=1 |stream={{#lpdb_create_json:
|stream= |twitch={{#resolve_stream:twitch|}} |twitch_2={{#resolve_stream:twitch|}} |afreeca={{#resolve_stream:afreeca|}} |afreecatv={{#resolve_stream:afreecatv|}} |dailymotion={{#resolve_stream:dailymotion|}} |douyu={{#resolve_stream:douyu|}} |smashcast={{#resolve_stream:smashcast|}} |youtube={{#resolve_stream:youtube|}} |facebook={{#resolve_stream:facebook|}} |pandatv={{#resolve_stream:pandatv|}} |mixer={{#resolve_stream:mixer|}} |huya={{#resolve_stream:huya|}} |bilibili={{#resolve_stream:bilibili|}} |steamtv=
}} |lrthread= |vod= |parent= |parentname= |tournament=BracketMatchSummary |type= |game= |tickername= |shortname= |series= |icon= |liquipediatier=10 |publishertier= |games= |status= |extradata={{#lpdb_create_json: |bestofx=
|timezone={{#explode:{{#explode:February 11, 2015 - 21:00 CET|data-tz="|1}}|"|0}} |timezoneID={{#explode:{{#explode:February 11, 2015 - 21:00 CET|</abbr>|0}}|>|1}} |matchsection= |opponent1rounds=0 |opponent2rounds=0 |overturned=
|cancelled= |hidden=0 |featured=0 |icondark=
|team1icon=Csgologo std.png |team2icon=Csgologo std.png |maps=Inferno,Mirage,Nuke |vodgame1=|vodgame2=|vodgame3=|vodgame4=|vodgame5=
}} |opponent1players={{#lpdb_create_json:
|p1= |p1flag= |p2= |p2flag= |p3= |p3flag= |p4= |p4flag= |p5= |p5flag=
}} |opponent2players={{#lpdb_create_json:
|p1= |p1flag= |p2= |p2flag= |p3= |p3flag= |p4= |p4flag= |p5= |p5flag=
}}
}}The code:
{{2SETeamBracket |column-width=200 |R1D1team=Wink |R1D1score=2 |R1D1win=1 |R1D2team=suiGeneris |R1D2score=0 |R1D2win= |R1G1details={{BracketMatchSummary |date=February 12, 2015 - 18:00 {{Abbr/CET}} |finished= |map1t1firstside=ct|map1t1t=8|map1t1ct=7|map1t2t=8|map1t2ct=7 |map1o1t1firstside=ct|map1o1t1t=2|map1o1t1ct=1|map1o1t2t=2|map1o1t2ct=1 |map1o2t1firstside=t|map1o2t1t=2|map1o2t1ct=1|map1o2t2t=2|map1o2t2ct=1 |map1o3t1firstside=ct|map1o3t1t=2|map1o3t1ct=1|map1o3t2t=2|map1o3t2ct=1 |map1o4t1firstside=t|map1o4t1t=2|map1o4t1ct=1|map1o4t2t=2|map1o4t2ct=1 |map1o5t1firstside=ct|map1o5t1t=2|map1o5t1ct=2|map1o5t2t=1|map1o5t2ct=1 |map1=Inferno |map1score=15-15 |map1win=2 |vodgame1= |map2t1firstside=ct|map2t1t=9|map2t1ct=7|map2t2t=8|map2t2ct=4 |map2=Mirage |map2score=16-12 |map2win=1 |vodgame2= |map3t1firstside=t|map3t1t=5|map3t1ct=11|map3t2t=4|map3t2ct=10 |map3=Nuke |map3score=16-14 |map3win=1 |vodgame3= }} }}
gives us:
- "Match__vs__at_{{#explode:February 12, 2015 - 18:00 " contains the "{" character as part of a property label and has been classified as invalid.
- Property "Has map date" (as page type) with input value "{{#replace:{{#explode:February 12, 2015 - 18:00 CET|" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
- Property "Is finished" (as page type) with input value "Expression error: Unexpected < operator." contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
{{#lpdb_match:TBD_vs_TBD_at_{{#explode:February 12, 2015 - 18:00 CET|<|0}}{{#explode:{{#explode:February 12, 2015 - 18:00 CET|data-tz="|1}}|"|0}} |opponent1= |opponent2= |opponent1score= |opponent2score= |winner= |walkover= |resulttype= |finished=Expression error: Unexpected < operator. |mode= |date={{#replace:{{#explode:February 12, 2015 - 18:00 CET|<|0}}|-}}{{#explode:{{#explode:February 12, 2015 - 18:00 CET|data-tz="|1}}|"|0}} |dateexact=1 |stream={{#lpdb_create_json:
|stream= |twitch={{#resolve_stream:twitch|}} |twitch_2={{#resolve_stream:twitch|}} |afreeca={{#resolve_stream:afreeca|}} |afreecatv={{#resolve_stream:afreecatv|}} |dailymotion={{#resolve_stream:dailymotion|}} |douyu={{#resolve_stream:douyu|}} |smashcast={{#resolve_stream:smashcast|}} |youtube={{#resolve_stream:youtube|}} |facebook={{#resolve_stream:facebook|}} |pandatv={{#resolve_stream:pandatv|}} |mixer={{#resolve_stream:mixer|}} |huya={{#resolve_stream:huya|}} |bilibili={{#resolve_stream:bilibili|}} |steamtv=
}} |lrthread= |vod= |parent= |parentname= |tournament=BracketMatchSummary |type= |game= |tickername= |shortname= |series= |icon= |liquipediatier=10 |publishertier= |games= |status= |extradata={{#lpdb_create_json: |bestofx=
|timezone={{#explode:{{#explode:February 12, 2015 - 18:00 CET|data-tz="|1}}|"|0}} |timezoneID={{#explode:{{#explode:February 12, 2015 - 18:00 CET|</abbr>|0}}|>|1}} |matchsection= |opponent1rounds=0 |opponent2rounds=0 |overturned=
|cancelled= |hidden=0 |featured=0 |icondark=
|team1icon=Csgologo std.png |team2icon=Csgologo std.png |maps=Inferno,Mirage,Nuke |vodgame1=|vodgame2=|vodgame3=|vodgame4=|vodgame5=
}} |opponent1players={{#lpdb_create_json:
|p1= |p1flag= |p2= |p2flag= |p3= |p3flag= |p4= |p4flag= |p5= |p5flag=
}} |opponent2players={{#lpdb_create_json:
|p1= |p1flag= |p2= |p2flag= |p3= |p3flag= |p4= |p4flag= |p5= |p5flag=
}}
}}Copy/Paste
{{BracketMatchSummary |date= |finished= |twitch= |map1t1firstside=|map1t1t=|map1t1ct=|map1t2t=|map1t2ct= |map1=|map1score=|map1win=|vodgame1=|stats1= |map2t1firstside=|map2t1t=|map2t1ct=|map2t2t=|map2t2ct= |map2=|map2score=|map2win=|vodgame2=|stats2= |map3t1firstside=|map3t1t=|map3t1ct=|map3t2t=|map3t2ct= |map3=|map3score=|map3win=|vodgame3=|stats3= |hltv= }} |
{{BracketMatchSummary |date= |finished= |twitch= |map1t1firstside=|map1t1t=|map1t1ct=|map1t2t=|map1t2ct= |map1=|map1score=|map1win=|vodgame1=|stats1= |map2t1firstside=|map2t1t=|map2t1ct=|map2t2t=|map2t2ct= |map2=|map2score=|map2win=|vodgame2=|stats2= |map3t1firstside=|map3t1t=|map3t1ct=|map3t2t=|map3t2ct= |map3=|map3score=|map3win=|vodgame3=|stats3= |map4t1firstside=|map4t1t=|map4t1ct=|map4t2t=|map4t2ct= |map4=|map4score=|map4win=|vodgame4=|stats4= |map5t1firstside=|map5t1t=|map5t1ct=|map5t2t=|map5t2ct= |map5=|map5score=|map5win=|vodgame5=|stats5= |hltv= }} |