תבנית:QueryGamesTemplate: הבדלים בין גרסאות בדף
מתוך מכביפדיה
(Link to competition page for each row in the result)
(Adapt to the new way of storing the opponents & stadiums)
שורה 14: שורה 14:
                         -->{{#vardefine: PlayerSubEvent|{{תבנית: המרות/תיאור תת אירוע למספר תת אירוע| תת אירוע={{{PlayerSubAction|}}} }} }}<!--
                         -->{{#vardefine: PlayerSubEvent|{{תבנית: המרות/תיאור תת אירוע למספר תת אירוע| תת אירוע={{{PlayerSubAction|}}} }} }}<!--
-->{{#cargo_query:
-->{{#cargo_query:
tables=Games_Catalog, Opponents, Competitions_Catalog, Stadiums, Games_Results, Games_Events, Days_In_Week, Games_Videos
tables=Games_Catalog, Competitions_Catalog, Games_Results, Games_Events, Days_In_Week, Games_Videos
|join on=Games_Catalog.Opponent = Opponents._ID
|join on=Games_Catalog.Competition = Competitions_Catalog.CompID
        ,Games_Catalog.Competition = Competitions_Catalog.CompID
        ,Games_Catalog.Stadium = Stadiums._ID
         ,Games_Catalog.ResultOpt = Games_Results.ResultType
         ,Games_Catalog.ResultOpt = Games_Results.ResultType
         ,Games_Catalog._pageID = Games_Events._pageID
         ,Games_Catalog._pageID = Games_Events._pageID
שורה 51: שורה 49:
           ,CONCAT('[[', Competitions_Catalog.Name, ']]')=מפעל <!-- Cast number to name from Competitions Table -->
           ,CONCAT('[[', Competitions_Catalog.Name, ']]')=מפעל <!-- Cast number to name from Competitions Table -->
           ,Games_Catalog.Leg=שלב במפעל
           ,Games_Catalog.Leg=שלב במפעל
           ,CONCAT('[[', Opponents.Name, ']]')=יריבה <!-- Cast number to name from Opponents Table -->
           ,CONCAT('[[', Games_Catalog.Opponent, ']]')=יריבה <!-- Cast number to name from Opponents Table -->
           ,Games_Catalog.HomeAway=בית או חוץ
           ,Games_Catalog.HomeAway=בית או חוץ
           ,CONCAT('[[', Stadiums.Name, ']]')=אצטדיון <!-- Cast number to name from Stadiums Table -->
           ,CONCAT('[[', Games_Catalog.Stadium, ']]')=אצטדיון <!-- Cast number to name from Stadiums Table -->
           ,Games_Catalog.ResultMaccabi=תוצאה למכבי
           ,Games_Catalog.ResultMaccabi=תוצאה למכבי
           ,Games_Catalog.ResultOpponent=תוצאה ליריבה
           ,Games_Catalog.ResultOpponent=תוצאה ליריבה

גרסה מ־03:43, 25 ביולי 2020

לינק לעמוד לחיפוש משחקים

ערכו את הדף כדי לצפות בטקסט התבנית.