2013-14 Baseball Statistics - Fullerton

Games 36
Runs 209
Batting Average .290
On Base Percentage .365
Slugging Percentage .365
Home Runs 8
Schedule Summary
Overall (Pct.)22-14 (.611)
Conference (Pct.) 11-10 (.524)
StreakWon 2
Home13-7
Away9-7
Neutral0-0
Full Scores and Schedule »
Recent Games
Apr 10 Orange Coast L, 5-0
Apr 11 at Orange Coast L, 10-1
Apr 16 Taft W, 8-3
Apr 17 Taft L, 9-2
Apr 22 at Irvine Valley W, 15-2
Apr 24 Irvine Valley W, 3-2
Statistics category Overall Conf
Games 36 4th 21 2nd
At Bats 1274 4th 748 2nd
Runs 209 3rd 107 3rd
Hits 370 4th 212 2nd
Doubles 49 5th 27 5th
Triples 11 4th 8 2nd
Home Runs 8 5th 4 5th
Runs Batted In 179 3rd 95 3rd
Extra Base Hits 68 5th 39 4th
Total Bases 465 4th 267 3rd
Walks 121 4th 60 4th
Hit by pitch 39 5th 27 5th
Strikeouts 217 8th 139 8th
Sacrifice Flies 19 2nd 10 2nd
Sacrifice Hits 28 5th 19 5th
Hit into double play 24 5th 15 5th
Stolen Bases 68 2nd 39 2nd
Caught Stealing 27 1st 13 3rd
Batting Average .290 3rd .283 3rd
On Base Percentage .365 3rd .354 3rd
Slugging Percentage .365 5th .357 3rd
Earned Run Average 4.26 8th 4.70 7th
Shutouts 1 5th 1 4th
At Bats Against 1275 3rd 774 1st
Batting Average Against .282 8th .309 8th
Home Games Played 20 5th 10 2nd
Home Attendance 2,361 1st 1,397 1st
Home Attendance average 118 1st 140 1st
Hitting
No. Yr Pos
3 Dakota Wix So CF 36 164 34 56 9 1 1 20 8 9 15 4 .341 .376 .427
21 KC Huth So OF 34 140 18 49 11 4 1 32 9 17 14 5 .350 .406 .507
4 Nick Gotta So IF 36 132 24 35 1 2 - 13 26 20 10 3 .265 .405 .303
40 Jose Rojas So SS 34 128 13 39 5 1 - 18 8 13 1 2 .305 .345 .359
23 James Smith Fr OF 31 112 15 31 5 - 1 16 6 25 5 1 .277 .322 .348
33 Oliver Jackson So C/1B 26 92 18 26 4 2 - 10 13 26 3 2 .283 .374 .370
25 Oscar Heredia Fr OF 27 84 9 24 3 - - 11 6 14 2 1 .286 .337 .321
8 Troy Prasertsit So C 28 80 13 19 3 - - 12 10 15 1 - .237 .333 .275
12 Riley Roberts Fr 1B 25 61 11 20 3 - - 7 3 10 1 - .328 .388 .377
30 Ismael Sanchez So IF 26 61 13 17 - - 5 10 6 21 3 1 .279 .362 .525
1 Ricky Perez Fr OF 23 52 8 11 1 - - 9 13 10 2 1 .212 .373 .231
10 Christian Prado Fr IF 14 38 5 11 1 1 - 6 3 5 - 1 .289 .357 .368
6 John Orlando Fr OF 14 35 6 11 1 - - 5 3 6 6 2 .314 .359 .343
28 Vince Venegas Fr OF 20 34 9 7 1 - - 2 1 8 4 1 .206 .341 .235
16 Garrett Valdez So 1B 19 32 7 10 1 - - 5 3 8 - 2 .313 .389 .344
2 Jimmy Threat Fr OF 10 10 0 3 - - - 2 - 5 - 1 .300 .300 .300
17 Kodi Diamond So OF 8 9 3 0 - - - 0 - 1 - - .000 .100 .000
5 Kevin Wallace Fr C 4 5 0 1 - - - 1 - 2 - - .200 .200 .200
19 Spencer Shiroma So OF 4 3 0 0 - - - 0 - 1 - - .000 .000 .000
11 Tyler McClure Fr UT 8 2 3 0 - - - 0 2 1 1 - .000 .500 .000
35 Tessone Daniel Fr RHP 8 0 0 0 - - - 0 1 - - - - 1.000 -
  Totals     36 1274 209 370 49 11 8 179 121 217 68 27 .290 .365 .365
  Opponent     36 1275 188 359 50 14 9 160 126 219 54 24 .282 .362 .364
Extended Hitting
No. Yr Pos
3 Dakota Wix So CF 36 3 3 - 70 11 2 47 45 1.04 178
4 Nick Gotta So IF 36 5 - 10 40 3 - 53 27 1.96 173
21 KC Huth So OF 34 7 4 - 71 16 4 26 50 0.52 160
40 Jose Rojas So SS 34 2 4 - 46 6 3 31 47 0.66 142
23 James Smith Fr OF 31 2 1 4 39 6 2 31 24 1.29 125
33 Oliver Jackson So C/1B 26 1 1 - 34 6 - 20 15 1.33 107
8 Troy Prasertsit So C 28 3 3 2 22 3 3 22 25 0.88 98
25 Oscar Heredia Fr OF 27 1 1 2 27 3 3 20 26 0.77 94
1 Ricky Perez Fr OF 23 1 1 3 12 1 - 13 19 0.68 70
12 Riley Roberts Fr 1B 25 3 - 3 23 3 2 22 10 2.20 70
30 Ismael Sanchez So IF 26 2 - - 32 5 1 11 11 1.00 69
28 Vince Venegas Fr OF 20 6 - 4 8 1 - 15 6 2.50 45
10 Christian Prado Fr IF 14 1 - - 14 2 1 13 4 3.25 42
6 John Orlando Fr OF 14 - 1 - 12 1 2 13 3 4.33 39
16 Garrett Valdez So 1B 19 1 - - 11 1 1 12 2 6.00 36
17 Kodi Diamond So OF 8 1 - - 0 0 - 5 3 1.67 10
2 Jimmy Threat Fr OF 10 - - - 3 0 - 2 - - 10
5 Kevin Wallace Fr C 4 - - - 1 0 - - 1 - 5
11 Tyler McClure Fr UT 8 - - - 0 0 - - 1 - 4
19 Spencer Shiroma So OF 4 - - - 0 0 - 1 1 1.00 3
35 Tessone Daniel Fr RHP 8 - - - 0 0 - - - - 1
  Totals     36 39 19 28 465 68 24 357 320 1.12 1481
  Opponent     36 42 12 42 464 73 27 336 367 0.92 1497
