Template:BracketMatchSummary/doc

From QWiki
< Template:BracketMatchSummary
Revision as of 16:25, 16 March 2017 by Bps (talk | contribs) (Created page with "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. =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Example

The code:

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

|R1G1details={{BracketMatchSummary
|date=February 21, 2013 18:10 {{Abbr/KST}}
|map1=Cloud Kingdom |map1win=1 |vodgame1=http://www.gomtv.net/2013gsls1/vod/71486/?set=1
|map2=Neo Planet S |map2win=2 |vodgame2=http://www.gomtv.net/2013gsls1/vod/71486/?set=2
|map3=Whirlwind |map3win=2 |vodgame3=http://www.gomtv.net/2013gsls1/vod/71486/?set=3
|map4=Daybreak |map4win=1 |vodgame4=http://www.gomtv.net/2013gsls1/vod/71486/?set=4
|map5=Icarus |map5win=2 |vodgame5=http://www.gomtv.net/2013gsls1/vod/71486/?set=5
}}
}}

gives us:

Quarterfinals (Bo5)
February 21, 2013 18:10 Template:Abbr/KST
GreenCheck.png
' 
 
NoCheck.png
 
 
Cloud Kingdom
NoCheck.png
 
 
GreenCheck.png
 '
 
Neo Planet S
NoCheck.png
 
 
GreenCheck.png
 '
 
Whirlwind
GreenCheck.png
' 
 
NoCheck.png
 
 
Daybreak
NoCheck.png
 
 
GreenCheck.png
 '
 
Icarus
  R1D3
  R1D4
  R1D5
  R1D6
  R1D7
  R1D8
Semifinals (Bo7)
  R2W1
  R2W2
  R2W3
  R2W4
Finals (Bo7)
  R3W1
  R3W2

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=
(Optional) Put a link to the VOD of map X here.
|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=, |interview2=
(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.
Only for Random players and racepickers
|mapXpYrace=
(Optional) generate a race icon to show which race was used in game X (1-9) by player Y (1-2)
|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=
|finished=
|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=
|comment=
}}