תבנית:פרופיל כדורגל/הצגת מאזן עונתי/שחקן/שליפה: הבדלים בין גרסאות בדף
מתוך מכביפדיה
אין תקציר עריכה
תגית: שוחזרה
אין תקציר עריכה
 
(6 גרסאות ביניים של אותו משתמש אינן מוצגות)
שורה 1: שורה 1:
<includeonly><!--
<includeonly><!--


--><div class="table-row><!--
-->{{#arraydefine: עונות |{{{עונות|}}} }}<!--
--><span>{{#קיים: עונת {{{Season|}}} |[[עונת {{{Season}}}|{{{Season}}}]] |{{{Season|}}} }}</span><!--
 
--><span>{{{WinCount|}}}</span><!--
--><div class="table-header"><!--
--><span>{{{TieCount|}}}</span><!--
--><span>עונה</span><!--
--><span>{{{LooseCount|}}}</span><!--
--><span>נצ'</span><!--
--></div>
--><span>ת'</span><!--
</includeonly>
--><span>הפ'</span><!--
--></div><!--
 
 
--><div class="table-content">
{{#cargo_query:  
tables=Football_Games=fg, Games_Events=ge, Competitions=c
|join on=fg._pageName = ge._pageName, fg.Competition=c.OriginalName
|where=ge.PlayerName="{{{שם להצגה|}}}" AND ge.EventType IN (1, 5) AND ge.Team=1
{{#תנאי: {{{עונות|}}} | AND fg.Season IN ({{#arrayprint: עונות|, |@@@@ |"@@@@"}}) }}
{{#ifeq: {{{קטגוריית מפעל|}}}| ליגה| AND c.League = 1 }}
{{#ifeq: {{{קטגוריית מפעל|}}}| גביע| AND c.Trophy = 1 }}
{{#ifeq: {{{קטגוריית מפעל|}}}| בינלאומי| AND c.International = 1 }}
{{#ifeq: {{{קטגוריית מפעל|}}}| רשמי| AND c.Official = 1 }}
{{#ifeq: {{{קטגוריית מפעל|}}}| יתר-רשמיים| AND (c.Official = 1 AND c.League = 0 AND c.Trophy = 0 AND c.International = 0) }}
|fields=fg.Season=Season, COUNT(CASE WHEN fg.ResultOpt=1 THEN 1 ELSE NULL END)=WinCount, COUNT(CASE WHEN fg.ResultOpt=2 THEN 2 ELSE NULL END)=TieCount, COUNT(CASE WHEN fg.ResultOpt=3 THEN 3 ELSE NULL END)=LooseCount
|group by=Season
|order by=Season DESC
|format=template
|template=פרופיל כדורגל/הצגת מאזן עונתי/הצגת שורה
|default=
|more results text=
|named args=yes
|no html
}}
</div><!--
 
--></includeonly>

גרסה אחרונה מ־11:06, 8 ביוני 2025