Pitching
No. Yr Pos
22 Nick Morton So LHP 12 12 7 2 0 4 81.0 87 33 26 13 56 6.22 1 2.89 -
36 Dylan Prohoroff Fr RHP 13 10 5 4 0 - 55.0 47 26 21 27 46 7.53 1 3.44 -
27 Kyle Lazcano Fr RHP 11 6 1 3 0 - 32.1 35 23 22 8 19 5.29 3 6.12 -
14 Parker Merritt Fr RHP 17 0 1 0 2 - 29.1 45 12 10 5 8 2.45 1 3.07 -
39 Josh Bornstein Fr RHP 8 7 1 3 0 - 27.2 25 18 15 18 19 6.18 - 4.88 -
24 Nico Casteneda Fr RHP 16 0 3 0 0 - 25.1 31 13 12 6 13 4.62 1 4.26 -
32 Austin Sweet So RHP 17 0 3 2 3 - 19.0 22 15 12 11 16 7.58 1 5.68 -
35 Tessone Daniel Fr RHP 8 1 0 0 0 - 15.2 18 8 6 5 11 6.32 1 3.45 -
18 Christiannel Cosme So RHP 12 0 0 0 0 - 10.2 8 7 4 8 6 5.06 - 3.38 -
29 Jake Lyons Fr LHP 8 0 0 0 0 - 9.0 7 4 4 3 6 6.00 - 4.00 -
34 Nate Green Fr LHP 8 0 0 0 1 - 7.1 6 6 5 6 3 3.68 - 6.14 -
37 Axel Cruz Fr RHP 8 0 0 0 0 - 6.2 12 10 8 7 10 13.50 - 10.80 -
9 Christian Salinas So RHP 5 0 1 0 0 - 5.0 7 3 3 2 2 3.60 - 5.40 -
26 Derek Anderson Fr RHP 3 0 0 0 0 - 2.0 6 7 5 2 2 9.00 - 22.50 -
38 Andrew Hernandez So RHP 2 0 0 0 0 - 2.0 2 0 0 1 1 4.50 - 0.00 -
13 Emmanuel Flores Fr RHP 2 0 0 0 0 - 1.0 0 1 1 2 1 9.00 - 9.00 -
20 Matt Ybarra Fr LHP 1 0 0 0 0 - 0.1 1 2 2 2 0 .00 - 54.00 -
  Totals     36 36 22 14 6 4 329.1 359 188 156 126 219 5.98 9 4.26 1.47
  Opponent     36 36 14 22 4 2 324.0 370 209 141 121 217 6.03 8 3.92 -
Fielding
No. Yr Pos
12 Riley Roberts Fr 1B 25 149 140 7 2 .987 12 - - - - -
8 Troy Prasertsit So C 28 133 116 15 2 .985 2 29 6 .171 7 -
33 Oliver Jackson So C/1B 26 128 108 18 2 .984 - 24 13 .351 1 -
30 Ismael Sanchez So IF 26 96 82 12 2 .979 8 - - - - -
16 Garrett Valdez So 1B 19 88 80 6 2 .977 5 - - - - -
4 Nick Gotta So IF 36 178 77 90 11 .938 21 - - - - -
21 KC Huth So OF 34 88 76 6 6 .932 - - - - - -
3 Dakota Wix So CF 36 84 73 8 3 .964 - - - - - -
23 James Smith Fr OF 31 63 60 1 2 .968 - - - - - -
40 Jose Rojas So SS 34 136 45 80 11 .919 12 - - - - -
10 Christian Prado Fr IF 14 56 29 20 7 .875 3 - - - - -
28 Vince Venegas Fr OF 20 31 28 2 1 .968 - - - - - -
1 Ricky Perez Fr OF 23 61 17 39 5 .918 6 - - - - -
6 John Orlando Fr OF 14 17 16 1 0 1.000 - - - - - -
25 Oscar Heredia Fr OF 27 43 10 28 5 .884 1 - - - - -
5 Kevin Wallace Fr C 4 8 8 0 0 1.000 - - - - - -
39 Josh Bornstein Fr RHP 8 14 4 6 4 .714 - 13 4 .235 - -
22 Nick Morton So LHP 12 27 4 21 2 .926 1 12 7 .368 - -
36 Dylan Prohoroff Fr RHP 13 12 3 9 0 1.000 - 3 2 .400 - -
35 Tessone Daniel Fr RHP 8 5 2 3 0 1.000 - 1 2 .667 - -
2 Jimmy Threat Fr OF 10 2 2 0 0 1.000 - - - - - -
24 Nico Casteneda Fr RHP 16 7 1 6 0 1.000 - 1 3 .750 - -
17 Kodi Diamond So OF 8 2 1 1 0 1.000 - - - - - -
34 Nate Green Fr LHP 8 2 1 1 0 1.000 - 5 1 .167 - -
27 Kyle Lazcano Fr RHP 11 5 1 3 1 .800 - 5 1 .167 - -
11 Tyler McClure Fr UT 8 2 1 1 0 1.000 - - - - - -
14 Parker Merritt Fr RHP 17 3 1 2 0 1.000 - 3 2 .400 - -
9 Christian Salinas So RHP 5 3 1 2 0 1.000 - - - - - -
32 Austin Sweet So RHP 17 4 1 1 2 .500 - 4 2 .333 - -
18 Christiannel Cosme So RHP 12 1 0 0 1 .000 - 3 - - - -
37 Axel Cruz Fr RHP 8 1 0 0 1 .000 - 2 - - - -
13 Emmanuel Flores Fr RHP 2 1 0 1 0 1.000 - - - - - -
29 Jake Lyons Fr LHP 8 1 0 1 0 1.000 - 2 - - - -
20 Matt Ybarra Fr LHP 1 1 0 1 0 1.000 - - - - - -
  Totals     36 1452 988 392 72 .950 41 53 24 .312 8 -
  Opponent     36 1464 972 421 71 .952 38 68 26 .277 10 -
