תבנית:סטטיסטיקה/שליפות/מתקדמות/מספרים עונתיים: הבדלים בין גרסאות בדף
מתוך מכביפדיה
אין תקציר עריכה
(Count own goals from our opponents)
 
שורה 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"
  • קטגוריית מפעל - למשל "ליגה"