תבנית:פרופיל/מספרים עונתיים/שחקן/הצגת קטגוריית מפעל: הבדלים בין גרסאות בדף
מתוך מכביפדיה
(יצירת דף עם התוכן "<includeonly><!-- --><div class="ProfilesST-Table"> <div class="ProfilesST-IR"> <div style="display: table-cell;">עונה</div> <div style="display: table-cel...")
 
אין תקציר עריכה
 
(14 גרסאות ביניים של אותו משתמש אינן מוצגות)
שורה 2: שורה 2:


--><div class="ProfilesST-Table">
--><div class="ProfilesST-Table">
<div class="ProfilesST-IR">
<div class="ProfilesST-IR">
<div style="display: table-cell;">עונה</div>
<div style="display: table-cell;">עונה</div>
שורה 8: שורה 7:
<div style="display: table-cell;">{{קטלוג משחקים/הצגת משחקים/טבלת אירועים/הצגת אייקונים |אייקון=גול}} ('''פ'''')</div>
<div style="display: table-cell;">{{קטלוג משחקים/הצגת משחקים/טבלת אירועים/הצגת אייקונים |אייקון=גול}} ('''פ'''')</div>
<div style="display: table-cell;">{{קטלוג משחקים/הצגת משחקים/טבלת אירועים/הצגת אייקונים |אייקון=בישול}}</div>
<div style="display: table-cell;">{{קטלוג משחקים/הצגת משחקים/טבלת אירועים/הצגת אייקונים |אייקון=בישול}}</div>
<div style="display: table-cell;">{{קטלוג משחקים/הצגת משחקים/טבלת אירועים/הצגת אייקונים |אייקון=צהוב שני}} ({{קטלוג משחקים/הצגת משחקים/טבלת אירועים/הצגת אייקונים |אייקון=כרטיס אדום}})</div>
{{#ifeq: {{{שוער|}}}| כן| <div style="display: table-cell;">'''ספיגות'''</div> <div style="display: table-cell;">'''שער נקי'''</div> }}
<div style="display: table-cell;">{{קטלוג משחקים/הצגת משחקים/טבלת אירועים/הצגת אייקונים |אייקון=כרטיס צהוב}} ({{קטלוג משחקים/הצגת משחקים/טבלת אירועים/הצגת אייקונים |אייקון=כרטיס אדום}})</div>
<div style="display: table-cell;">'''נצ''''</div>
<div style="display: table-cell;">'''נצ''''</div>
<div style="display: table-cell;">'''ת''''</div>
<div style="display: table-cell;">'''ת''''</div>
שורה 33: שורה 33:
     SUM(CASE when Games_Events.EventType IN (1,5) then 1 else 0 end)=GamesPlayed,
     SUM(CASE when Games_Events.EventType IN (1,5) then 1 else 0 end)=GamesPlayed,
     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.EventType=3 then 1 else 0 end)=Goals,
     SUM(CASE when Games_Events.EventType=3 AND Games_Events.SubType!=33 then 1 else 0 end)=Goals,
     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,
     SUM(CASE when Games_Events.EventType=4 then 1 else 0 end)=Assists,
     SUM(CASE when Games_Events.EventType=4 then 1 else 0 end)=Assists,
     SUM(CASE when Games_Events.EventType=7 then 1 else 0 end)=AllCards,
     SUM(CASE when Games_Events.SubType=71 then 1 else 0 end)=YellowCards,
     SUM(CASE when Games_Events.SubType=73 then 1 else 0 end)=RedCards,
     SUM(CASE when Games_Events.SubType IN (72,73) then 1 else 0 end)=RedCards,
     SUM(CASE when Games_Events.EventType IN (1,5) AND Football_Games.ResultOpt=1 then 1 else 0 end)=Wins,
     SUM(CASE when Games_Events.EventType IN (1,5) AND Football_Games.ResultOpt=1 then 1 else 0 end)=Wins,
     SUM(CASE when Games_Events.EventType IN (1,5) AND Football_Games.ResultOpt=2 then 1 else 0 end)=Ties,
     SUM(CASE when Games_Events.EventType IN (1,5) AND Football_Games.ResultOpt=2 then 1 else 0 end)=Ties,
     SUM(CASE when Games_Events.EventType IN (1,5) AND Football_Games.ResultOpt=3 then 1 else 0 end)=Losses,
     SUM(CASE when Games_Events.EventType IN (1,5) AND Football_Games.ResultOpt=3 then 1 else 0 end)=Losses,
{{#ifeq: {{{שוער|}}}| כן|
SUM(CASE when Games_Events.EventType IN (1,5) then Football_Games.ResultOpponent else 0 end)=GoalsAgainstMaccabi,
SUM(CASE when Games_Events.EventType IN (1,5) AND Football_Games.ResultOpponent=0 then 1 else 0 end)=CleanSheet,
}}


|group by=Football_Games.Season
|group by=Football_Games.Season
שורה 46: שורה 50:
|format=template
|format=template
|template=פרופיל/מספרים עונתיים/שחקן/הצגת קטגוריית מפעל/שורה אחת
|template=פרופיל/מספרים עונתיים/שחקן/הצגת קטגוריית מפעל/שורה אחת
|named args=yes
|default=אין הופעות
}}<!--
Summary bolded line
-->{{#cargo_query:
tables=Football_Games, Games_Events, Games_Referees, Competitions
|join on=Football_Games._pageID=Games_Events._pageID,
Football_Games._pageID=Games_Referees._pageID,
Football_Games.Competition=Competitions.OriginalName
|where=1=1
AND Team=1
AND Games_Events.EventType IN (1, 3, 4, 5, 7)
AND Games_Events.PlayerName="{{{שחקן}}}"
{{#ifeq: {{{קטגוריית מפעל|}}}| ליגה| AND Competitions.League = 1 }}
{{#ifeq: {{{קטגוריית מפעל|}}}| גביע| AND Competitions.Trophy = 1 }}
{{#ifeq: {{{קטגוריית מפעל|}}}| בינלאומי| AND Competitions.International = 1 }}
{{#ifeq: {{{קטגוריית מפעל|}}}| רשמי| AND Competitions.Official = 1 }}
|fields=
    SUM(CASE when Games_Events.EventType IN (1,5) then 1 else 0 end)=GamesPlayed,
    SUM(CASE when Games_Events.EventType=5 then 1 else 0 end)=Substitutions,
    SUM(CASE when Games_Events.EventType=3 AND Games_Events.SubType!=33 then 1 else 0 end)=Goals,
    SUM(CASE when Games_Events.SubType=35 then 1 else 0 end)=GoalsPenalties,
    SUM(CASE when Games_Events.EventType=4 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 IN (72,73) then 1 else 0 end)=RedCards,
    SUM(CASE when Games_Events.EventType IN (1,5) AND Football_Games.ResultOpt=1 then 1 else 0 end)=Wins,
    SUM(CASE when Games_Events.EventType IN (1,5) AND Football_Games.ResultOpt=2 then 1 else 0 end)=Ties,
    SUM(CASE when Games_Events.EventType IN (1,5) AND Football_Games.ResultOpt=3 then 1 else 0 end)=Losses,
{{#ifeq: {{{שוער|}}}| כן|
SUM(CASE when Games_Events.EventType IN (1,5) then Football_Games.ResultOpponent else 0 end)=GoalsAgainstMaccabi,
SUM(CASE when Games_Events.EventType IN (1,5) AND Football_Games.ResultOpponent=0 then 1 else 0 end)=CleanSheet,
}}
|format=template
|template=פרופיל/מספרים עונתיים/שחקן/הצגת קטגוריית מפעל/שורת סיכום
|named args=yes
|named args=yes
}}
}}


</div>
</div><!--




</includeonly>
--></includeonly>

גרסה אחרונה מ־00:53, 4 בספטמבר 2023