Hitting
No. Yr Pos
3 Dakota Wix So CF 21 94 19 33 4 1 1 12 6 8 8 3 .351 .400 .447
21 KC Huth So OF 21 90 11 30 8 3 - 21 5 13 8 2 .333 .392 .489
4 Nick Gotta So IF 21 77 14 22 - 1 - 7 18 13 7 3 .286 .444 .312
40 Jose Rojas So SS 19 73 5 18 2 - - 7 3 5 1 - .247 .282 .274
23 James Smith Fr OF 17 65 3 12 2 - - 5 3 17 3 - .185 .217 .215
25 Oscar Heredia Fr OF 18 59 6 21 3 - - 8 2 11 1 1 .356 .371 .407
8 Troy Prasertsit So C 16 52 5 12 1 - - 5 3 9 - - .231 .305 .250
12 Riley Roberts Fr 1B 19 51 11 15 2 - - 5 3 8 1 - .294 .368 .333
33 Oliver Jackson So C/1B 13 46 10 14 3 2 - 8 7 15 2 1 .304 .389 .457
30 Ismael Sanchez So IF 14 38 5 11 - - 3 5 1 16 2 - .289 .325 .526
1 Ricky Perez Fr OF 15 34 3 7 - - - 4 6 8 2 1 .206 .333 .206
10 Christian Prado Fr IF 9 27 4 8 1 1 - 4 1 3 - - .296 .345 .407
28 Vince Venegas Fr OF 11 20 6 3 - - - 1 1 6 2 1 .150 .320 .150
16 Garrett Valdez So 1B 7 10 1 3 1 - - 1 1 4 - - .300 .364 .400
6 John Orlando Fr OF 4 7 1 2 - - - 1 - 1 2 - .286 .286 .286
19 Spencer Shiroma So OF 3 2 0 0 - - - 0 - 1 - - .000 .000 .000
2 Jimmy Threat Fr OF 5 2 0 1 - - - 1 - - - 1 .500 .500 .500
5 Kevin Wallace Fr C 1 1 0 0 - - - 0 - 1 - - .000 .000 .000
17 Kodi Diamond So OF 3 0 3 0 - - - 0 - - - - - 1.000 -
  Totals     21 748 107 212 27 8 4 95 60 139 39 13 .283 .354 .357
  Opponent     21 774 116 239 31 11 5 100 91 122 35 14 .309 .400 .397
Extended Hitting
No. Yr Pos
3 Dakota Wix So CF 21 3 2 - 42 6 - 28 23 1.22 105
4 Nick Gotta So IF 21 4 - 5 24 1 - 28 15 1.87 104
21 KC Huth So OF 21 5 2 - 44 11 4 17 31 0.55 102
40 Jose Rojas So SS 19 1 1 - 20 2 2 23 26 0.88 78
23 James Smith Fr OF 17 - 1 2 14 2 1 20 15 1.33 71
25 Oscar Heredia Fr OF 18 - 1 1 24 3 2 11 17 0.65 63
8 Troy Prasertsit So C 16 3 1 2 13 1 2 18 14 1.29 61
12 Riley Roberts Fr 1B 19 3 - 3 17 2 2 21 8 2.63 60
33 Oliver Jackson So C/1B 13 - 1 - 21 5 - 12 5 2.40 54
1 Ricky Perez Fr OF 15 1 1 3 7 0 - 9 13 0.69 45
30 Ismael Sanchez So IF 14 1 - - 20 3 - 5 6 0.83 40
10 Christian Prado Fr IF 9 1 - - 11 2 1 10 3 3.33 29
28 Vince Venegas Fr OF 11 4 - 3 3 0 - 8 5 1.60 28
16 Garrett Valdez So 1B 7 - - - 4 1 - 3 - - 11
6 John Orlando Fr OF 4 - - - 2 0 1 4 - - 7
19 Spencer Shiroma So OF 3 - - - 0 0 - - 1 - 2
2 Jimmy Threat Fr OF 5 - - - 1 0 - 1 - - 2
17 Kodi Diamond So OF 3 1 - - 0 0 - - - - 1
5 Kevin Wallace Fr C 1 - - - 0 0 - - - - 1
  Totals     21 27 10 19 267 39 15 218 182 1.20 864
  Opponent     21 30 5 23 307 47 16 191 224 0.85 923
Pitching
No. Yr Pos
22 Nick Morton So LHP 7 7 4 1 0 3 50.1 59 23 18 12 37 6.62 1 3.22 -
36 Dylan Prohoroff Fr RHP 8 7 4 3 0 - 39.1 33 15 13 24 32 7.32 - 2.97 -
14 Parker Merritt Fr RHP 12 0 0 0 1 - 21.2 37 11 9 5 6 2.49 1 3.74 -
39 Josh Bornstein Fr RHP 4 4 0 1 0 - 13.2 12 9 7 14 8 5.27 - 4.61 -
24 Nico Casteneda Fr RHP 9 0 0 0 0 - 13.0 20 6 6 4 7 4.85 1 4.15 -
35 Tessone Daniel Fr RHP 5 1 0 0 0 - 12.0 14 7 6 2 6 4.50 1 4.50 -
27 Kyle Lazcano Fr RHP 6 2 0 3 0 - 9.2 12 8 8 7 5 4.66 - 7.45 -
32 Austin Sweet So RHP 10 0 2 2 1 - 9.1 19 11 9 6 6 5.79 1 8.68 -
29 Jake Lyons Fr LHP 6 0 0 0 0 - 7.0 6 4 4 3 6 7.71 - 5.14 -
34 Nate Green Fr LHP 6 0 0 0 1 - 5.2 6 5 5 4 2 3.18 - 7.94 -
18 Christiannel Cosme So RHP 5 0 0 0 0 - 4.0 3 2 2 4 3 6.75 - 4.50 -
37 Axel Cruz Fr RHP 5 0 0 0 0 - 3.2 8 8 7 4 3 7.36 - 17.18 -
9 Christian Salinas So RHP 1 0 1 0 0 - 2.0 4 1 1 - - .00 - 4.50 -
13 Emmanuel Flores Fr RHP 2 0 0 0 0 - 1.0 0 1 1 2 1 9.00 - 9.00 -
38 Andrew Hernandez So RHP 1 0 0 0 0 - 1.0 1 0 0 0 0 .00 - 0.00 -
26 Derek Anderson Fr RHP 1 0 0 0 0 - 0.0 5 5 5 0 0 .00 - INF -
  Totals     21 21 11 10 3 3 193.1 239 116 101 91 122 5.68 5 4.70 1.71
  Opponent     21 21 10 11 1 1 193.2 212 107 73 60 139 6.46 4 3.39 -
