(Adapt to the new way of storing the opponents) |
מ (החלפת טקסט – "Games_Catalog" ב־"Football_Games") |
||
| שורה 3: | שורה 3: | ||
שליפה | שליפה | ||
-->{{#cargo_query: | -->{{#cargo_query: | ||
tables= | tables=Football_Games, Games_Results, Opponents | ||
|join on= | |join on=Football_Games.Opponent = Opponents.CanonicalName, | ||
Football_Games.ResultOpt = Games_Results.ResultType | |||
|where=1=1 | |where=1=1 | ||
And | And Football_Games._pageID = {{{1|}}} | ||
|fields = CONCAT( <!-- | |fields = CONCAT( <!-- | ||
-->{{#if: {{{2|}}}| {{{2|}}} , ' - ', }} <!-- אם ישנו פרמטר ספירה (המשחק הפורה ביותר), הצגה שלו | -->{{#if: {{{2|}}}| {{{2|}}} , ' - ', }} <!-- אם ישנו פרמטר ספירה (המשחק הפורה ביותר), הצגה שלו | ||
--> '[[', | --> '[[', Football_Games._pageName, '|', <!-- קישור לעמוד המשחק | ||
--> | --> Football_Games.Date, <!-- טיפול בתאריך המשחק | ||
--> ': ', Games_Results.ResultString, ' (', | --> ': ', Games_Results.ResultString, ' (', Football_Games.ResultMaccabi, ':', Football_Games.ResultOpponent, ')', <!-- תוצאה | ||
--> ' נגד ', Opponents.OriginalName, ']]' ) <!-- יריבה | --> ' נגד ', Opponents.OriginalName, ']]' ) <!-- יריבה | ||
--> }} | --> }} | ||
גרסה מ־23:03, 1 בספטמבר 2022
תבנית זו אחראית על הצגת פרטי משחק בצורה מינימלית (מקבלת את מספר העמוד)