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


--></includeonly><noinclude>
--></includeonly><noinclude>
תבנית זו אחראית על הצגת פרטי משחק בצורה מינימלית (מקבלת את מספר העמוד)
תבנית זו אחראית על הצגת פרטי משחק בצורה מינימלית (מקבלת את מספר העמוד)
</noinclude>
</noinclude>

גרסה אחרונה מ־17:44, 16 בספטמבר 2022

תבנית זו אחראית על הצגת פרטי משחק בצורה מינימלית (מקבלת את מספר העמוד)