ארגז חול: הבדלים בין גרסאות בדף

אין תקציר עריכה
אין תקציר עריכה
אין תקציר עריכה
שורה 1: שורה 1:
{{#vardefine:whereclause|
{{#vardefine:whereclause|
result!="?" AND department="כדורגל" and (stage="סיבוב ח" OR stage="סיבוב ח'")
result!="?" AND department="כדורגל" and (stage="סיבוב ח" OR stage="סיבוב ח'")
}}{{#cargo_query:
}}
 
{| border="1" cellpadding="2" cellspacing="0" align="middle"
|- style="background:#FF0000;"
!מפעל
!מפגשים
!נצחונות
!תיקו
!הפסדים
!הפרש
{{!}}-{{#cargo_query:
tables=Games
|fields=CONCAT(case liga when '1' then 'ליגה' else mifal end),COUNT(*),SUM(case result when '1' then 1 else 0 end),SUM(case result when 'x' then 1 else 0 end),SUM(case result when '0' then 1 else 0 end),SUM(case host when 'הפועל ת"א' then homescore  else 0 end)+SUM(case oponent when 'הפועל ת"א' then awayscore else 0 end),SUM(case host when 'הפועל ת"א' then awayscore  else 0 end)+SUM(case oponent when 'הפועל ת"א' then homescore else 0 end),department,day,month,year,'{{#replace:{{{יריבה}}}|.|#}}'=against
|where={{#var:whereclause}}
|format=template
|template=שורת מפגשים ראש בראש
|order by=year,month,day
|rows per page=100
|default=
}}
|}
 
{{#cargo_query:
tables=Games
tables=Games
|fields=concat(Games.year,'-',Games.month,'-',Games.day)=תאריך,
|fields=concat(Games.year,'-',Games.month,'-',Games.day)=תאריך,