תבנית:QueryGamesTemplate: הבדלים בין גרסאות בדף
מתוך מכביפדיה
(הוספת אפשרות לשלוף על דקה)
(Add videos)
שורה 13: שורה 13:
                         -->{{#vardefine: PlayerEvent|{{תבנית: המרות/תיאור אירוע למספר אירוע| אירוע={{{PlayerAction|}}} }} }}<!--
                         -->{{#vardefine: PlayerEvent|{{תבנית: המרות/תיאור אירוע למספר אירוע| אירוע={{{PlayerAction|}}} }} }}<!--
-->{{#cargo_query:
-->{{#cargo_query:
tables=Games_Catalog, Opponents, Competitions_Catalog, Stadiums, Games_Results, Games_Events, Days_In_Week
tables=Games_Catalog, Opponents, Competitions_Catalog, Stadiums, Games_Results, Games_Events, Days_In_Week, Games_Videos
|join on=Games_Catalog.Opponent = Opponents._ID
|join on=Games_Catalog.Opponent = Opponents._ID
         ,Games_Catalog.Competition = Competitions_Catalog.CompID
         ,Games_Catalog.Competition = Competitions_Catalog.CompID
         ,Games_Catalog.Stadium = Stadiums._ID
         ,Games_Catalog.Stadium = Stadiums._ID
         ,Games_Catalog.ResultOpt = Games_Results.ResultType
         ,Games_Catalog.ResultOpt = Games_Results.ResultType
         ,Games_Catalog._pageID=Games_Events._pageID
         ,Games_Catalog._pageID = Games_Events._pageID
         ,Games_Catalog.MatchDay=Days_In_Week.DayNumber
         ,Games_Catalog.MatchDay = Days_In_Week.DayNumber,
        ,Games_Catalog._pageID = Games_Videos=_pageID
|where=1=1
|where=1=1
And Games_Events.Team = 1
And Games_Events.Team = 1
שורה 37: שורה 38:
{{#if: {{{PlayerAction|}}} | AND Games_Events.EventType IN ({{#var: PlayerEvent}}) }}
{{#if: {{{PlayerAction|}}} | AND Games_Events.EventType IN ({{#var: PlayerEvent}}) }}
{{#if: {{{PlayerActionMinute|}}} | AND Games_Events.Minute = {{{PlayerActionMinute}}} }}
{{#if: {{{PlayerActionMinute|}}} | AND Games_Events.Minute = {{{PlayerActionMinute}}} }}
{{#if: {{{GameDayInWeek|}}} | AND Games_Catalog.MatchDay = {{{GameDayInWeek}}} }}<!--
{{#if: {{{GameDayInWeek|}}} | AND Games_Catalog.MatchDay = {{{GameDayInWeek}}} }}
{{#if: {{{FullGame|}}} | AND Games_Videos.FullGame = {{{FullGame}}} }}
{{#if: {{{Highlights|}}} | AND Games_Videos.Highlights = {{{Highlights}}} }}<!--


Fields to display:
Fields to display:

גרסה מ־23:50, 1 במאי 2019

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

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