תבנית:QueryGamesTemplate: הבדלים בין גרסאות בדף
מתוך מכביפדיה
(Should work!)
(Opponents_Catalog->Opponents (tables))
שורה 13: שורה 13:
                         -->{{#vardefine: PlayerEvent|{{תבנית: המרות/תיאור אירוע למספר אירוע| אירוע={{{PlayerAction|}}} }} }}<!--
                         -->{{#vardefine: PlayerEvent|{{תבנית: המרות/תיאור אירוע למספר אירוע| אירוע={{{PlayerAction|}}} }} }}<!--
-->{{#cargo_query:
-->{{#cargo_query:
tables=Games_Catalog, Opponents_Catalog, Competitions_Catalog, Stadiums_Catalog, Games_Results_Catalog, Game_Events_Catalog, Days_In_Week
tables=Games_Catalog, Opponents, Competitions_Catalog, Stadiums_Catalog, Games_Results_Catalog, Game_Events_Catalog, Days_In_Week
|join on=Games_Catalog.Opponent = Opponents_Catalog.OpponentID
|join on=Games_Catalog.Opponent = Opponents._ID
         ,Games_Catalog.Competition = Competitions_Catalog.CompID
         ,Games_Catalog.Competition = Competitions_Catalog.CompID
         ,Games_Catalog.Stadium = Stadiums_Catalog.StadiumID
         ,Games_Catalog.Stadium = Stadiums_Catalog.StadiumID
שורה 44: שורה 44:
           ,Competitions_Catalog.Name=מפעל <!-- Cast number to name from Competitions Table -->
           ,Competitions_Catalog.Name=מפעל <!-- Cast number to name from Competitions Table -->
           ,Games_Catalog.Leg=שלב במפעל
           ,Games_Catalog.Leg=שלב במפעל
           ,CONCAT('[[', Opponents_Catalog.Name, ']]')=יריבה <!-- Cast number to name from Opponents Table -->
           ,CONCAT('[[', Opponents.Name, ']]')=יריבה <!-- Cast number to name from Opponents Table -->
           ,Games_Catalog.HomeAway=בית או חוץ
           ,Games_Catalog.HomeAway=בית או חוץ
           ,CONCAT('[[', Stadiums_Catalog.Name, ']]')=מתקן <!-- Cast number to name from Stadiums Table -->
           ,CONCAT('[[', Stadiums_Catalog.Name, ']]')=מתקן <!-- Cast number to name from Stadiums Table -->

גרסה מ־02:16, 7 בדצמבר 2018

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

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