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


-->{{#arraydefine: עונות |{{{עונות|}}} }}<!--
--><div class="table-row><!--
 
--><span>{{#קיים: עונת {{{Season|}}} |[[עונת {{{Season}}}|{{{Season}}}]] |{{{Season|}}} }}</span><!--
--><div class="table-header"><!--
--><span>{{{WinCount|}}}</span><!--
--><span>עונה</span><!--
--><span>{{{TieCount|}}}</span><!--
--><span>נצ'</span><!--
--><span>{{{LooseCount|}}}</span><!--
--><span>ת'</span><!--
--></div>
--><span>הפ'</span><!--
</includeonly>
--></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 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(fg.ResultOpt = 1)=WinCount, COUNT(fg.ResultOpt = 2)=TieCount, COUNT(fg.ResultOpt = 1)=LooseCount
|group by=Competition, Season
|order by=Season DESC
|format=template
|template=פרופיל כדורגל/הצגת מאזן עונתי/הצגת שורה
|default=
|more results text=
|named args=yes
|no html
}}
</div><!--
 
--></includeonly>

גרסה מ־10:55, 8 ביוני 2025