תבנית:סטטיסטיקה/שליפות/מתקדמות/מספרים עונתיים: הבדלים בין גרסאות בדף
מתוך מכביפדיה
אין תקציר עריכה
אין תקציר עריכה
שורה 19: שורה 19:
     SUM(CASE when Games_Events.EventType=4 then 1 else 0 end)=Assists,
     SUM(CASE when Games_Events.EventType=4 then 1 else 0 end)=Assists,
     SUM(CASE when Games_Events.SubType=71 then 1 else 0 end)=YellowCards,
     SUM(CASE when Games_Events.SubType=71 then 1 else 0 end)=YellowCards,
     SUM(CASE when Games_Events.SubType IN (72,73) then 1 else 0 end)=RedCards
     SUM(CASE when Games_Events.SubType IN (72,73) then 1 else 0 end)=RedCards,
     SUM(CASE when Games_Events.EventType=5 then 1 else 0 end)=Substitutions,
     SUM(CASE when Games_Events.EventType=5 then 1 else 0 end)=Substitutions,
     SUM(CASE when Games_Events.SubType=35 then 1 else 0 end)=GoalsPenalties,
     SUM(CASE when Games_Events.SubType=35 then 1 else 0 end)=GoalsPenalties,
|group by=Football_Games.Season
|format=template
|format=template
|template=עונה/הצגת סיכום אירועי שחקנים
|template=עונה/הצגת סיכום אירועי שחקנים
שורה 45: שורה 44:
     SUM(CASE when Football_Games.ResultOpt=2 then 1 else 0 end)=Ties,
     SUM(CASE when Football_Games.ResultOpt=2 then 1 else 0 end)=Ties,
     SUM(CASE when Football_Games.ResultOpt=3 then 1 else 0 end)=Losses,
     SUM(CASE when Football_Games.ResultOpt=3 then 1 else 0 end)=Losses,
|group by=Football_Games.Season
|format=template
|format=template
|template=עונה/הצגת סיכום משחקים
|template=עונה/הצגת סיכום משחקים

גרסה מ־01:29, 26 באפריל 2023

תבנית זו אחראית להציג את המספרים העונתיים (סך השערים, הכרטיסים, הנצחונות ועוד) עבור עונה מסוימת.

פרמטרים:

  • עונה - למשל "2020/21"
  • קטגוריית מפעל - למשל "ליגה"