תבנית:שליפת טבלת משחקים פשוטה: הבדלים בין גרסאות בדף

אין תקציר עריכה
מאין תקציר עריכה
אין תקציר עריכה
 
(12 גרסאות ביניים של אותו משתמש אינן מוצגות)
שורה 7: שורה 7:
{{#if: {{{טוטו|}}}| AND mifal='גביע הטוטו' |}}  
{{#if: {{{טוטו|}}}| AND mifal='גביע הטוטו' |}}  
{{#if:{{{מפעל|}}}| AND mifal='{{{מפעל}}}'|}} {{#if:{{{אירופה|}}}| AND liga='0' AND mifal!='גביע המדינה' AND mifal !='גביע הטוטו' |}}
{{#if:{{{מפעל|}}}| AND mifal='{{{מפעל}}}'|}} {{#if:{{{אירופה|}}}| AND liga='0' AND mifal!='גביע המדינה' AND mifal !='גביע הטוטו' |}}
{{#if: {{{משוער|}}}| AND year > {{CURRENTYEAR}} OR (year={{CURRENTYEAR}} AND month>{{CURRENTMONTH}}) OR (year={{CURRENTYEAR}} AND month={{CURRENTMONTH}} AND day >={{CURRENTDAY}})|}} 
}}
}}
 
{{#vardefine:qlimit|{{#if: {{{משוער|}}}|{{{משוער}}}|}}}}
<table border="1" cellpadding="2" cellspacing="0" width="90%" align="center">
<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>
<tr style="background:#FF0000;"><td>תאריך</td><td>מפעל</td><td>שלב</td><td>מארחת</td><td>אורחת</td>
<td>תוצאה</td><td>הערות</td></tr>
<td>תוצאה</td><td>הערות</td></tr>
{{#cargo_query:
{{#cargo_query:
tables=Games|fields=day,month,year,stage,host,oponent,homescore,awayscore,ona,department,mifal,shootout,comments
tables=Games|fields=day,month,year,stage,host,oponent,homescore,awayscore,ona,department,mifal,shootout,comments,department
|where={{#var:whereclause}}
|where={{#var:whereclause}}
|format=template
|format=template
|template=שורת טבלת משחקים פשוטה
|template=שורת טבלת משחקים פשוטה
|more results text=
|named args=yes
|named args=yes
|order by=year,month,day
|order by=year,month,day
|limit={{#var:qlimit}}
}}
}}
</table>
</table>