תבנית:שליפת טבלת משחקים שאלתא: הבדלים בין גרסאות בדף
קפיצה לניווט
קפיצה לחיפוש
אין תקציר עריכה |
אין תקציר עריכה |
||
שורה 1: | שורה 1: | ||
[[קטגוריה:שליפת נתונים]] | [[קטגוריה:שליפת נתונים]] | ||
{{#vardefine:whereclause| | {{#vardefine:whereclause| | ||
{{#ifeq:{{{ליגה}}}|1| liga='1' |{{#ifeq:{{{ליגה}}}|0|liga='0'|liga IS NOT NULL}}}} | {{#ifeq:{{{ליגה}}}|1| liga='1' |{{#ifeq:{{{ליגה}}}|0|liga='0'|liga IS NOT NULL}}}} | ||
שורה 23: | שורה 13: | ||
}}{{#cargo_query: | }}{{#cargo_query: | ||
tables=Games | tables=Games | ||
|fields= | |fields=STR_TO_DATE(CONCAT(Games.year,'-',Games.month, '-', Games.day), '%Y-%m-%d')=תאריך, | ||
concat('<div class=\'',Games.result,'cell\'>','[[',Games.ona,']]','</div>')=עונה, | concat('<div class=\'',Games.result,'cell\'>','[[',Games.ona,']]','</div>')=עונה, | ||
concat('<div class=\'',Games.result,'cell\'>','[[',Games.mifal,']]','</div>')=מפעל, | concat('<div class=\'',Games.result,'cell\'>','[[',Games.mifal,']]','</div>')=מפעל, |
גרסה מ־10:37, 7 באוקטובר 2023