אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 22: | שורה 22: | ||
|format=template | |format=template | ||
|template=עונה/הצגת סיכום אירועי שחקנים | |template=עונה/הצגת סיכום אירועי שחקנים | ||
|named args=yes | |||
}}<-- | |||
-->{{#cargo_query: | |||
tables=Football_Games | |||
|where=1=1 | |||
{{#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.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=2 then 1 else 0 end)=Ties, | |||
SUM(CASE when Football_Games.ResultOpt=3 then 1 else 0 end)=Losses, | |||
|format=template | |||
|template=עונה/הצגת סיכום משחקים | |||
|named args=yes | |named args=yes | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
גרסה מ־01:13, 26 באפריל 2023
תבנית זו אחראית להציג את המספרים העונתיים (סך השערים, הכרטיסים, הנצחונות ועוד) עבור עונה מסוימת.
פרמטרים:
- עונה - למשל "2020/21"
- קטגוריית מפעל - למשל "ליגה"