Template:BracketMatchSummary/doc

From StarCraft AI, the resource for custom StarCraft Brood War AIs
Jump to: navigation, search

This template is used by bracket templates as it needs wrapping code to actually work. It creates the overlay with information about maps, VODs, etc. that appears on click. VODs needs to be added using the Template:Vod template.

Example

The code:

{{4SEBracket
|R1=Quarterfinals (Bo5)
|R2=Semifinals (Bo7)
|R3=Finals (Bo7)
 <!-- QUARTERFINALS -->
|R1D1=Click me |R1D1race=t |R1D1score=2
|R1D2=Or me |R1D2race=z |R1D2score=3 |R1D2win=1

|R1G1details={{BracketMatchSummary
|date=February 21, 2013 18:10 KST(GMT+9)
|map1=Fighting Spirit |map1win=1 |vodgame1={{vod|gamenum=1|vod=http://www.gomtv.net/2013gsls1/vod/71486/?set=1|source=url}}
|map2=Neo Electric Circuit |map2win=2 |vodgame2={{vod|gamenum=2|vod=http://www.gomtv.net/2013gsls1/vod/71486/?set=2|source=url}}
|map3=La Mancha |map3win=2 |vodgame3={{vod|gamenum=3|vod=http://www.gomtv.net/2013gsls1/vod/71486/?set=3|source=url}}
|map4=Sin Peaks of Baekdu |map4win=1 |vodgame4={{vod|gamenum=4|vod=http://www.gomtv.net/2013gsls1/vod/71486/?set=4|source=url}}
|map5=Destination |map5win=2 |vodgame5={{vod|gamenum=5|vod=http://www.gomtv.net/2013gsls1/vod/71486/?set=5|source=url}}
}}
}}

gives us:

Quarterfinals (Bo5)
  Click me
2
  Or me
3
  R1D3
  R1D4
Semifinals (Bo7)
  R2W1
  R2W2

Use

|date=
(Optional) Set the date of the match, or date with time (in the format Date Time Timezone)
|dateX=
(Optional) Prepends map X (2-9) with a date. (Do not set both |date= and |date1=) This field does not support a countdown.
|mapX=
(Optional) Set the name of the map, X is 1-9.
|mapXwin=
(Optional) Set this to "1", "2", "skip" or "draw" to either set a winner or show the map wasn't played or had no winner.
|vodgameX=
|vod=
(Optional) Use Template:Vod to link a VOD. |vodgameX specifies a given VOD link for game number X, whereas |vod appears as a VOD link for the location of one or more VODs (ie. Teamliquid forum thread, TLPD page, or playlist). |vodgameX includes customized VOD icons with numerical indicators for games 1-5, while |vod is generic and does not indicate any numbers
Example: {{vod |gamenum=1 |vod=37777|source=tlpd-int}} to link a VOD in TLPD International.

For more information about Template:Vod, refer to the template's documentation.

|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=, |lrthread2=
(Optional) Put a link to the live report thread(s) here.
|interview=
(Optional) Put a link to the interview(s) here.
|recap=
(Optional) Put a link to the recap here.
|stream=
(Optional) Add a link to the stream, based on the TeamLiquid stream name (i.e. http://www.teamliquid.net/video/streams/STREAMNAME)
|finished=
(Optional) Set this to "true" to hide the countdown.
|vetoY=
(Optional) Show that player Y (1-2) vetoed a map.

Copy/Paste

{{BracketMatchSummary
|map1= |map1win= |vodgame1=
|map2= |map2win= |vodgame2=
|map3= |map3win= |vodgame3=
}}
{{BracketMatchSummary
|map1= |map1win= |vodgame1=
|map2= |map2win= |vodgame2=
|map3= |map3win= |vodgame3=
|map4= |map4win= |vodgame4=
|map5= |map5win= |vodgame5=
}}
{{BracketMatchSummary
|date=
|map1= |map1win= |vodgame1=
|map2= |map2win= |vodgame2=
|map3= |map3win= |vodgame3=
|map4= |map4win= |vodgame4=
|map5= |map5win= |vodgame5=
|map6= |map6win= |vodgame6=
|map7= |map7win= |vodgame7=
|map8= |map8win= |vodgame8=
|map9= |map9win= |vodgame9=
|preview=
|lrthread=
|interview=
|recap=
|vod=
|comment=
}}