Difference between revisions of "Template:Upcoming and ongoing games"
Jump to navigation
Jump to search
m (Replaced content with "cheese") |
m |
||
Line 1: | Line 1: | ||
− | + | <includeonly>{{#ifeq:{{#pos:{{{3}}}|Portal:}}|0||{{#ifeq:3| | |
+ | {{#expr:{{#ifeq:{{#var:date|}}|{{{2|}}}|1|0}} + {{#ifeq:{{#var:team1|}}|{{{4|}}}|1|0}} + {{#ifeq:{{#var:team2|}}|{{{5|}}}|1|0}} }}|| | ||
+ | {{Template:Upcoming games/start}} | ||
+ | {{!}}class="team-left" {{!}}{{team2Short/{{lc:{{{4|}}}}}}} | ||
+ | {{!}}class="versus" {{!}}vs. | ||
+ | {{!}}class="team-right" {{!}}{{teamShort/{{lc:{{{5|}}}}}}} | ||
+ | {{!}}- | ||
+ | {{!}}class="match-filler" colspan="3"{{!}}<span class="match-countdown"><span class="streamLink">{{{6|}}}</span><span class="datetime" style="display: none">{{#time:F j, Y - G:i|{{{2|}}}}} {{Abbr/UTC}}</span><span class="countdown match-countdown-countdown"></span></span><div style="width:180px; float:right; white-space:nowrap;"><span style="float:right; vertical-align:middle;">[[{{#if:{{{7|}}}|File:{{{7}}}|File:InfoboxIcon_Tournament.png}}|24x24px|link={{{3}}}{{#if:{{{8|}}}|{{!}}{{{8}}}}}]]</span><div style="overflow:hidden; text-overflow:ellipsis; max-width: 170px; vertical-align:middle; white-space:nowrap; font-size:11px; height:16px; margin-top:3px;">[[{{{3}}}|{{{8|{{{3|}}}}}}]] </div></div> | ||
+ | {{Template:Upcoming games/end}}<!-- | ||
+ | |||
+ | Variables definition | ||
+ | -->{{#vardefine:date|{{{2|}}}}}{{#vardefine:team1|{{{4|}}}}}{{#vardefine:team2|{{{5|}}}}}}}}}<!-- | ||
+ | --></includeonly> |