אין תקציר עריכה |
(Count own goals from our opponents) |
||
| (4 גרסאות ביניים של אותו משתמש אינן מוצגות) | |||
| שורה 2: | שורה 2: | ||
-->{{#cargo_query: | -->{{#cargo_query: | ||
tables=Football_Games | tables=Football_Games, Competitions | ||
|join on= | |join on=Football_Games.Competition=Competitions.OriginalName | ||
Football_Games.Competition=Competitions.OriginalName | |||
|where=1=1 | |where=1=1 | ||
AND Football_Games.Season="{{{עונה}}}" | AND Football_Games.Season="{{{עונה}}}" | ||
{{#ifeq: {{{קטגוריית מפעל|}}}| ליגה| AND Competitions.League = 1 }} | {{#ifeq: {{{קטגוריית מפעל|}}}| ליגה| AND Competitions.League = 1 }} | ||
{{#ifeq: {{{קטגוריית מפעל|}}}| גביע| AND Competitions.Trophy = 1 }} | {{#ifeq: {{{קטגוריית מפעל|}}}| גביע| AND Competitions.Trophy = 1 }} | ||
| שורה 16: | שורה 12: | ||
|fields= | |fields= | ||
SUM(CASE when | SUM(CASE when Football_Games.ResultOpt > -1000 then 1 else 0 end)=TotalGames, | ||
SUM(CASE when | SUM(CASE when Football_Games.ResultOpt=1 then 1 else 0 end)=Wins, | ||
SUM(CASE when | SUM(CASE when Football_Games.ResultOpt=2 then 1 else 0 end)=Ties, | ||
SUM(CASE when | SUM(CASE when Football_Games.ResultOpt=3 then 1 else 0 end)=Losses, | ||
SUM(CASE when | SUM(CASE when Football_Games.Technical IN (1, 2) then 1 else 0 end)=Technical, | ||
SUM(CASE when | SUM(CASE when Football_Games.Penalties IN (1, 2) then 1 else 0 end)=Penalties, | ||
|format=template | |format=template | ||
|template=עונה/הצגת סיכום | |template=עונה/הצגת סיכום משחקים | ||
|named args=yes | |named args=yes | ||
}}<!-- | }}<!-- | ||
-->{{ש}}<!-- | |||
-->{{#cargo_query: | -->{{#cargo_query: | ||
tables=Football_Games, Competitions | tables=Football_Games, Games_Events, Competitions | ||
|join on=Football_Games.Competition=Competitions.OriginalName | |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 Football_Games.Season="{{{עונה}}}" | AND Football_Games.Season="{{{עונה}}}" | ||
{{#ifeq: {{{קטגוריית מפעל|}}}| ליגה| AND Competitions.League = 1 }} | {{#ifeq: {{{קטגוריית מפעל|}}}| ליגה| AND Competitions.League = 1 }} | ||
{{#ifeq: {{{קטגוריית מפעל|}}}| גביע| AND Competitions.Trophy = 1 }} | {{#ifeq: {{{קטגוריית מפעל|}}}| גביע| AND Competitions.Trophy = 1 }} | ||
| שורה 38: | שורה 39: | ||
|fields= | |fields= | ||
SUM(CASE when | 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 | SUM(CASE when Games_Events.EventType=4 AND Team=1 then 1 else 0 end)=Assists, | ||
SUM(CASE when | SUM(CASE when Games_Events.SubType=71 AND Team=1 then 1 else 0 end)=YellowCards, | ||
SUM(CASE when | SUM(CASE when Games_Events.SubType IN (72,73) AND Team=1 then 1 else 0 end)=RedCards, | ||
SUM(CASE when | SUM(CASE when Games_Events.EventType=5 AND Team=1 then 1 else 0 end)=Substitutions, | ||
SUM(CASE when | SUM(CASE when Games_Events.SubType=35 AND Team=1 then 1 else 0 end)=GoalsPenalties, | ||
|format=template | |format=template | ||
|template=עונה/הצגת סיכום | |template=עונה/הצגת סיכום אירועי שחקנים | ||
|named args=yes | |named args=yes | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
גרסה אחרונה מ־20:25, 9 בספטמבר 2023
תבנית זו אחראית להציג את המספרים העונתיים (סך השערים, הכרטיסים, הנצחונות ועוד) עבור עונה מסוימת.
פרמטרים:
- עונה - למשל "2020/21"
- קטגוריית מפעל - למשל "ליגה"