Espd banner horizontal.png

Difference between revisions of "Template:FrontpageResults/Line"

From Esportspedia - Smite Esports Wiki
Jump to: navigation, search
m (Unovy moved page Tamplate:FrontpageResults/Line to Template:FrontpageResults/Line without leaving a redirect)
Line 3: Line 3:
 
|
 
|
 
{| style="margin:-3px -1px;width:100%;table-layout:fixed"
 
{| style="margin:-3px -1px;width:100%;table-layout:fixed"
{{#if:{{{?Matchcalendar team1|}}}|{{#if:{{{?Matchcalendar team2|}}}|{{!}} style="width:calc(50% - 5px);text-align:right;" {{!}} {{TeamShort1|{{{?Matchcalendar team1}}}}}
+
{{#if:{{{?Matchcalendar team1|}}}|{{#if:{{{?Matchcalendar team2|}}}|{{!}} style="width:calc(50% - 5px);text-align:right;" {{!}} {{{{#ifeq:{{{?Matchcalendar xbox|}}}|true|teamxbox|team}}|{{{?Matchcalendar team1}}}|leftshort}}
 
{{!}} style="width:20px;text-align:center;" {{!}} vs  
 
{{!}} style="width:20px;text-align:center;" {{!}} vs  
{{!}} style="width:calc(50% - 5px);" {{!}}{{TeamShort|{{{?Matchcalendar team2}}}}}|''{{{?Matchcalendar round|}}}''}}|''{{{?Matchcalendar round|}}}''}}
+
{{!}} style="width:calc(50% - 5px);" {{!}}{{{{#ifeq:{{{?Matchcalendar xbox|}}}|true|teamxbox|team}}|{{{?Matchcalendar team2}}}|rightshort}}|''{{{?Matchcalendar round|}}}''}}|''{{{?Matchcalendar round|}}}''}}
 
|}
 
|}
|align="center"|{{#ifeq:{{{?Matchcalendar winner}}}|0|<span style="font-size:60%">DRAW</span>|{{team|{{{?Matchcalendar team{{{?Matchcalendar winner}}} }}}|onlyimagelinked|size=35px }} }}
+
|align="center"|{{#ifeq:{{{?Matchcalendar winner}}}|0|<span style="font-size:60%">DRAW</span>|{{{{#ifeq:{{{?Matchcalendar xbox|}}}|true|teamxbox|team}}|{{{?Matchcalendar team{{{?Matchcalendar winner}}} }}}|onlyimagelinked|size=35px }} }}
 
|-</includeonly><noinclude>{{documentation}}</noinclude>
 
|-</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 17:35, May 27, 2016