Difference between revisions of "Template:Upcoming games/row"

From comp.tf
Jump to navigation Jump to search
m
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{#pos:{{{3}}}|Portal:}}|0||{{#ifeq:4|
+
<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}} + {{#ifeq:{{#var:tournament|}}|{{{3|}}}|1|0}} }}||&#10;
+
{{#expr:{{#ifeq:{{#var:date|}}|{{{2|}}}|1|0}} + {{#ifeq:{{#var:team1|}}|{{{4|}}}|1|0}} + {{#ifeq:{{#var:team2|}}|{{{5|}}}|1|0}} }}||&#10;
 +
{{Template:Upcoming games/start}}
 +
{{!}}class="team-left" {{!}}{{#ifexist:Template:Team2/{{lc:{{{4|}}}}}|{{Team2/{{lc:{{{4|}}}}}}}|[[{{{4|}}}]] [[File:TF icon.png|link={{{4|}}}]]}}
 +
{{!}}class="versus" {{!}}vs.
 +
{{!}}class="team-right" {{!}}{{#ifexist:Template:Team1/{{lc:{{{5|}}}}}|{{Team1/{{lc:{{{5|}}}}}}}|[[File:TF icon.png|link={{{5|}}}]] [[{{{5|}}}]]}}
 
{{!}}-
 
{{!}}-
{{!}}[[{{{3}}}|{{#time:F j, Y - g:i|{{{2|}}}}}]]
+
{{!}}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:Generic_Logo.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|}}}}}}]]&nbsp;</div></div>
{{!}}{{team/{{{4|}}}}} vs. {{team/{{{4|}}}}}<!--
+
{{Template:Upcoming games/end}}<!--
 +
 
 
Variables definition
 
Variables definition
-->{{#vardefine:date|{{{2|}}}}}{{#vardefine:team1|{{{4|}}}}}{{#vardefine:team2|{{{5|}}}}}{{#vardefine:tournament|{{{3|}}}}}}}}}<!--
+
-->{{#vardefine:date|{{{2|}}}}}{{#vardefine:team1|{{{4|}}}}}{{#vardefine:team2|{{{5|}}}}}}}}}<!--
 
--></includeonly>
 
--></includeonly>

Latest revision as of 20:13, 10 March 2017