תבנית:SearchVolleyballGames: הבדלים בין גרסאות בדף
מתוך מכביפדיה
(Support searching with points diff action operator)
(Search by canonical opponent (so every related opponent will appear in same search))
 
(2 גרסאות ביניים של אותו משתמש אינן מוצגות)
שורה 9: שורה 9:
                         -->{{#vardefine: SetsDiffForMaccabiOperator| {{#בחר:{{{MaccabiSetsDifferentAction|}}}|מתחת ל=<|בדיוק==|מעל ל=> }} }}<!--
                         -->{{#vardefine: SetsDiffForMaccabiOperator| {{#בחר:{{{MaccabiSetsDifferentAction|}}}|מתחת ל=<|בדיוק==|מעל ל=> }} }}<!--
                         -->{{#vardefine: PointsDiffForMaccabiOperator| {{#בחר:{{{MaccabiPointsDifferentAction|}}}|מתחת ל=<|בדיוק==|מעל ל=> }} }}<!--
                         -->{{#vardefine: PointsDiffForMaccabiOperator| {{#בחר:{{{MaccabiPointsDifferentAction|}}}|מתחת ל=<|בדיוק==|מעל ל=> }} }}<!--
                        -->{{#vardefine: SameOpponents|{{כדורעף/המרות/המרות יריבה/יריבה לרשימת יריבות מקושרות| יריבה={{{Opponent|}}} }} }}<!--
-->{{#cargo_query:
-->{{#cargo_query:
tables=Volleyball_Games, Games_Results, Days_In_Week, Volleyball_Competitions
tables=Volleyball_Games, Games_Results, Days_In_Week, Volleyball_Competitions
שורה 27: שורה 29:


{{#if: {{{Stadium|}}} |  AND Volleyball_Games.Stadium = "{{{Stadium|}}}" }}
{{#if: {{{Stadium|}}} |  AND Volleyball_Games.Stadium = "{{{Stadium|}}}" }}
{{#if: {{{Opponent|}}} |  AND Volleyball_Games.Opponent = "{{{Opponent|}}}" }}
{{#if: {{{Opponent|}}} |  AND Volleyball_Games.Opponent IN ({{#var: SameOpponents}}) }}<!-- the "()" around the SameOpponents required for "IN" operator -->
{{#if: {{{Coach|}}} |  AND Volleyball_Games.CoachMaccabi="{{{Coach}}}" }}
{{#if: {{{Coach|}}} |  AND Volleyball_Games.CoachMaccabi="{{{Coach}}}" }}
{{#if: {{{CoachOpponent|}}} |  AND Volleyball_Games.CoachOpponent="{{{CoachOpponent}}}" }}
{{#if: {{{CoachOpponent|}}} |  AND Volleyball_Games.CoachOpponent="{{{CoachOpponent}}}" }}
שורה 67: שורה 69:
           ,Volleyball_Games.TotalSetsOpponent=מערכות ליריבה
           ,Volleyball_Games.TotalSetsOpponent=מערכות ליריבה
           ,Games_Results.ResultString=תוצאת משחק <!-- Cast number to string from games results table -->
           ,Games_Results.ResultString=תוצאת משחק <!-- Cast number to string from games results table -->
           ,CONCAT('[[', Volleyball_Games.CoachMaccabi, ']]')=מאמן מכבי
           ,CONCAT('[[כדורעף:', Volleyball_Games.CoachMaccabi, ']]')=מאמן מכבי
           ,Volleyball_Games.CoachOpponent=מאמן יריבה
           ,Volleyball_Games.CoachOpponent=מאמן יריבה
           ,Volleyball_Games.TotalPointsMaccabi=נק למכבי
           ,Volleyball_Games.TotalPointsMaccabi=נק למכבי
שורה 109: שורה 111:


{{#if: {{{Stadium|}}} |  AND Volleyball_Games.Stadium = "{{{Stadium|}}}" }}
{{#if: {{{Stadium|}}} |  AND Volleyball_Games.Stadium = "{{{Stadium|}}}" }}
{{#if: {{{Opponent|}}} |  AND Volleyball_Games.Opponent = "{{{Opponent|}}}" }}
{{#if: {{{Opponent|}}} |  AND Volleyball_Games.Opponent IN ({{#var: SameOpponents}}) }}<!-- the "()" around the SameOpponents required for "IN" operator -->
{{#if: {{{Coach|}}} |  AND Volleyball_Games.CoachMaccabi="{{{Coach}}}" }}
{{#if: {{{Coach|}}} |  AND Volleyball_Games.CoachMaccabi="{{{Coach}}}" }}
{{#if: {{{CoachOpponent|}}} |  AND Volleyball_Games.CoachOpponent="{{{CoachOpponent}}}" }}
{{#if: {{{CoachOpponent|}}} |  AND Volleyball_Games.CoachOpponent="{{{CoachOpponent}}}" }}

גרסה אחרונה מ־02:23, 1 בדצמבר 2025

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

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