תבנית:QueryGamesTemplate: הבדלים בין גרסאות בדף
מתוך מכביפדיה
(Add Leg to the template querying options)
(Make sure we check for maccabi players stats (but only if needed, We may want to query a game without any players))
שורה 24: שורה 24:
         ,Games_Events._pageID = Events2._pageID
         ,Games_Events._pageID = Events2._pageID
|where=1=1
|where=1=1
And Games_Events.Team = 1
{{#if: {{{Player|}}} And Games_Events.Team = 1}}
 
{{#if: {{{Competition|}}} |  AND Games_Catalog.Competition IN ({{#var: SameCompetitions}}) }}<!-- the "()" around the SameCompetition required for "IN" operator -->
{{#if: {{{Competition|}}} |  AND Games_Catalog.Competition IN ({{#var: SameCompetitions}}) }}<!-- the "()" around the SameCompetition required for "IN" operator -->
{{#if: {{{Stadium|}}} |  AND Games_Catalog.Stadium IN ({{#var: SameStadiums}}) }}<!-- the "()" around the SameStadiums required for "IN" operator -->
{{#if: {{{Stadium|}}} |  AND Games_Catalog.Stadium IN ({{#var: SameStadiums}}) }}<!-- the "()" around the SameStadiums required for "IN" operator -->

גרסה מ־01:47, 28 באוגוסט 2020

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

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