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

From comp.tf
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{{#expr:{{#ifeq:{{#var:date|}}|{{{2|}}}|1|0}} + {{#ifeq:{{#var:team1|}}|{{{4|}}}|1|0}} + {{#ifeq:{{#var:team2|}}|{{{5|}}}|1|0}} }}||

 
{{#expr:{{#ifeq:{{#var:date|}}|{{{2|}}}|1|0}} + {{#ifeq:{{#var:team1|}}|{{{4|}}}|1|0}} + {{#ifeq:{{#var:team2|}}|{{{5|}}}|1|0}} }}||

 
{{Template:Upcoming games/start}}
 
{{Template:Upcoming games/start}}
{{!}}class="team-left" {{!}}{{team2/{{lc:{{{4|}}}}}}}
+
{{!}}class="team-left" {{!}}{{#ifexist:Template:Team2/{{lc:{{{4|}}}}}|{{Team2/{{lc:{{{4|}}}}}}}|[[{{{4|}}}]] [[File:TF icon.png|link={{{4|}}}]]}}
{{!}}class="versus" {{!}}{{#ifexpr:{{{9|0}}}>{{{10|0}}}|'''}}{{{9|}}}{{#ifexpr:{{{9|0}}}>{{{10|0}}}|'''}}&nbsp;:&nbsp;{{#ifexpr:{{{9|0}}}<{{{10|0}}}|'''}}{{{10|}}}{{#ifexpr:{{{9|0}}}<{{{10|0}}}|'''}}
+
{{!}}class="versus" {{!}}<!-- {{#ifexpr:{{{9}}}>{{{10}}}|'''}}{{{9|}}}{{#ifexpr:{{{9}}}>{{{10}}}|'''}}&nbsp;:&nbsp;{{#ifexpr:{{{9}}}<{{{10}}}|'''}}{{{10|}}}{{#ifexpr:{{{9}}}<{{{10}}}|'''}} -->{{{9}}}&nbsp;:&nbsp;{{{10}}}
{{!}}class="team-right" {{!}}{{team1/{{lc:{{{5|}}}}}}}
+
{{!}}class="team-right" {{!}}{{#ifexist:Template:Team1/{{lc:{{{5|}}}}}|{{Team1/{{lc:{{{5|}}}}}}}|[[File:TF icon.png|link={{{5|}}}]] [[{{{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: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>
 
{{!}}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>

Latest revision as of 20:17, 10 March 2017