Megan Sheehan | #04 |  | UMass Dartmouth

gp pts/g fg % 3pt % ft % reb/g a/g
20 2.8 38.8 40.5 50.0 1.2 0.6
  gp gs min fg pct 3pt pct ft pct pts
Total 20 - 224 19-49 38.8 15-37 40.5 3-6 50.0 56
Conference 10 - 111 12-30 40.0 9-22 40.9 2-4 50.0 35
Exhibition - - - 0-0 - 0-0 - 0-0 - 0

Home 10 - 88 7-17 41.2 5-13 38.5 1-2 50.0 20
There was a problem with a Velocity script
Pagebio-network-template
ErrorVM #split: too many arguments to macro. Wanted 2 got 3 at bio-network-template[line 691, column 1]
Page source:
1: ## MOBILE CHECK
2: #if ($browser.getIphone() || $browser.getMobile())
3: 	#set ($isMobile = true)
4: #else
5: 	#set ($isMobile = false)
6: #end
7: 
8: #set ($mobileNS = 'mobile-stats-')
9: #set ($mobileNSP = "#${mobileNS}")
10: 
11: ## PICK UP OPTIONS
12: $website.include("options")
13: #set ($options = $request.getAttribute("options"))
14: #set ($locale = "en_us")
15: #set ($locale = $options.get("locale"))
16: #set ($showCareer = $wiki.valid() && $seasons)
17: #if ("yes" == $options.get("stats_show_career") && $seasons)
18:   #set ($showCareer = "yes")
19: #end
20: 
21: #if ($locale == "en_us")
22:   #set ($defLabel = "Defense")
23: #elseif ($locale == "en_gb")
24:   #set ($defLabel = "Defence")
25: #end
26: 
27: #set ($pos = "")
28: #set ($pos = $attributes.get("position"))
29: 
30: #set ($posVec = $pos.split("/"))
31: #set ($pos = $posVec[0])
32: #set ($pos = $pos.toLowerCase())
33: #set ($pos = $positions.get($pos))
34: #set ($highlights = $highlights.get($pos))
35: #if ($request.getParameter("pos"))
36:   #set ($pos = $request.getParameter("pos"))
37:   #set ($pos = $pos.toLowerCase())
38:   #set ($pos = $positions.get($pos))
39: #end
40: #set ($labels = $labels.get($pos))
41: #set ($briefs = $briefs.get($pos))
42: #set ($gamelogs = $gamelogs.get($pos))
43: #set ($view = $!request.getParameter("view"))
44: #set ($url = ${page.url})
45: 
46: #set ($playerId = $attributes.get("playerId"))
47: 
48: #set ($stats = $splits.overall)
49: 
50: #macro (printHighlights)
51: 	#set ($cellWidth = $tool.math.toInteger($tool.math.div(100, $highlights.size())))
52: 	<table style="width:100%">
53: 	 <tr>
54: 		#foreach ($highlight in $highlights.keySet())
55: 		  <th #if ($isMobile) style="width:${cellWidth}%" #end><b>$!highlights.get($highlight)</b></th>
56: 		#end
57: 	 </tr>
58: 	 <tr>
59: 		#foreach ($highlight in $highlights.keySet())
60: 		  #set ($value = "-")
61: 		  ## #set ($format = $formats.get($highlight))
62: 		  ## #set ($value = $!formatter.formatNumber($stats.get($highlight), $format))
63: 		  #set ($value = $formatter.formatNumber($stats.get($highlight), $formats.get($highlight)))
64: 		  <td align="center">
65: 		  #if ($value.length() > 0)$value#else - #end
66: 		  </td>
67: 		#end
68: 	 </tr>
69: 	</table>
70: #end
71: 
72: #macro (printPosLink $posKey $label $tablePosition)
73: 	#if ($isMobile)
74: 		
75: 		#if ($tablePosition == 'first')
76: 			<select class="${mobileNS}tab-select" style="visibility:visible">
77: 		#end
78: 		
79: 		<option data-pos="${posKey}" value="${url}?view=${view}&pos=${posKey}" #if ($pos == $posKey) selected="selected" #end>${label}</option>
80: 		
81: 		#if ($tablePosition == 'last')
82: 			</select>
83: 		#end
84: 	#else
85: 		<li #if ($pos == $posKey) class="active" #end>	
86: 			<a href="${url}?view=${view}&pos=${posKey}">${label}</a>
87: 		</li>
88: 	#end
89: #end
90: 
91: 
92: ## CAREER STATS WILL PRINT LIKE THIS
93: #macro(split $label $stats $class)
94:     <tr class="$!{class}">
95:     <td class="${mobileNS}fixed-column">${label}</td>
96:     #foreach ($brief in $briefs.keySet())
97:       #set ($value = "-")
98:       #set ($value = $!formatter.formatNumber($stats.get($brief), $formats.get($brief)))
99:       <td align="center">
100:       #if ($value.length() > 0)$value#else - #end
101:       </td>
102:     #end
103:   </tr>
104: #end
105: 
106: #macro(printCategories $briefCategoryLabels)
107: 	#set($briefCategoryLabelsSize = $briefCategoryLabels.size())
108: 	#set($briefCategoryLabelsIndex = 0)
109: 		
110: 	#foreach($briefCat in $briefCategoryLabels.entrySet())
111: 		#set($isFirstLastVal = '')
112: 		
113: 		#if($briefCategoryLabelsIndex == 0)
114: 			#set($isFirstLastVal = 'first')
115: 		#elseif($briefCategoryLabelsIndex == $briefCategoryLabelsSize - 1)
116: 			#set($isFirstLastVal = 'last')
117: 		#end	
118: 		
119: 		#set($briefCatLabel = $briefCat.value)
120: 		
121: 		#if($locale == "en_gb" && $briefCatLabel == "Defense")
122: 			#set($briefCatLabel = "Defence")
123: 		#end	
124: 		
125: 		#printPosLink($briefCat.key, $briefCatLabel, $isFirstLastVal)
126: 		
127: 		#set($briefCategoryLabelsIndex = $briefCategoryLabelsIndex + 1)
128: 	#end	
129: #end
130: 
131: #set ($colspan = $briefs.size() + 1)
132: 
133: #macro (printHr)
134: #if (! $isMobile)
135: <tr><td colspan="${colspan}"><hr></td></tr>
136: #else
137: <tr>
138: 	<td class="${mobileNS}fixed-column">&nbsp;</td>
139: 	<td colspan="${colspan}">&nbsp;</td>
140: </tr>
141: #end
142: #end
143: 
144: #macro(printGamelogsCategories)
145: 	#set($gamelogsCategoriesLabelsSize = $gamelogsCategoriesLabels.size())
146: 	#set($gamelogsCategoriesLabelsIndex = 0)
147: 	
148: 	#foreach($gamelogsCatLabel in $gamelogsCategoriesLabels.entrySet())
149: 		
150: 		#set($isFirstLastVal = '')
151: 		
152: 		#if($gamelogsCategoriesLabelsIndex == 0)
153: 			#set($isFirstLastVal = 'first')
154: 		#elseif($gamelogsCategoriesLabelsIndex == $gamelogsCategoriesLabelsSize - 1)
155: 			#set($isFirstLastVal = 'last')
156: 		#end	
157: 		
158: 		#set($gamelogsCatLabelVal = $gamelogsCatLabel.value)
159: 		
160: 		#if($locale == "en_gb" && $gamelogsCatLabelVal == "Defense")
161: 			#set($gamelogsCatLabelVal = "Defence")
162: 		#end
163: 		
164: 		#printPosLink($gamelogsCatLabel.key, $gamelogsCatLabelVal, $isFirstLastVal)
165: 		
166: 		#set($gamelogsCategoriesLabelsIndex = $gamelogsCategoriesLabelsIndex + 1)
167: 	#end
168: #end
169: 
170: ## MOBILE
171: #if ($isMobile)
172: 
173: 
174: <div class="stats-wrapper mobile-stats">
175:     <h1>$!attributes.get("first_name") $!attributes.get("last_name")</h1>
176: 	<h2 class="page-subtitle">
177: 		<a href="../teams?id=$!{attributes.get("teamId")}">$!attributes.get("team")</a>
178: 		#if ($attributes.get("number")) | #$!attributes.get("number") #end 
179: 		#if ($attributes.get("position")) | $!attributes.get("position")#end
180: 		
181: 	</h2>
182: 	<img src="/info/mobile/mobile-js/photoswipe/loader.gif" alt="" id="mobile-stats-tabs-spinner" />
183: 	<div class="stats-tabs mobile-tabs">
184: 	<ul>
185: 		<li><a data-url="${page.url}" #if (!($view.length() > 0)) class="active" href="#Player_Profile" #else href="${page.url}" #end title="Player Profile">Profile</a></li>
186: 		<li><a data-url="${page.url}?view=gamelog" #if ($view == "gamelog") class="active" href="#Gamelog" #else href="${page.url}?view=gamelog" #end title="Gamelog">Games</a></li>
187:         #if ($showCareer)
188:           <li><a data-url="${page.url}?view=career" #if ($view == "career") class="active" href="#Career" #else href="${page.url}?view=career" #end title="Career Stats">Career</a></li>
189:         #end
190: 		<li><a data-url="${page.url}?view=splits" #if ($view == "splits") class="active" href="#Split_Stats" #else href="${page.url}?view=splits" #end title="Split Stats">Splits</a></li>
191: 	</ul>	
192: 
193: #if ($view == "gamelog" and $events) ## GAMELOG
194: 	
195: <div id="Gamelog">
196: <div class="${mobileNS}panel-wrapper" data-pos="${pos}">
197: #if($gamelogsCategoriesLabels)
198: 	#printGamelogsCategories()
199: #end
200: 
201: <div class="${mobileNS}panel-container">
202: <table><thead>
203: 	
204:   <tr>
205:     <th><b>Date</b></th>
206:     <th class="${mobileNS}fixed-column"><b>Opponent</b></th>
207:     <th><b>Score</b></th>
208:     #foreach ($gamelog in $gamelogs)
209:       <th><b>$gamelog</b></th>
210:     #end
211:   </tr>
212:   
213: </thead>
214: <tbody>
215: #foreach ($event in $events)
216:   <tr>
217:     <td>$formatter.formatDate($event.event.date, "MMM d")</td>
218:     <td class="${mobileNS}fixed-column ${mobileNS}no-wrap">
219:     #if ($event.event.neutralSite.length() > 0) vs.
220:     #elseif (!$event.event.home) at
221:     #else ## nothing for a home game
222:     #end
223:     $event.event.opponent.name</td>
224:     <td>
225:     #if ($event.event.statusCode >= 0)
226:       #if ($event.event.eventId.length() > 0 && $event.stats.size() > 0)
227:       <a href="../boxscores/${formatter.formatDate($event.event.date, "yyyyMMdd")}_${event.event.eventId.substring(0, 4)}.xml">${event.event.APResult}</a>
228:       #else
229:       ${event.event.APResult}
230:       #end
231:     #else &nbsp; #end
232:     </td>
233:     #foreach ($gamelog in $gamelogs.keySet())
234:       #set ($value = "-")
235:       #set ($value = $formatter.formatNumber($event.stats.get($gamelog), $formats.get($gamelog)))
236:       <td align="center">
237:       #if ($value.length() > 0)$value#else - #end
238:       </td>
239:     #end
240:   </tr>
241: #end
242: </tbody></table>
243: $wiki.su
244: 
245: </div> <!-- ${mobileNS}panel-container -->
246: </div> <!-- ${mobileNS}panel-wrapper -->
247: 
248: </div> <!-- Gamelog -->
249: 
250: #elseif ($view == "career" and $seasons) ## CAREER
251: 	
252: <div id="Career">
253: <div class="${mobileNS}panel-wrapper" data-pos="${pos}">
254: 
255: #if($briefsCategoriesLabels)
256: 	#printCategories($briefsCategoriesLabels)
257: #end
258: 
259: <div class="${mobileNS}panel-container">
260: <table><thead>
261: 
262:   <tr>
263:     <th class="${mobileNS}fixed-column">&nbsp;</th>
264:     #foreach ($brief in $briefs)
265:       <th><b>$brief</b></th>
266:     #end
267:   </tr>
268: 
269: $request.setAttribute("careerTotals", $career)
270: ## We track a map of the careers to see if we are missing any seasons
271: #set ($careerMap = {})
272: $request.setAttribute("careerMap", $careerMap)
273: #foreach ($season in $seasons)
274:   ## We need to include this season stats
275:   #set ($path = "${season.path}?tmpl=bio-career-template&name=${season.seasonName}&pos=${pos}&print=yes")
276:   $website.include($path)
277:   ## Check if we did not get stats for this season
278:   #if (!($careerMap.get($season.seasonName)) && $wiki.valid())
279:     <tr><td class="${mobileNS}fixed-column">${season.seasonName}</td><td colspan="${briefs.size()}" align="center">We could not find the "players" page in the ${season.seasonName} section.</td></tr>
280:   #end
281: #end
282: 
283: #split("Total", $career.overall, '')
284:   
285:   
286: </tbody></table>
287: $wiki.su
288: 
289: </div> <!-- ${mobileNS}panel-container -->
290: </div> <!-- ${mobileNS}panel-wrapper -->
291: 
292: </div> <!-- Career -->
293: 
294: 
295: 
296: 
297: 
298: 
299: 
300: #elseif ($view == "splits" and $events)
301: 
302: <div id="Split_Stats">
303: <div class="${mobileNS}panel-wrapper" data-pos="${pos}">
304: 
305: #if($briefsCategoriesLabels)
306: 	#printCategories($briefsCategoriesLabels)
307: #end
308: 
309: <div class="${mobileNS}panel-container">
310: <table><tbody>
311:   <tr>
312:     <th class="${mobileNS}fixed-column">&nbsp;</th>
313:     #foreach ($brief in $briefs)
314:       <th><b>$brief</b></th>
315:     #end
316:   </tr>
317: 
318: #split("Total", $splits.overall, '')
319: #split("Conference", $splits.conference, '')
320: #split("Exhibition", $splits.exhibition, '')
321: 
322: #printHr()
323: 
324: #split("Home", $splits.home, '')
325: #split("Away", $splits.away, '')
326: #split("Neutral", $splits.neutral, '')
327: 
328: #printHr()
329: 
330: #foreach($gameResult in $gamesResults.entrySet())
331: 	#if($gameResult.key == "wins")
332: 		#set($splitGameResult = $splits.inWins)
333: 	#elseif($gameResult.key == "losses")
334: 		#set($splitGameResult = $splits.inLosses)
335: 	#elseif($gameResult.key == "ties")
336: 		#set($splitGameResult = $splits.inTies)
337: 	#end
338: 	#split($gameResult.value, $splitGameResult, '')
339: #end	
340: 
341: #printHr()
342: 
343: #if($monthsPlayed and $monthsPlayed.size() > 0)
344: 	#foreach($month in $monthsPlayed)
345: 		#if($month == 'January')
346: 			#set($splitMonth =  $splits.january)
347: 		#elseif($month == 'February')
348: 			#set($splitMonth =  $splits.february)
349: 		#elseif($month == 'March')
350: 			#set($splitMonth =  $splits.march)
351: 		#elseif($month == 'April')
352: 			#set($splitMonth =  $splits.april)
353: 		#elseif($month == 'May')
354: 			#set($splitMonth =  $splits.may)
355: 		#elseif($month == 'June')
356: 			#set($splitMonth =  $splits.june)
357: 		#elseif($month == 'July')
358: 			#set($splitMonth =  $splits.july)
359: 		#elseif($month == 'August')
360: 			#set($splitMonth =  $splits.august)
361: 		#elseif($month == 'September')
362: 			#set($splitMonth =  $splits.september)
363: 		#elseif($month == 'October')
364: 			#set($splitMonth =  $splits.october)
365: 		#elseif($month == 'November')
366: 			#set($splitMonth =  $splits.november)
367: 		#elseif($month == 'December')
368: 			#set($splitMonth =  $splits.december)
369: 		#end
370: 		
371: 		#split($month, $splitMonth, "")	
372: 	#end	
373: #end	
374: 
375: </thead>
376: </table>
377: $wiki.su
378: </div> <!-- ${mobileNS}panel-container -->
379: </div> <!-- ${mobileNS}panel-wrapper -->
380: </div>
381: 
382: 
383: #else ## Player profile
384: 
385: <div id="Player_Profile">
386: 
387: #printHighlights()
388: 
389: ## LAST SIX GAMES
390: <table>
391:   <tr><th colspan="3">Recent Games</th></tr>
392: #set ($eventEnd = -1)
393: #foreach ($event in $events)
394:   #if ($event.event.result.resolved)
395:     #set ($eventEnd = $velocityCount)
396:   #end
397: #end
398: #set ($eventStart = $eventEnd - 5)
399: #if ($eventStart < 0) #set ($eventStart = 0) #end
400: #foreach ($event in $events)
401: #if ($velocityCount >= $eventStart and $velocityCount <= $eventEnd)
402:   <tr>
403:     <td>$formatter.formatDate($event.event.date, "MMM d")</td>
404:     <td>
405:     #if ($event.event.neutralSite.length() > 0) vs.
406:     #elseif (!$event.event.home) at
407:     #else ## nothing for a home game
408:     #end
409:     $event.event.opponent.name</td>
410:     <td>
411:     #if ($event.event.statusCode >= 0)
412:       #if ($event.event.eventId.length() > 0 && $event.stats.size() > 0)
413:       <a href="../boxscores/${formatter.formatDate($event.event.date, "yyyyMMdd")}_${event.event.eventId.substring(0, 4)}.xml">${event.event.APResult}</a>
414:       #else
415:       ${event.event.APResult}
416:       #end
417:     #end
418: 	</td>
419:   </tr>
420: #end ## if
421: #end
422: </table>
423: 
424: ## RANKING
425: $website.include("../players?tmpl=stats-bios-rank-template&rank=${playerId}&pos=${pos}")
426: 
427: $wiki.su
428: $!synopsis
429: <br>
430: #set ($briefbio = "${page.url}-brief")
431: #set ($stats = "${page.url}-stats")
432: $website.include($briefbio)
433: $website.include($stats)
434: <br>
435: 
436: </div> <!-- player profile -->
437: 
438: #end
439: 
440: </div> <!-- mobile-tabs -->
441: </div> <!-- mobile-stats -->
442: 
443: <script type="text/javascript">
444: 	mobileConf = {
445: 		page : 'stats',
446: 		pageParams : {
447: 		#if (!($view.length() > 0))
448: 			activeStatTab : $('#Player_Profile')
449: 		#elseif ($view == "gamelog")
450: 			activeStatTab : $('#Gamelog')
451: 		#elseif ($view == "career")
452: 			activeStatTab : $('#Career')
453: 		#elseif ($view == "splits")
454: 			activeStatTab : $('#Split_Stats')
455: 		#end
456: 		}
457: 	}
458: </script>
459: 
460: 
461: 
462: #else ## DESKTOP
463: 
464: <html>
465: <head>
466: <title>
467: $!attributes.get("first_name") $!attributes.get("last_name") | #if ($attributes.get("number"))#$!attributes.get("number") | #end#if ($attributes.get("position"))$attributes.get("position") | #end $attributes.get("team")
468: </title>
469: </head>
470: <body>
471: 
472: <div class="stats-wrapper clearfix">
473: 
474: #if ($page.title.length() > 0)
475: 	<h1>$page.title</h1>
476: #end
477: 	
478: <h2>
479: $!attributes.get("first_name") $!attributes.get("last_name")&nbsp;<span style="color: #ccc; font-weight: normal;">|</span>&nbsp;#if ($attributes.get("number"))#$!attributes.get("number")&nbsp;<span style="color: #ccc; font-weight: normal;">|</span>&nbsp;#end#if ($attributes.get("position"))$attributes.get("position")&nbsp;<span style="color: #ccc; font-weight: normal;">|</span>&nbsp;#end<a href="../teams?id=$!{attributes.get("teamId")}">$attributes.get("team")</a>
480: </h2>
481: 
482: <div class="clearfix"> #printHighlights() </div>
483: 
484: ## TABS
485: <div class="stats-tabs clearfix">
486: <ul class="clearfix">
487:   <li #if (!($view.length() > 0))class="active"#end><a href="${page.url}">Player Profile</a></li>
488: ## <li #if ($view == "lineup")class="active"#end"><a href="${page.url}?view=lineup">Lineup</a></li>
489:   <li #if ($view == "gamelog")class="active"#end><a href="${page.url}?view=gamelog">Game Log</a></li>
490:   #if ($showCareer)
491:     <li #if ($view == "career")class="active"#end><a href="${page.url}?view=career">Career Stats</a></li>
492:   #end
493:   <li #if ($view == "splits")class="active"#end><a href="${page.url}?view=splits">Split Stats</a></li>
494: </ul>
495: </div>
496: 
497: ## BIO-PHOTOS
498: ## DO NOT EDIT STYLE OR TEMPLATE BELOW
499: #*
500: <div class="bio-photo">
501: #if ($headshot.url)
502:   <img src="$headshot.url?max_height=200&max_width=150" alt="" />
503: #else
504:   <img src="/images/setup/headshot_default.jpg" alt="" />
505: #end
506: </div>
507: 
508: 
509: <div class="bio-data">
510: 
511: ## COACHES
512:    #if ($attributes.get("title"))
513:     <div><span>Title:</span>  $!attributes.get("title")</div>
514:    #end
515:    #if ($attributes.get("email_address"))
516:     <div><span>Email:</span>  <a href="mailto:$!attributes.get("email_address")">$!attributes.get("email_address")</a></div>
517:    #end
518:    #if ($attributes.get("phone1"))
519:     <div><span>Phone:</span>  $!attributes.get("phone1")</div>
520:    #end
521: 
522: 
523: ## ATHLETES
524: 
525:    #set ($year = $!attributes.get("year"))
526:    #if ($attributes.get("year"))
527:     <div><span>Year:</span> $attributes.get("year")</div>
528:    #end
529:    #if ($attributes.get("position"))
530: 
531:     <div><span>Position:</span> $attributes.get("position")</div>
532:    #end
533:    #if ($attributes.get("hometown"))
534:     <div><span>Hometown:</span> $attributes.get("hometown")</div>
535:    #end
536:    #if ($attributes.get("highschool"))
537:     <div><span>High School:</span> $attributes.get("highschool")</div>
538:    #end
539:    #if ($attributes.get("college"))
540:     <div><span>College:</span> $attributes.get("college")</div>
541:    #end
542:    #if ($attributes.get("height"))
543:     <div><span>Height:</span> $attributes.get("height")</div>
544:    #end
545:    #if ($attributes.get("weight"))
546:     <div><span>Weight:</span> $attributes.get("weight")</div>
547:    #end
548:    #if ($attributes.get("major"))
549:     <div><span>Major:</span> $attributes.get("major")</div>
550:    #end
551:    #if ($attributes.get("custom1"))
552:     <div><span>Bat/Throw:</span> $attributes.get("custom1")</div>
553:    #end
554: </div>
555: 
556: ## DO NOT EDIT STYLE OR TEMPLATE ABOVE
557: *#
558: 
559: 
560: #if ($view == "gamelog" and $events)
561: <div class="stats-fullbox clearfix">
562: 
563: ## SECONDARY TABS FOR ONLY FOOTBALL,  BASEBALL AND BASKETBALL AND SOFTBALL
564: #if($gamelogsCategoriesLabels)	
565: <div class="stats-tabs-secondary clearfix">
566: <ul class="clearfix">
567: 
568: #printGamelogsCategories()
569: 
570: </ul>
571: </div> ## stats-tabs-secondary
572: 
573: #end ## sport check for secondary tabs
574: 
575: <table>
576:   <tr>
577:     <th>Date</th>
578:     <th>Opponent</th>
579:     <th>Score</th>
580:     #foreach ($gamelog in $gamelogs)
581:       <th>$gamelog</th>
582:     #end
583:   </tr>
584: 
585: #set ($counter = 0)
586: #foreach ($event in $events)
587:  #set ($counter = $counter + 1)
588:  #if ($counter % 2 == 0)
589:   #set ($row = "even")
590:  #else
591:   #set ($row = "odd")
592:  #end
593:   <tr class="${row}">
594:     <td>$formatter.formatDate($event.event.date, "MMM d")</td>
595:     <td>
596:     #if ($event.event.neutralSite.length() > 0) vs.
597:     #elseif (!$event.event.home) at
598:     #else ## nothing for a home game
599:     #end
600:     $event.event.opponent.name</td>
601:     <td align="center">
602:     #if ($event.event.statusCode >= 0)
603:       #if ($event.event.eventId.length() > 0 && $event.stats.size() > 0)
604:       <a href="../boxscores/${formatter.formatDate($event.event.date, "yyyyMMdd")}_${event.event.eventId.substring(0, 4)}.xml">${event.event.APResult}</a>
605:       #else
606:       ${event.event.APResult}
607:       #end
608:     #else &nbsp; #end
609:     </td>
610:     #foreach ($gamelog in $gamelogs.keySet())
611:       #set ($value = "-")
612:       #set ($value = $formatter.formatNumber($event.stats.get($gamelog), $formats.get($gamelog)))
613:       <td align="center">
614:       #if ($value.length() > 0)$value#else - #end
615:       </td>
616:     #end
617:   </tr>
618: #end
619: </table>
620: </div>
621: 
622: $wiki.su
623: 
624: 
625: #elseif ($view == "career" and $seasons)
626: 
627: <div class="stats-fullbox clearfix">
628: 
629: #if($briefsCategoriesLabels)
630: 	<div class="stats-tabs-secondary clearfix">
631: 		<ul class="clearfix">
632: 			#printCategories($briefsCategoriesLabels)
633: 		</ul>
634: 	</div> ## stats-tabs-secondary
635: #end
636: 
637: <table>
638:   <tr>
639:     <th>&nbsp;</th>
640:     #foreach ($brief in $briefs)
641:       <th>$brief</th>
642:     #end
643:   </tr>
644: 
645: $request.setAttribute("careerTotals", $career)
646: ## We track a map of the careers to see if we are missing any seasons
647: #set ($careerMap = {})
648: $request.setAttribute("careerMap", $careerMap)
649: #foreach ($season in $seasons)
650:   ## We need to include this season stats
651:   #set ($path = "${season.path}?tmpl=bio-career-template&name=${season.seasonName}&pos=${pos}&print=yes")
652:   $website.include($path)
653:   ## Check if we did not get stats for this season
654:   #if (!($careerMap.get($season.seasonName)) && $wiki.valid())
655:     <tr><td class="${mobileNS}fixed-column">${season.seasonName}</td><td colspan="${briefs.size()}" align="center">We could not find the "players" page in the ${season.seasonName} section.</td></tr>
656:   #end
657: #end
658: 
659: #split("Total", $career.overall, '')
660: 
661: </table>
662: $wiki.su
663: </div>
664: 
665: #elseif ($view == "splits" and $events)
666: 
667: <div class="stats-fullbox clearfix">
668: #if($briefsCategoriesLabels)
669: 	<div class="stats-tabs-secondary clearfix">
670: 		<ul class="clearfix">
671: 			#printCategories($briefsCategoriesLabels)
672: 		</ul>
673: 	</div> ## stats-tabs-secondary
674: #end
675: 
676: <table>
677:   <tr>
678:     <th>&nbsp;</th>
679:     #foreach ($brief in $briefs)
680:       <th>$brief</th>
681:     #end
682:   </tr>
683: 
684: #split("Total", $splits.overall, "odd")
685: #split("Conference", $splits.conference, "even")
686: #split("Exhibition", $splits.exhibition, "odd")
687: 
688: #printHr()
689: 
690: #split("Home", $splits.home, "odd")
691: #split("Away", $splits.away, "even")
692: #split("Neutral", $splits.neutral, "odd")
693: 
694: #printHr()
695: 
696: #set($isOddOrEven = 'odd')
697: 
698: #foreach($gameResult in $gamesResults.entrySet())
699: 	
700: 	#if($gameResult.key == "wins")
701: 		#set($splitGameResult = $splits.inWins)
702: 	#elseif($gameResult.key == "losses")
703: 		#set($splitGameResult = $splits.inLosses)
704: 	#elseif($gameResult.key == "ties")
705: 		#set($splitGameResult = $splits.inTies)
706: 	#end
707: 	
708: 	#split($gameResult.value, $splitGameResult, $isOddOrEven)
709: 	
710: 	#if($isOddOrEven == 'even')
711: 		#set($isOddOrEven = 'odd')
712: 	#else
713: 		#set($isOddOrEven = 'even')
714: 	#end
715: #end
716: 
717: #printHr()
718: 
719: #if($monthsPlayed and $monthsPlayed.size() > 0)
720: 
721: 	#set($isOddOrEven = 'odd')
722: 	
723: 	#foreach($month in $monthsPlayed)
724: 		#if($month == 'January')
725: 			#set($splitMonth =  $splits.january)
726: 		#elseif($month == 'February')
727: 			#set($splitMonth =  $splits.february)
728: 		#elseif($month == 'March')
729: 			#set($splitMonth =  $splits.march)
730: 		#elseif($month == 'April')
731: 			#set($splitMonth =  $splits.april)
732: 		#elseif($month == 'May')
733: 			#set($splitMonth =  $splits.may)
734: 		#elseif($month == 'June')
735: 			#set($splitMonth =  $splits.june)
736: 		#elseif($month == 'July')
737: 			#set($splitMonth =  $splits.july)
738: 		#elseif($month == 'August')
739: 			#set($splitMonth =  $splits.august)
740: 		#elseif($month == 'September')
741: 			#set($splitMonth =  $splits.september)
742: 		#elseif($month == 'October')
743: 			#set($splitMonth =  $splits.october)
744: 		#elseif($month == 'November')
745: 			#set($splitMonth =  $splits.november)
746: 		#elseif($month == 'December')
747: 			#set($splitMonth =  $splits.december)
748: 		#end
749: 		
750: 		#split($month, $splitMonth, $isOddOrEven)	
751: 		
752: 		#if($isOddOrEven == 'odd')
753: 			#set($isOddOrEven = 'even')
754: 		#else
755: 			#set($isOddOrEven = 'odd')
756: 		#end
757: 	#end	
758: #end	
759: 
760: </table>
761: $wiki.su
762: </div>
763: 
764: 
765: #else
766: ## Player profile
767: 
768: <div class="clearfix">
769: 
770: ## LAST SIX GAMES
771: <div class="stats-halfbox-left">
772: <table>
773:   <tr><th colspan="3">Recent Games</th></tr>
774: #set ($eventEnd = -1)
775: #foreach ($event in $events)
776:   #if ($event.event.result.resolved)
777:     #set ($eventEnd = $velocityCount)
778:   #end
779: #end
780: #set ($eventStart = $eventEnd - 5)
781: #if ($eventStart < 0) #set ($eventStart = 0) #end
782: 
783: #set ($counter = 0)
784: #foreach ($event in $events)
785: #if ($velocityCount >= $eventStart and $velocityCount <= $eventEnd)
786: 
787:  #set ($counter = $counter + 1)
788:  #if ($counter % 2 == 0)
789:   #set ($row = "even")
790:  #else
791:   #set ($row = "odd")
792:  #end
793: 
794:   <tr class="${row}">
795:     <td>$formatter.formatDate($event.event.date, "MMM d")</td>
796:     <td>
797:     #if ($event.event.neutralSite.length() > 0) vs.
798:     #elseif (!$event.event.home) at
799:     #else ## nothing for a home game
800:     #end
801:     $event.event.opponent.name</td>
802:     <td>
803:     #if ($event.event.statusCode >= 0)
804:       #if ($event.event.eventId.length() > 0 && $event.stats.size() > 0)
805:       <a href="../boxscores/${formatter.formatDate($event.event.date, "yyyyMMdd")}_${event.event.eventId.substring(0, 4)}.xml">${event.event.APResult}</a>
806:       #else
807:       ${event.event.APResult}
808:       #end
809:     #end
810:   </tr>
811: #end ## if
812: #end
813: </table>
814: </div>
815: 
816: ## RANKING
817: $website.include("../players?tmpl=stats-bios-rank-template&rank=${playerId}&pos=${pos}")
818: 
819: </div> ## clearfix
820: 
821: #if ($synopsis.length() > 0)
822: <div class="clearfix">
823:  $!synopsis
824: </div>
825: #end
826: 
827: #set ($briefbio = "${page.url}-brief")
828: #set ($stats = "${page.url}-stats")
829: 
830: #if ($website.exists($briefbio))
831: <div class="clearfix">
832:   $website.include($briefbio)
833: </div>
834: #end
835: 
836: #if ($website.exists($stats))
837: <div class="clearfix">
838:   $website.include($stats)
839: </div>
840: #end
841: 
842: #end
843: 
844: </div> ## stats-wrapper
845: $wiki.su
846: 
847: </body>
848: </html>
849: 
850: #end

View: Mobile | Desktop