תבנית:סטטיסטיקה/שליפות/מתקדמות/מספרים עונתיים: הבדלים בין גרסאות בדף
מתוך מכביפדיה
אין תקציר עריכה
(Count own goals from our opponents)
 
(גרסת ביניים אחת של אותו משתמש אינה מוצגת)
שורה 13: שורה 13:
|fields=
|fields=
     SUM(CASE when Football_Games.ResultOpt > -1000 then 1 else 0 end)=TotalGames,
     SUM(CASE when Football_Games.ResultOpt > -1000 then 1 else 0 end)=TotalGames,
    SUM(CASE when Football_Games.Technical != 0 then 1 else 0 end)=Technical,
    SUM(CASE when Football_Games.Penalties != 0 then 1 else 0 end)=Penalties,
     SUM(CASE when Football_Games.ResultOpt=1 then 1 else 0 end)=Wins,
     SUM(CASE when Football_Games.ResultOpt=1 then 1 else 0 end)=Wins,
     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,
    SUM(CASE when Football_Games.Technical IN (1, 2) then 1 else 0 end)=Technical,
    SUM(CASE when Football_Games.Penalties IN (1, 2) then 1 else 0 end)=Penalties,
|format=template
|format=template
|template=עונה/הצגת סיכום משחקים
|template=עונה/הצגת סיכום משחקים
שורה 30: שורה 30:
Football_Games.Competition=Competitions.OriginalName
Football_Games.Competition=Competitions.OriginalName
|where=1=1
|where=1=1
AND Team=1
AND Games_Events.EventType IN (1, 3, 4, 5, 7)
AND Games_Events.EventType IN (1, 3, 4, 5, 7)
AND Football_Games.Season="{{{עונה}}}"
AND Football_Games.Season="{{{עונה}}}"
שורה 40: שורה 39:


|fields=
|fields=
     SUM(CASE when Games_Events.EventType=3 AND Games_Events.SubType!=33 then 1 else 0 end)=Goals,
     SUM(CASE when Games_Events.EventType=3 AND Games_Events.SubType!=33 AND Team=1 then 1 else 0 end)+SUM(CASE when Games_Events.SubType=33 AND Team=0 then 1 else 0 end)=Goals,
     SUM(CASE when Games_Events.EventType=4 then 1 else 0 end)=Assists,
     SUM(CASE when Games_Events.EventType=4 AND Team=1 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 AND Team=1 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) AND Team=1 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 AND Team=1 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 AND Team=1 then 1 else 0 end)=GoalsPenalties,
|format=template
|format=template
|template=עונה/הצגת סיכום אירועי שחקנים
|template=עונה/הצגת סיכום אירועי שחקנים

גרסה אחרונה מ־20:25, 9 בספטמבר 2023

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

פרמטרים:

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