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

אין תקציר עריכה
אין תקציר עריכה
אין תקציר עריכה
(65 גרסאות ביניים של 4 משתמשים אינן מוצגות)
שורה 1: שורה 1:
<repeat table="Games" criteria="ona=2009/10,department=כדורגל" sort="year, month, day" header="stage host oponent homegame result mifal liga hour stadium department comments ona shidur homescore awayscore shootout day month year">
{{#vardefine:whereclause|
 
liga='0' AND department='כדורסל' and mifal<>'גביע המדינה'  and mifal<>'משחק אימון'
{{{stage}}} {{{host}}} {{{oponent}}} {{#ifeq:{{{stage}}}|גמר|0|{{#ifeq:{{{stage}}}|1/2 גמר|0|{{#ifeq:{{{oponent}}}|הפועל ת"א|0|1}}}}}} {{#ifeq:{{{result}}}|1|{{{result}}}|{{#ifeq:{{{result}}}|0|{{{result}}}|{{#ifeq:{{{homescore}}}|{{{awayscore}}}|x|{{#ifeq:{{{host}}}|הפועל ת"א|{{#ifexpr: {{{homescore}}} < {{{awayscore}}} |0 | 1}}|{{#ifexpr: {{{homescore}}} < {{{awayscore}}} |1 | 0}}}}}}}}}} {{{mifal}}} {{#ifeq:{{{mifal}}}|ליגה לאומית|1|{{#ifeq:{{{mifal}}}|ליגה ארצית|1|{{#ifeq:{{{mifal}}}|ליגת העל|1|0}}}}}} {{{hour}}} {{{stadium}}} {{{department}}} {{{comments}}} {{{ona}}} {{{shidur}}} {{{homescore}}} {{{awayscore}}} {{{shootout}}} {{{day}}} {{{month}}} {{{year}}}
}}
</repeat>
<table border="1" cellpadding="2" cellspacing="0" width="90%" align="center">
<tr style="background:#FF0000;"><td>תאריך</td><td>מפעל</td><td>שלב</td><td>מארחת</td><td>אורחת</td>
<td>תוצאה</td><td>הערות</td></tr>
{{#cargo_query:
tables=Games|fields=day,month,year,stage,host,oponent,homescore,awayscore,ona,department,mifal,shootout,comments,department
|where={{#var:whereclause}}
|format=template
|template=שורת טבלת משחקים פשוטה
|more results text=עוד
|named args=yes
|order by=year DESC,month DESC,day DESC
|limit=500
}}
</table>