Difference between revisions of "Template:MatchMaps"
Jump to navigation
Jump to search
m |
|||
Line 41: | Line 41: | ||
<!--|Has team won={{#ifeq{{winner|}}|2|{{#var:team2|TBD}}{{#ifeq{{winner|}}|1|{{#var:team1|TBD}}}}}} --> | <!--|Has team won={{#ifeq{{winner|}}|2|{{#var:team2|TBD}}{{#ifeq{{winner|}}|1|{{#var:team1|TBD}}}}}} --> | ||
|Has team won={{#switch:{{{winner|}}} | |Has team won={{#switch:{{{winner|}}} | ||
− | |1={{{team1|}}} | + | |1={{{team1|}}} |
− | |2={{{team2|}}} | + | |2={{{team2|}}} |
− | |#default=TBD | + | |#default=TBD |
}} | }} | ||
|Has tournament name={{#var:tournament_ticker_name|{{#var:tournament_name|{{FULLPAGENAME}}}}}} | |Has tournament name={{#var:tournament_ticker_name|{{#var:tournament_name|{{FULLPAGENAME}}}}}} | ||
|Has tournament icon={{#var:tournament_icon|}} | |Has tournament icon={{#var:tournament_icon|}} | ||
|Is finished={{#ifeq:{{#var:finished|}}|true|true|{{#if:{{#var:Match_date|}}|{{#ifexpr:({{#time:U}}-{{#time:U|{{#var:Match_date}}{{#var:timezone}}}}) > 30800|true|false}}|false}}}} | |Is finished={{#ifeq:{{#var:finished|}}|true|true|{{#if:{{#var:Match_date|}}|{{#ifexpr:({{#time:U}}-{{#time:U|{{#var:Match_date}}{{#var:timezone}}}}) > 30800|true|false}}|false}}}} | ||
− | |Has team left score={{ | + | |Has team left score={{{games1|}}} |
− | |Has team right score={{ | + | |Has team right score={{{games2|}}} |
|has exact time={{#if:{{#var:timezone|}}|true|false}} | |has exact time={{#if:{{#var:timezone|}}|true|false}} | ||
}}{{#vardefine:team1wins|0}}{{#vardefine:team2wins|0}}{{#vardefine:finished|false}}</includeonly><noinclude>{{documentation}}[[Category:Source Liquipedia]]</noinclude> | }}{{#vardefine:team1wins|0}}{{#vardefine:team2wins|0}}{{#vardefine:finished|false}}</includeonly><noinclude>{{documentation}}[[Category:Source Liquipedia]]</noinclude> |