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

מתוך ויקיפועל
קפיצה לניווט קפיצה לחיפוש
אין תקציר עריכה
אין תקציר עריכה
שורה 23: שורה 23:
{{#cargo_query:
{{#cargo_query:
tables=Games
tables=Games
|fields=concat('<div class=\'',Games.result,'cell\'>','[[',Games.ona,']]','</div>')=עונה,
|fields=concat('<div class=\'',Games.year,'-,Games.month,'-,Games.day,'</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>')=מפעל,
concat('<div class=\'',Games.result,'cell\'>',Games.stage,'</div>')=שלב,
concat('<div class=\'',Games.result,'cell\'>',Games.stage,'</div>')=שלב,

גרסה מ־20:17, 4 באוגוסט 2022

מפעל מפגשים נצחונות תיקו הפסדים הפרש
Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ',`cargo__Games`.`day`,'</div>') AS `\xD7\xAA\xD7\x90\xD7\xA8\xD7\x99\xD7\x9A`,co' at line 1

Function: CargoSQLQuery::run Query: SELECT `cargo__Games`.`_pageID` AS `cargo_backlink_page_id_Games`,concat('<div class=\,`cargo__Games`.`year`,'-,`cargo__Games`.`month`,'-,`cargo__Games`.`day`,'</div>') AS `תאריך`,concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`ona`,'','</div>') AS `עונה`,concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`mifal`,'','</div>') AS `מפעל`,concat('<div class=\,`cargo__Games`.`result`,'cell\'>',`cargo__Games`.`stage`,'</div>') AS `שלב`,concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`host`,'','</div>') AS `מארחת`,concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`oponent`,'','</div>') AS `אורחת`,IF(`cargo__Games`.`liga` = '1',concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`awayscore`,':',`cargo__Games`.`homescore`,'','</div>'),concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`awayscore`,':',`cargo__Games`.`homescore`,'','</div>')) AS `תוצאה` FROM `cargo__Games` WHERE liga IS NOT NULL AND department='{{{מחלקה}}}' AND result='{{{תוצאה}}}' AND homegame='{{{ביתיות}}}' AND (`cargo__Games`.`host`= OR `cargo__Games`.`oponent`=) AND (year>'{{{משנה}}}' OR (year='{{{משנה}}}' AND month>'{{{מחודש}}}') OR (year='{{{משנה}}}' AND month='{{{מחודש}}}' AND day>='{{{מיום}}}')) AND (year<'{{{לשנה}}}' OR (year='{{{לשנה}}}' AND month<'{{{לחודש}}}') OR (year='{{{לשנה}}}' AND month='{{{לחודש}}}' AND day<='{{{ליום}}}')) AND mifal='{{{מפעל}}}' ORDER BY `year`,`month`,`day` LIMIT 100