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

אין תקציר עריכה
אין תקציר עריכה
אין תקציר עריכה
(4 גרסאות ביניים של אותו משתמש אינן מוצגות)
שורה 1: שורה 1:
{{#vardefine:whereclause|
{{#vardefine:whereclause|
result!="?" AND department="כדורגל" and (stage="סיבוב ח" OR stage="סיבוב ח'")
liga='0' AND department='כדורסל' and mifal<>'גביע המדינה'  and mifal<>'משחק אימון'
}}{{#cargo_query:
}}
tables=Games
<table border="1" cellpadding="2" cellspacing="0" width="90%" align="center">
|fields=concat(Games.year,'-',Games.month,'-',Games.day)=תאריך,
<tr style="background:#FF0000;"><td>תאריך</td><td>מפעל</td><td>שלב</td><td>מארחת</td><td>אורחת</td>
concat('<div class=\'',Games.result,'cell\'>','[[',Games.ona,']]','</div>')=עונה,
<td>תוצאה</td><td>הערות</td></tr>
concat('<div class=\'',Games.result,'cell\'>','[[',Games.mifal,']]','</div>')=מפעל,
{{#cargo_query:
concat('<div class=\'',Games.result,'cell\'>',Games.stage,'</div>')=שלב,
tables=Games|fields=day,month,year,stage,host,oponent,homescore,awayscore,ona,department,mifal,shootout,comments,department
concat('<div class=\'',Games.result,'cell\'>','[[',Games.host,']]','</div>')=מארחת,
concat('<div class=\'',Games.result,'cell\'>','[[',Games.oponent,']]','</div>')=אורחת,
IF(Games.liga = '1',concat('<div class=\'',Games.result,'cell\'>','[[עונת  ',Games.ona,' (',Games.department,') ',Games.stage,'|',Games.awayscore,':',Games.homescore,']]','</div>'),concat('<div class=\'',Games.result,'cell\'>','[[עונת  ',Games.ona,' (',Games.department,') ',Games.mifal,' ',Games.stage,'|',Games.awayscore,':',Games.homescore,']]','</div>'))=תוצאה,
|where={{#var:whereclause}}
|where={{#var:whereclause}}
|format=dynamic table
|format=template
|order by=תאריך DESC
|template=שורת טבלת משחקים פשוטה
|default=
|more results text=עוד
|rows per page=100
|named args=yes
|order by=year DESC,month DESC,day DESC
|limit=500
}}
}}
</table>