אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 8: | שורה 8: | ||
AND Team=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="{{{עונה}}}" | |||
{{#ifeq: {{{קטגוריית מפעל|}}}| ליגה| AND Competitions.League = 1 }} | {{#ifeq: {{{קטגוריית מפעל|}}}| ליגה| AND Competitions.League = 1 }} | ||
| שורה 21: | שורה 22: | ||
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=עונה/הצגת סיכום אירועי שחקנים | ||
| שורה 30: | שורה 32: | ||
|join on=Football_Games.Competition=Competitions.OriginalName | |join on=Football_Games.Competition=Competitions.OriginalName | ||
|where=1=1 | |where=1=1 | ||
AND Football_Games.Season="{{{עונה}}}" | |||
{{#ifeq: {{{קטגוריית מפעל|}}}| ליגה| AND Competitions.League = 1 }} | {{#ifeq: {{{קטגוריית מפעל|}}}| ליגה| AND Competitions.League = 1 }} | ||
{{#ifeq: {{{קטגוריית מפעל|}}}| גביע| AND Competitions.Trophy = 1 }} | {{#ifeq: {{{קטגוריית מפעל|}}}| גביע| AND Competitions.Trophy = 1 }} | ||
| שורה 42: | שורה 45: | ||
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:26, 26 באפריל 2023
תבנית זו אחראית להציג את המספרים העונתיים (סך השערים, הכרטיסים, הנצחונות ועוד) עבור עונה מסוימת.
פרמטרים:
- עונה - למשל "2020/21"
- קטגוריית מפעל - למשל "ליגה"