תבנית:פרופיל כדורעף/מספרים עונתיים/שליפה והצגת מספרים לפי עונה: הבדלים בין גרסאות בדף
מתוך מכביפדיה
אין תקציר עריכה
אין תקציר עריכה
 
(4 גרסאות ביניים של משתמש אחר אחד אינן מוצגות)
שורה 1: שורה 1:
<includeonly>
<includeonly><!--
{{#cargo_query:
 
We use SUM(Score)/COUNT(*) instead of AVG(Score) because AVG didn't work well with empty values
-->{{#cargo_query:
table=Volleyball_Players_Game_Events=vpge, Volleyball_Games=vg
table=Volleyball_Players_Game_Events=vpge, Volleyball_Games=vg
|join on=vpge._pageName = vg._pageName
|join on=vpge._pageName = vg._pageName
|fields=vg.Season=Season, SUM(vpge.PlayerScore)=SeasonSum , AVG(vpge.PlayerScore)=SeasonAvg
|fields=vg.Season=Season, COUNT(*)=PlayerAppearances, SUM(vpge.PlayerScore)=SeasonSum , SUM(vpge.PlayerScore)/COUNT(*)=SeasonAvg
|where=vpge.PlayerName="{{{שם|}}}" AND vpge.Team=1
|where=vpge.PlayerName="{{{שם|}}}" AND vpge.Team=1 and vpge.isPlayed=true
|group by=vg.Season
|group by=vg.Season
|format=template
|format=template
שורה 10: שורה 12:
|named args=yes
|named args=yes
|no html
|no html
|default=
|default=}}
}}
</includeonly>
</includeonly>

גרסה אחרונה מ־02:11, 22 באפריל 2024