אין תקציר עריכה |
(Count own goals from our opponents) |
||
| (9 גרסאות ביניים של אותו משתמש אינן מוצגות) | |||
| שורה 2: | שורה 2: | ||
-->{{#cargo_query: | -->{{#cargo_query: | ||
tables=Football_Games, Games_Events, | tables=Football_Games, Competitions | ||
|join on=Football_Games.Competition=Competitions.OriginalName | |||
|where=1=1 | |||
AND Football_Games.Season="{{{עונה}}}" | |||
{{#ifeq: {{{קטגוריית מפעל|}}}| ליגה| AND Competitions.League = 1 }} | |||
{{#ifeq: {{{קטגוריית מפעל|}}}| גביע| AND Competitions.Trophy = 1 }} | |||
{{#ifeq: {{{קטגוריית מפעל|}}}| בינלאומי| AND Competitions.International = 1 }} | |||
{{#ifeq: {{{קטגוריית מפעל|}}}| רשמי| AND Competitions.Official = 1 }} | |||
|fields= | |||
SUM(CASE when Football_Games.ResultOpt > -1000 then 1 else 0 end)=TotalGames, | |||
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=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 | |||
|template=עונה/הצגת סיכום משחקים | |||
|named args=yes | |||
}}<!-- | |||
-->{{ש}}<!-- | |||
-->{{#cargo_query: | |||
tables=Football_Games, Games_Events, Competitions | |||
|join on=Football_Games._pageID=Games_Events._pageID, | |join on=Football_Games._pageID=Games_Events._pageID, | ||
Football_Games.Competition=Competitions.OriginalName | |||
|where=1=1 | |where=1=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 }} | ||
| שורה 14: | שורה 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"
- קטגוריית מפעל - למשל "ליגה"