Fielding
There was a problem with a Velocity script
Page/httpd/prestosports/site-public/WEB-INF/themes/generic/teaminfo-network-template
ErrorInvocation of method 'includeAgain' in class com.prestosports.render.ContentEngineInvoker threw exception javax.servlet.ServletException: javax.servlet.ServletException: java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 42,850 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago. at /httpd/prestosports/site-public/WEB-INF/themes/generic/teaminfo-network-template[line 185, column 14]
Page source:
1:   ## PICK UP OPTIONS
2:   $website.include("options")
3:   #set ($options = $request.getAttribute("options"))
4: 
5:   #set ($locale = "en_us")
6:   #set ($locale = $options.get("locale"))
7: 
8:   #set ($showconf = true)
9:   #if ($options.get("stats_hide_conference") and $options.get("stats_hide_conference").equalsIgnoreCase("hide"))
10:     #set ($showconf = false)
11:   #end
12: 
13:   #set ($teamId = $attributes.get("teamId"))
14:   #set ($stats = $splits.overall)
15: 
16:   #set ($pos = "")
17:   #if ($sport.enumCode == 0) ## Football
18:     #set ($pos = "off")
19:   #elseif ($sport.enumCode == 2) ## Basketball
20:     #set ($pos = "sh")
21:   #elseif ($sport.enumCode == 3) ## Soccer
22:     #set ($pos = "kickers")
23:   #elseif ($sport.enumCode == 9) ## Field Hockey
24:     #set ($pos = "fielder")
25:   #end
26: 
27:   #set ($posEsc = $formatter.escapeXml($request.getParameter("pos").toLowerCase()))
28:   #if ($posEsc.length() > 0)
29:     #set ($pos = $posEsc)
30:   #end
31: 
32:   #if ($sport.enumCode == 2) ## Basketball
33:     #if ($pos == "bc")
34:       #set ($pos = "sh")
35:     #end
36:     #if ($pos == "bt")
37:       #set ($pos = "st")
38:     #end
39:     #if ($pos == "bm")
40:       #set ($pos = "sm")
41:     #end
42:   #end
43: 
44:   #if ($sport.enumCode == 3) ## Soccer
45:     #if ($pos == "goalie")
46:       #set ($pos = "kickers")
47:     #end
48:     #if ($pos == "gg")
49:       #set ($pos = "kg")
50:     #end
51:   #end
52:   #if ($sport.enumCode == 9) ## Field Hockey
53:     #if ($pos == "goalie")
54:       #set ($pos = "fielder")
55:     #end
56:     #if ($pos == "gg")
57:       #set ($pos = "kg")
58:     #end
59:   #end
60: 
61:   #set ($view = "profile")
62:   #if ($request.getParameter("view"))
63:     #set ($view = $formatter.escapeXml($!request.getParameter("view")))
64:   #end
65: 
66:   #if($briefsCategoriesLabels)
67:   	#set($briefsCategoriesSeason = $briefsCategoriesLabels.get("Season"))
68:   	#set($firstCategoryPos = $briefsCategoriesSeason.keySet().iterator().next())
69:   #end
70: 
71:   #set ($showRoster = false)
72:   #if ($options.get("stats_show_roster") and $options.get("stats_show_roster").equalsIgnoreCase("yes"))
73:     #set ($showRoster = true)
74:   #end
75: 
76:   #set ($showAttendance = true)
77:   #if ($options.get("stats_show_attendance") and $options.get("stats_show_attendance").equalsIgnoreCase("hide"))
78:     #set ($showAttendance = false)
79:   #end
80: 
81:   ## MACROS
82:   #macro (printResultAriaLabel $event)
83: 	#set ($ariaLabel = "${event.sport} event: ${formatter.formatDate($event.date, 'MMMM d hh:mm a:')}")
84: 	#if ($event.neutralSite.length() > 0 || $event.home) 
85: 		#set ($ariaLabel = "${ariaLabel} vs.")
86: 	#else
87: 		#set ($ariaLabel = "${ariaLabel} at")
88: 	#end
89: 	#set ($ariaLabel = "${ariaLabel} ${event.opponent.name}:")
90: 	#if ($event.neutralSite.length() > 0)
91: 		#set ($ariaLabel = "${ariaLabel} @ ${event.neutralSite}:")
92: 	#end
93: 	#set ($ariaLabel = "${ariaLabel} Box Score")
94: 	aria-label="$ariaLabel"
95:   #end
96:   
97:   #macro(printSubTab $active $url $label $class $ariaLabel)	
98:     <li #if ($active) class="active"#end>
99:   	  <a href="${url}" #if ($class.length() > 0)class="$!{class}"#end role="button" aria-label="${ariaLabel}: ${label} Stats">${label}</a>
100:   	</li>
101:   #end
102: 
103:   #macro(printSeasonGameMinutesTabs $r $v $ariaLabel)
104:   #if($briefsCategoriesLabels.containsKey("Game"))
105:     <div class="tab-nav" data-module="jscroll" data-momentum="false">
106:     <div><ul class="clearfix">
107:   	#set($briefsCategoriesGame = $briefsCategoriesLabels.get("Game"))
108:   	#set($gamePos = $briefsCategoriesGame.keySet().iterator().next())
109:   	
110:   	## Print the Game tab
111:   	#printSubTab($pos.equals($gamePos), "${url}?view=${v}&r=${r}&pos=${gamePos}", "Game", "t_game", $ariaLabel)	
112:     	
113:   	## Print the Season tab
114:   	#printSubTab($pos.equals($firstCategoryPos), "${url}?view=${v}&r=${r}&pos=${firstCategoryPos}", "Season", "t_season", $ariaLabel)
115:     	
116:   	#if($briefsCategoriesLabels.containsKey("Minutes"))
117:   		#set($briefsCategoriesMinutes = $briefsCategoriesLabels.get("Minutes"))
118:   		#set($minutesPos = $briefsCategoriesMinutes.keySet().iterator().next())
119:     		
120:   		#set($showMinutesTab = false)
121:     		
122:   		#if($lineupMinTeam && $lineupMinTeam.containsKey($minutesPos))
123:   			#set($lineupMinOverallValues = $lineupMinTeam.get($minutesPos))
124:   			
125:   			#set($lineupMinOverallStat = $lineupMinOverallValues[0])
126:   			#set($lineupMinOverallMinVal = $lineupMinOverallValues[1])
127:   			#set($lineupMinOverallMinNumericValue = $tool.number.toNumber($lineupMinOverallMinVal))
128:   			
129:   		#if ($tool.math.round($splits.overall[$lineupMinOverallStat]) && $tool.math.round($splits.overall[$lineupMinOverallStat]) >= $lineupMinOverallMinNumericValue)
130:   				#set($showMinutesTab = true)
131:   			#end	
132:   		#end	
133:     		
134:   		## Print the Minutes tab
135:   	 	#if($showMinutesTab)
136:   			#printSubTab($pos.equals($minutesPos), "${url}?view=${v}&r=${r}&pos=${minutesPos}", "Minutes", "t_minutes", $ariaLabel)
137:   		#end
138:   		
139:   	#end
140:     </ul>
141:     </div>
142:     </div>
143:   #end
144:   #end
145: 
146:   #macro(printBriefCategory $briefCatLabel $briefCatPos $r)
147:   	#if($locale == "en_gb" && $briefCatLabel == "Defense")
148:       	#set($briefCatLabel = "Defence")
149:       #end
150:   	
151:   	#if($lineupDefaultSorting && $lineupDefaultSorting.containsKey($briefCatPos))
152:   		#set($sort = $lineupDefaultSorting.get($briefCatPos))
153:   	#end	
154:   	
155:   	#if($allowChooseSort)
156:   		#set ($sortEsc = $formatter.escapeXml($request.getParameter("sort")))
157:   		#if ($sortEsc.length() > 0)
158:   			#set ($sort = $sortEsc)
159:   		#end
160:   	#end
161:   	
162:   	#set ($url = "../players?teamId=${attributes.teamId}&view=lineup&sort=$!{sort}&pos=${briefCatPos}&r=${r}")
163:   	
164:   	#if($lineupMin && $lineupMin.containsKey($briefCatPos))
165:   		#set($minStat = $lineupMin.get($briefCatPos))
166:   		#set($url = $url + "&min=" + $minStat)
167:   	#end
168:   	
169:   	#if($lineupFilters)
170:   		#if($lineupFilters.containsKey("cs"))
171:   			#set($url = $url + "&cs=n")
172:   		#end
173:   		
174:   		#if($lineupFilters.containsKey("skipBlank"))
175:   		    #set($skipBlank = $lineupFilters.get("skipBlank"))	
176:   			
177:   			#if($skipBlank.contains($briefCatPos))
178:   				#set($url = $url + "&skipBlank=n")
179:   			#end	
180:   		#end	
181:   	#end	
182:   	
183: 	<div style="display:block; padding:5px 0; margin-bottom:10px; line-height:1; text-transform:uppercase; text-align:center" class="accent-bg"><strong>$briefCatLabel</strong></div>
184: 	
185:     $website.includeAgain($url)	
186:     
187:   #end ## printBriefCategory
188: 
189:   #macro(printBriefCategories $r)
190:   ## Set this for the inner page to pull something out
191:   #if ($r == "1")
192:     $!request.setAttribute("teamStats", $splits.conference)
193:   #else
194:     $!request.setAttribute("teamStats", $splits.overall)
195:   #end
196: 
197:   #if($briefsCategoriesLabels)
198:   	#set($allowChooseSort = false)
199:   	
200:   	#if($lineupFilters && $lineupFilters.containsKey("allowChooseSort"))
201:   		#set($allowChooseSort = true)
202:   	#end
203: 
204:     #if($briefsCategoriesLabels.containsKey("Game"))
205:   	  #set($briefsCategoriesGame = $briefsCategoriesLabels.get("Game"))
206:       	
207:       ## Print Game categories tables
208:       ## Get the first Game category position
209:       #set($gamePos = $briefsCategoriesGame.keySet().iterator().next())
210:       
211:       ## GAME
212:       <div class="tab-panel clearfix #if ($pos.equals($gamePos)) active #end">
213:         #foreach($briefsCatGame in $briefsCategoriesGame.entrySet())
214:           #printBriefCategory($briefsCatGame.value, $briefsCatGame.key, $r)
215:         #end
216:       </div>
217: 
218:       ## Print the Season categories tables
219:   	  #set($briefsCategoriesSeason = $briefsCategoriesLabels.get("Season"))
220:    
221:       ## SEASON
222:       <div class="tab-panel clearfix #if ($pos.equals($firstCategoryPos)) active #end">
223:   		  #foreach($briefCat in $briefsCategoriesSeason.entrySet())
224:   			  #printBriefCategory($briefCat.value, $briefCat.key, $r)
225:   		  #end
226:       </div>
227:   		
228:   		
229:       ## Print the Minutes categories tables
230:   		#if($briefsCategoriesLabels.containsKey("Minutes"))
231:   		
232:   		  #set($briefsCategoriesMinutes = $briefsCategoriesLabels.get("Minutes"))
233:   		  #set($minutesPos = $briefsCategoriesMinutes.keySet().iterator().next())
234:       		
235:   		  #set($showMinutesTab = false)
236:   		  #if($lineupMinTeam && $lineupMinTeam.containsKey($minutesPos))
237:           #set($lineupMinOverallValues = $lineupMinTeam.get($minutesPos))
238:   			
239:           #set($lineupMinOverallStat = $lineupMinOverallValues[0])
240:           #set($lineupMinOverallMinVal = $lineupMinOverallValues[1])
241:           #set($lineupMinOverallMinNumericValue = $tool.number.toNumber($lineupMinOverallMinVal))
242:   			
243:           #if($tool.math.round($splits.overall[$lineupMinOverallStat]) && $tool.math.round($splits.overall[$lineupMinOverallStat]) >= $lineupMinOverallMinNumericValue)
244:   				  #set($showMinutesTab = true)
245:           #end	
246:   		  #end
247: 
248:         #if ($showMinutesTab)
249:           ## MINUTES
250:           <div class="tab-panel clearfix #if ($pos.equals($minutesPos)) active #end">
251:     			  #foreach($briefsCatMinutes in $briefsCategoriesMinutes.entrySet())
252:               #printBriefCategory($briefsCatMinutes.value, $briefsCatMinutes.key, $r)
253:     			  #end
254:           </div>
255:   			#end
256:   		#end ## end minutes
257: 
258:   	#else
259: 
260:   		#set($briefsCategoriesSeason = $briefsCategoriesLabels.get("Season"))
261:   		## SINGLE SEASON
262:   		#foreach($briefCat in $briefsCategoriesSeason.entrySet())
263:   			#printBriefCategory($briefCat.value, $briefCat.key, $r)
264:     	#end
265: 
266:   	#end
267: 
268:   #elseif($lineupFilters)
269: 
270:   	## All of the supported sports has lineupFilters, so print it without matter it does not have briefs category, yeah voleyball is you :)
271:   	#set ($sort = $formatter.escapeXml($request.getParameter("sort")))
272:   	#set ($url = "../players?teamId=${attributes.teamId}&view=lineup&sort=$!{sort}&r=${r}")
273:   	$website.includeAgain($url) 
274: 
275:   #else
276:   	We do not support this sport
277:   #end
278: 
279:   #end ## printBriefCategories
280: 
281:   #macro (printLineupTabs $r $v $ariaLabel)
282:     #if($briefsCategoriesLabels.containsKey("Game"))
283:       <div class="tab-container secondary tab-container-floated clearfix" data-module="stats/tabs" data-type="secondary">
284:         #printSeasonGameMinutesTabs($r $v $ariaLabel)
285:         <div class="tab-panels tab-panels-floated clearfix">
286:           #printBriefCategories($r)
287:         </div>
288:       </div>
289:     #else
290:       #printBriefCategories($r)
291:     #end
292:   #end ## printLineupTabs
293: 
294:   #macro (printCategories $briefCategoryLabels $v $ariaLabel)
295:   <div class="tab-container secondary clearfix" data-module="stats/tabs" data-type="secondary">
296:     <div class="tab-nav" data-module="jscroll" data-momentum="false">
297:       <div>
298:         <ul class="clearfix">
299: 		#foreach($label in $briefCategoryLabels.entrySet())
300: 			#set($catLabel = $label.value)
301: 			#if ($locale == "en_gb" && $catLabel == "Defense")
302: 				#set ($catLabel = "Defence")
303: 			#end
304: 			<li #if ($pos == $label.key || ($pos.length() == 0 && $velocityCount == 1)) class="active" #end>  
305: 				<a href="${page.url}?view=${v}&pos=${label.key}" role="button" aria-label="${ariaLabel}: ${catLabel}">${catLabel}</a>
306: 			</li>
307: 		#end
308:         </ul>
309:       </div>
310:     </div>
311:     <div class="tab-panels">
312:       #foreach ($briefCat in $briefCategoryLabels.entrySet())
313:         #set ($class = "tab-panel clearfix")
314:         #if ($briefCat.key == $pos || ($velocityCount == 1 && $pos.length() == 0))
315:           #set ($class = "tab-panel active clearfix")
316:         #end
317:         <div class="${class}">
318:           <div class="stats-wrap clearfix">
319:             #if ($v == "gamelog")
320:               #gamelogData($briefCat.key)
321:             #elseif ($v == "splits")
322:               #splitsTeamNetworkData($briefCat.key)
323:             #end
324:           </div>
325:         </div>
326:       #end  
327:     </div>
328:   </div> ## tab-container
329:   #end ## printCategories
330: 
331:   #macro (printHighlights)
332:   #if ($highlights)
333:     <div class="highlights highlights-standalone accent-bg">
334:       #foreach ($highlight in $highlights.keySet())
335:         #set ($value = "-")
336:         #set ($value = $formatter.formatNumber($stats.get($highlight), $formats.get($highlight)))
337:         <div class="stat clearfix">
338:           <span class="stat-title">$!highlights.get($highlight)</span>
339:           <span class="stat-value">$!value</span>
340:         </div>
341:       #end
342:     </div>
343:   #end ## has highlights
344:   #end ## macro printHighlights
345: 
346:   #macro (gamelogData $p)
347:   #set ($gamelogStats = $gamelogs.get($p))
348: 
349:   <div class="stats-box full clearfix">
350:       <div class="scrollable">
351:           <div>
352:               <table>
353:                   <tr class="thead accent-bg">
354:                       <th class="text">Date</th>
355:                       <th class="pinned-col text">Opponent</th>
356:                       <th>Score</th>
357:                       #foreach ($gamelog in $gamelogStats)
358:                         <th>$gamelog</th>
359:                       #end
360:                   </tr>
361:                   #foreach ($event in $events)
362:   	                <tr>
363:   	                    <td class="text">
364:   	                      $formatter.formatDate($event.event.date, "MMM d") 
365:   	                      #if (!$event.event.overall)
366:   	                        #set ($atLeastOneNotOverall = true) # 
367:   	                      #end
368:   	                    </td>
369:   	                    <td class="pinned-col text">
370:   	                        #if ($event.event.neutralSite.length() > 0) vs. #elseif (!$event.event.home) at #end
371:   	                        $event.event.opponent.name
372:   	                    </td>
373:   	                    <td>
374:   	                        #if ($event.event.statusCode >= 0)
375:   	                          #if ($event.event.eventId.length() > 0 && $event.stats.size() > 0)
376:                                   <a #printResultAriaLabel($event.event) href="../boxscores/${formatter.formatBoxScoreLink($event.event)}">${event.event.APResult}</a>
377:   	                          #else
378:   	                            ${event.event.APResult}
379:   	                          #end
380:   	                        #else &nbsp; #end
381:   	                    </td>
382:   	                    #foreach ($gamelog in $gamelogStats.keySet())
383:   	                      #set ($value = "-")
384:   	                      #set ($value = $formatter.formatNumber($event.stats.get($gamelog), $formats.get($gamelog)))
385:   	                      <td>$value</td>
386:   	                    #end
387:   	                </tr>
388:                   #end
389:               </table>
390:           </div>
391:       </div> ## scrollable
392:   </div> ## stats-box
393: 
394:   #end ## gamelogData
395: 
396:   #macro (printRecentGames)
397:   <table>
398:       <tr class="thead accent-bg"><th colspan="3">Recent Games</th></tr>
399: 
400:       #set ($eventEnd = -1)
401:       #foreach ($event in $events)
402:         #if ($event.event.result.resolved)
403:           #set ($eventEnd = $velocityCount)
404:         #end
405:       #end
406: 
407:       #set ($eventStart = $eventEnd - 5)
408:       #if ($eventStart < 0) #set ($eventStart = 0) #end
409: 
410:       #foreach ($event in $events)
411:       #if ($velocityCount >= $eventStart and $velocityCount <= $eventEnd)
412:       <tr>
413:           <td class="text">$formatter.formatDate($event.event.date, "MMM d")</td>
414:           <td class="text">
415:               #if ($event.event.neutralSite.length() > 0) vs.
416:               #elseif (!$event.event.home) at
417:               #else ## nothing for a home game
418:               #end
419:               $event.event.opponent.name
420:           </td>
421:           <td class="text">
422:               #if ($event.event.statusCode >= 0)
423:               #if ($event.event.eventId.length() > 0 && $event.stats.size() > 0)
424:                   <a #printResultAriaLabel($event.event) href="../boxscores/${formatter.formatBoxScoreLink($event.event)}">${event.event.APResult}</a>
425:               #else
426:               ${event.event.APResult}
427:               #end
428:               #end
429:           </td>
430:       </tr>
431:       #end ## if
432:       #end
433:   </table>
434:   #end ## printRecentGames
435: 
436:   #macro (splitTeamNetwork $statPosBriefs $label $stats)
437:     <tr>
438:       <td class="pinned-col text">${label}</td>
439:       #foreach ($brief in $statPosBriefs.keySet())
440:         #set ($value = "-")
441:         #set ($value = $!formatter.formatNumber($stats.get($brief), $formats.get($brief)))
442:         <td>#if ($value.length() > 0) $value #else - #end</td>
443:       #end
444:     </tr>
445:   #end ## split
446: 
447:   #macro (splitsTeamNetworkData $p)
448:   #set ($statPosBriefs = $briefs.get($p))
449:   #set ($colspan = $statPosBriefs.size())  
450:     
451:   #if ($statPosBriefs.size() > 0)
452:   <div class="stats-box full clearfix">
453:   <div class="scrollable">
454:   <div>
455:   <table>
456:     <tr class="accent-bg">
457:       <th class="pinned-col">&nbsp;</th>
458:       #foreach ($brief in $statPosBriefs)
459:         <th>$brief</th>
460:       #end
461:     </tr>
462: 
463:   #splitTeamNetwork($statPosBriefs, "Total", $splits.overall)
464:   #if ($showconf)
465:     #splitTeamNetwork($statPosBriefs, "Conference", $splits.conference)
466:     #splitTeamNetwork($statPosBriefs, "Exhibition", $splits.exhibition)
467:   #else
468:     #splitTeamNetwork($statPosBriefs, "Exhibition", $splits.exhibition)
469:   #end ## hide overall/conf
470: 
471:   <tr class="empty-row">
472: 	<td class="pinned-col">&nbsp;</td>
473: 	<td colspan="$colspan"><div class="empty-cell">-</div></td>
474:   </tr>
475: 
476:   #splitTeamNetwork($statPosBriefs, "Home", $splits.home)
477:   #splitTeamNetwork($statPosBriefs, "Away", $splits.away)
478:   #splitTeamNetwork($statPosBriefs, "Neutral", $splits.neutral)
479: 
480:   <tr class="empty-row">
481: 	<td class="pinned-col">&nbsp;</td>
482: 	<td colspan="$colspan"><div class="empty-cell">-</div></td>
483:   </tr>
484: 
485:   #foreach($gameResult in $gamesResults.entrySet())
486:     #if ($gameResult.key == "wins")
487:       #set ($splitGameResult = $splits.inWins)
488:     #elseif ($gameResult.key == "losses")
489:       #set ($splitGameResult = $splits.inLosses)
490:     #elseif ($gameResult.key == "ties")
491:       #set ($splitGameResult = $splits.inTies)
492:     #end
493:     
494:     #splitTeamNetwork($statPosBriefs, $gameResult.value, $splitGameResult)
495:   #end
496: 
497:   <tr class="empty-row">
498: 	<td class="pinned-col">&nbsp;</td>
499: 	<td colspan="$colspan"><div class="empty-cell">-</div></td>
500:   </tr>
501: 
502:   #if ($monthsPlayed and $monthsPlayed.size() > 0)
503:     #foreach($month in $monthsPlayed)
504:       #if ($month == 'January')
505:         #set ($splitMonth = $splits.january)
506:       #elseif ($month == 'February')
507:         #set ($splitMonth = $splits.february)
508:       #elseif ($month == 'March')
509:         #set($splitMonth = $splits.march)
510:       #elseif ($month == 'April')
511:         #set($splitMonth = $splits.april)
512:       #elseif ($month == 'May')
513:         #set ($splitMonth = $splits.may)
514:       #elseif ($month == 'June')
515:         #set ($splitMonth = $splits.june)
516:       #elseif ($month == 'July')
517:         #set($splitMonth = $splits.july)
518:       #elseif ($month == 'August')
519:         #set ($splitMonth = $splits.august)
520:       #elseif ($month == 'September')
521:         #set($splitMonth = $splits.september)
522:       #elseif ($month == 'October')
523:         #set($splitMonth = $splits.october)
524:       #elseif ($month == 'November')
525:         #set ($splitMonth = $splits.november)
526:       #elseif ($month == 'December')
527:         #set($splitMonth = $splits.december)
528:       #end
529:       
530:       #splitTeamNetwork($statPosBriefs, $month, $splitMonth)
531:     #end ## foreach
532:   #end
533:   </table>
534:   </div>
535:   </div> ## scrollable
536:   </div> ## srollable-table
537:   #end
538: 
539:   #end ## splitsTeamNetworkData
540: 
541: 
542:   ############ END MACROS #############
543: 
544: #set ($pageTitle = $page.title)
545: #if ($pageTitle.trim().length() == 0)
546: 	#set ($season = "")
547: 	#if ($page.url.matches(".*/\d{4}-\d{2}/.*"))
548: 		#set ($truncateStr = $page.url.split("/\d{4}-\d{2}/").get(0))
549: 		#set ($season = $page.url.replace($truncateStr, "").substring(1, 8))
550: 	#end
551: 	
552: 	#set ($gender = "")
553: 	#if ($sport.enumCode == 6 or $sport.enumCode == 10)
554: 	#else
555: 		#if ($page.url.matches(".*/sports/m.*") || $page.url.matches(".*/sports/m-*"))
556: 			##set ($gender = "Men's")
557: 		#elseif ($page.url.matches(".*/sports/w.*") || $page.url.matches(".*/sports/w-*"))
558: 			##set ($gender = "Women's")
559: 		#end
560: 	#end
561: 	
562: 	#set ($pageTitle = "${season} ${gender} ${sport} Statistics")
563: 
564: #end
565: 
566: #if ($attributes.get("school_name").length() > 0)
567:   #set ($pageTitle = "${pageTitle} - ${attributes.get('school_name')}")
568: #end
569: 
570: <head><title>$pageTitle</title></head>
571: <h1>$pageTitle</h1>
572: 	
573: 
574:   <div class="stats-container" data-module="stats/responsive-container">
575: 
576:   #printHighlights  
577: 
578:   ## TABS
579:   <div class="tab-container primary clearfix" data-module="stats/tabs" data-type="primary">
580:     <div class="tab-nav" data-module="jscroll" data-momentum="false">
581:         <div>
582:             <ul class="clearfix">
583:                 <li #if ($view == "profile")class="active"#end><a href="${page.url}?view=profile">Team Profile</a></li>
584:                 #if ($showRoster)
585:                   <li #if ($view == "roster")class="active"#end><a href="${page.url}?view=roster">Roster</a></li>
586:                 #end
587:                 <li #if ($view == "lineup")class="active"#end><a href="${page.url}?view=lineup">Lineup</a></li>
588:                 <li #if ($view == "gamelog")class="active"#end><a href="${page.url}?view=gamelog">Game Log</a></li>
589:                 <li #if ($view == "splits")class="active"#end><a href="${page.url}?view=splits">Split Stats</a></li>
590: 					
591: 				#set ($coachesViewUrl = "${page.url}?tmpl=teaminfo-network-monospace-template")
592: 				#set ($enumCode = $sport.enumCode)
593: 				#if ($enumCode == 2)
594: 					#set ($coachesViewUrl = "${coachesViewUrl}&sort=ptspg") 
595: 				#elseif ($enumCode == 1 || $enumCode == 11)
596: 					#set ($coachesViewUrl = "${coachesViewUrl}&sort=ab&pos=h")
597: 				#end
598: 				#if ($enumCode == 7 || $enumCode == 8 || $enumCode > 11) #else
599: 					<li data-skip="true"><a href="$coachesViewUrl" target="_blank">Coach's View</a></li>
600: 				#end
601:                 #if ($showAttendance)
602:                   <li #if ($view == "attendance")class="active"#end><a href="${page.url}?view=attendance">Attendance</a></li>
603:                 #end
604:             </ul>
605:         </div>
606:     </div> ## tab-nav
607: 
608:     <div class="tab-panels clearfix">
609:       ## TEAM PROFILE
610:       #set ($class = "tab-panel clearfix")
611:       #if ($view == "profile")
612:         #set ($class = "tab-panel active clearfix")
613:       #end
614:       <div class="${class}">
615:         <div class="clearfix stats-wrap">
616:           <div class="stats-box half">
617:             ## SCHEDULE INFORMATION
618:             $website.include("schedule?teamId=${teamId}&tmpl=schedule-data-template")
619: 
620:             #printRecentGames
621: 
622:           </div> ## stats-box
623: 
624:           <div class="stats-box half">
625:             ## RANKINGS
626:             $website.include("../teams?tmpl=stats-teams-rank-template&rank=${teamId}")
627:           </div>
628: 
629:         </div> ## stats-wrap
630:       </div> ## team profile
631: 
632:       ## ROSTER
633:       #if ($showRoster)
634:         #set ($class = "tab-panel clearfix")
635:         #if ($view == "roster")
636:           #set ($class = "tab-panel active clearfix")
637:         #end
638:         <div class="${class}">
639:           $website.includeAgain("../players?teamId=${teamId}&view=roster&tmpl=stats-bios-template")
640:         </div>
641:       #end
642: 
643:       ## LINEUP
644:       #set ($class = "tab-panel clearfix")
645:       #if ($view == "lineup")
646:         #set ($class = "tab-panel active clearfix")
647:       #end
648: 
649:       <div class="${class}">
650:         #set ($restriction = "0")
651:         #set ($restrictionEsc = $formatter.escapeXml($request.getParameter("r")))
652:         #if ($restrictionEsc.length() > 0)
653:           #set ($restriction = $restrictionEsc)
654:         #end
655: 
656:         ## start of overall/conference
657:         #set ($url = $request.requestURI)
658:         #if ($showconf)
659:           <div class="tab-container secondary #if($briefsCategoriesLabels.containsKey("Game")) tab-container-floated #end
660:            clearfix" data-module="stats/tabs" data-type="secondary">
661:             <div class="tab-nav" data-module="jscroll" data-momentum="false">
662:               <div>
663:                 <ul class="clearfix">
664:                   #printSubTab($restriction.equals("0"), "${url}?view=lineup&r=0&pos=${pos}", "Overall", "first t_overall", 'Lineup')
665:                   #printSubTab($restriction.equals("1"), "${url}?view=lineup&r=1&pos=${pos}", "Conference", "t_conf", 'Lineup')
666:                 </ul>
667:               </div>
668:             </div> ## tab-nav
669: 
670:             ## overall/conference tab panels
671:             <div class="tab-panels clearfix">
672: 
673:               ## overall
674:               <div class="tab-panel #if ($restriction.equals("0")) active #end">
675:                 #printLineupTabs(0 'lineup' 'Lineup: Overall Stats')
676:               </div> ## overall tab-panel
677: 
678:               ## conference
679:               <div class="tab-panel #if ($restriction.equals("1")) active #end">
680:                 #printLineupTabs(1 'lineup' 'Lineup: Conference Stats')
681:               </div> ## conference tab-panel
682: 
683:             </div> ## overall/conference tab-panels
684:           </div> ## tab-container
685: 
686:         #else ## no overall conf
687: 		  #set ($lineupAriaLabel = "Lineup: Overall Stats")
688: 		  #if ($restriction == 1)
689: 		    #set ($lineupAriaLabel = "Lineup: Conference Stats")	
690: 		  #end	
691:           #printLineupTabs($restriction 'lineup' $lineupAriaLabel)
692:         #end ## overall/conf
693:            
694:         Download roster:
695:         <a href="../players?teamId=${attributes.teamId}&view=ext">${rosterExtension} (First Last) </a> | 
696:         <a href="../players?teamId=${attributes.teamId}&view=ext&type=lf"> ${rosterExtension} (Last, First)</a>
697:         #if ($rosterExtraExtension)
698:           <a href="../players?teamId=${attributes.teamId}&view=exte">${rosterExtraExtension} (First Last)</a> | 
699:           <a href="../players?teamId=${attributes.teamId}&view=exte&type=lf">${rosterExtraExtension} (Last, First)</a>
700:         #end
701: 
702:       </div> ##lineup
703: 
704:       ## GAMELOG
705:       #set ($class = "tab-panel clearfix")
706:       #if ($view == "gamelog")
707:         #set ($class = "tab-panel active clearfix")
708:       #end
709:       <div class="${class}">
710:         #if($gamelogsCategoriesLabels && $gamelogsCategoriesLabels.size() > 1)
711:           #printCategories($gamelogsCategoriesLabels 'gamelog' 'Game log')
712:         #else
713:           <div class="stats-wrap clearfix">#gamelogData($pos)</div>
714:         #end ## gamelogsCategoriesLabels
715: 
716:       </div> ## gamelog
717: 
718:       ## SPLITS
719:       #set ($class = "tab-panel clearfix")
720:       #if ($view == "splits")
721:         #set ($class = "tab-panel active clearfix")
722:       #end
723:       <div class="${class}">
724:       #if($briefsTeamCategoriesLabels && $briefsTeamCategoriesLabels.size() > 1)
725:           #printCategories($briefsTeamCategoriesLabels 'splits' 'Splits Stats')
726:         #else
727:           <div class="stats-wrap clearfix">#splitsTeamNetworkData($pos)</div>
728:         #end ## briefsTeamCategoriesLabels
729:       </div> ## splits
730: 
731: 
732:       ## ATTENDANCE
733:       #if ($showAttendance)
734:         #set ($class = "tab-panel clearfix")
735:         #if ($view == "attendance")
736:           #set ($class = "tab-panel active clearfix")
737:         #end
738:         <div class="${class}">
739:           <div class="clearfix stats-wrap">
740:             <div class="stats-box full">
741:               <div class="scrollable">
742:               <div>
743:               <table>
744:                 <tr class="accent-bg">
745:                   <th class="text">Date</th>
746:                   <th class="text pinned-col">Opponent</th>
747:                   <th>Score</th>
748:                   <th>Attend</th>
749:                 </tr>
750:                 #set ($counter = 0)
751:                 #foreach ($event in $events)
752:                 <tr>
753:                   <td class="text">$formatter.formatDate($event.event.date, "MMM d")</td>
754:                   <td class="text pinned-col">
755:                   #if ($event.event.neutralSite.length() > 0) vs.
756:                   #elseif (!$event.event.home) at
757:                   #else ## nothing for a home game
758:                   #end
759:                   $event.event.opponent.name
760:                   </td>
761:                   <td>
762:                   #if ($event.event.statusCode >= 0)
763:                     #if ($event.event.eventId.length() > 0 && $event.stats.size() > 0)
764:                         <a #printResultAriaLabel($event.event) href="../boxscores/${formatter.formatBoxScoreLink($event.event)}">${event.event.APResult}</a>
765:                     #else
766:                       ${event.event.result}
767:                     #end
768:                   #else &nbsp; #end
769:                   </td>
770:                   <td>
771:                   #set ($value = "-")
772:                   #set ($value = $!formatter.formatNumber($event.stats.get('at'), $formats.get('at')))
773:                   #if ($value.length() > 0)$value#else - #end
774:                   </td>
775:               </tr>
776:               #end
777:             </table>
778:             </div>
779:             </div> ## scrollable
780:             </div> ## stats-box
781:           </div> ## stats-wrap
782:         </div> ## attendance
783:       #end ## showAttendance
784: 
785:     </div> ## tab-panels
786:   </div> ## tab-container
787:   </div> ## stats-container
788:   $wiki.su