Difference between revisions of "Template:Team results"

From comp.tf
Jump to navigation Jump to search
(added team results template)
 
(made table sortable)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable centered"
+
{| class="wikitable centered sortable"
! {{{roundheader}}}
+
! {{{roundheader|Round}}}
 
! Map  
 
! Map  
 
! colspan="2" | Score
 
! colspan="2" | Score
! width="200px" | Opponent
+
! width="200px" | Opponent {{#if:{{{info|}}}|!! class="unsortable" {{!}} Info|}}
{{#if:{{{logs|}}}|! Log|}}
+
{{!}}- {{#if:{{{match1|}}}||style="display: none;"}} {{#if:{{{match1result|}}}|class="{{#ifeq:{{{match1result}}}|win|playoffs|{{#ifeq:{{{match1result}}}|loss|relegated|}}}}"|}}
{{#if:{{{vods|}}}|! VOD|}}
 
{{#if:{{{match1|}}}|{{!}}- {{#if:{{{match1result|}}}||class="{{#ifeq:{{{match1result}}}|win|playoffs|{{#ifeq:{{{match1result}}}|loss|relegated|}}}}"}}
 
 
{{!}} {{{match1round|1}}}
 
{{!}} {{{match1round|1}}}
{{!}} [[{{{match1map}}}]]
+
{{!}} {{#if:{{{match1map|}}}|[[{{{match1map}}}]]|-}}
{{!}} {{#if:{{{match1teamscore|}}}|{{{match1teamscore}}}|-}}
+
{{!}} {{#ifeq:{{{match1result}}}|win|'''{{#if:{{{match1teamscore|}}}|{{{match1teamscore}}}|-}}'''|{{#if:{{{match1teamscore|}}}|{{{match1teamscore}}}|-}}}}
{{!}} {{#if:{{{match1opponentscore|}}}|{{{match1opponentscore}}}|-}}
+
{{!}} {{#ifeq:{{{match1result}}}|loss|'''{{#if:{{{match1opponentscore|}}}|{{{match1opponentscore}}}|-}}'''|{{#if:{{{match1opponentscore|}}}|{{{match1opponentscore}}}|-}}}}
{{!}} {{#if:{{{match1opponent|}}}|{{{match1opponent}}}|-}}
+
{{!}} {{#ifeq:{{{match1result}}}|loss|'''{{#if:{{{match1opponent|}}}|{{{match1opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match1info|}}}|{{{match1info}}}|-}}|}}'''|{{#if:{{{match1opponent|}}}|{{{match1opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match1info|}}}|{{{match1info}}}|-}}|}}}}
{{#if:{{{logs|}}}|{{!}} {{#if:{{{match1log|}}}|{{{match1log}}}|}}|}}
+
{{!}}- {{#if:{{{match2|}}}||style="display: none;"}} {{#if:{{{match2result|}}}|class="{{#ifeq:{{{match2result}}}|win|playoffs|{{#ifeq:{{{match2result}}}|loss|relegated|}}}}"|}}
{{#if:{{{vods|}}}|{{!}} {{#if:{{{match1vod|}}}|{{{match1vod}}}|}}|}}|}}
 
{{#if:{{{match2|}}}|{{!}}- {{#if:{{{match2result|}}}||class="{{#ifeq:{{{match2result}}}|win|playoffs|{{#ifeq:{{{match2result}}}|loss|relegated|}}}}"}}
 
 
{{!}} {{{match2round|1}}}
 
{{!}} {{{match2round|1}}}
{{!}} [[{{{match2map}}}]]
+
{{!}} {{#if:{{{match2map|}}}|[[{{{match2map}}}]]|-}}
{{!}} {{#if:{{{match2teamscore|}}}|{{{match2teamscore}}}|-}}
+
{{!}} {{#ifeq:{{{match2result}}}|win|'''{{#if:{{{match2teamscore|}}}|{{{match2teamscore}}}|-}}'''|{{#if:{{{match2teamscore|}}}|{{{match2teamscore}}}|-}}}}
{{!}} {{#if:{{{match2opponentscore|}}}|{{{match2opponentscore}}}|-}}
+
{{!}} {{#ifeq:{{{match2result}}}|loss|'''{{#if:{{{match2opponentscore|}}}|{{{match2opponentscore}}}|-}}'''|{{#if:{{{match2opponentscore|}}}|{{{match2opponentscore}}}|-}}}}
{{!}} {{#if:{{{match2opponent|}}}|{{{match2opponent}}}|-}}
+
{{!}} {{#ifeq:{{{match2result}}}|loss|'''{{#if:{{{match2opponent|}}}|{{{match2opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match2info|}}}|{{{match2info}}}|-}}|}}'''|{{#if:{{{match2opponent|}}}|{{{match2opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match2info|}}}|{{{match2info}}}|-}}|}}}}
{{#if:{{{logs|}}}|{{!}} {{#if:{{{match2log|}}}|{{{match2log}}}|}}|}}
+
{{!}}- {{#if:{{{match3|}}}||style="display: none;"}} {{#if:{{{match3result|}}}|class="{{#ifeq:{{{match3result}}}|win|playoffs|{{#ifeq:{{{match3result}}}|loss|relegated|}}}}"|}}
{{#if:{{{vods|}}}|{{!}} {{#if:{{{match2vod|}}}|{{{match2vod}}}|}}|}}|}}
 
{{#if:{{{match3|}}}|{{!}}- {{#if:{{{match3result|}}}||class="{{#ifeq:{{{match3result}}}|win|playoffs|{{#ifeq:{{{match3result}}}|loss|relegated|}}}}"}}
 
 
{{!}} {{{match3round|1}}}
 
{{!}} {{{match3round|1}}}
{{!}} [[{{{match3map}}}]]
+
{{!}} {{#if:{{{match3map|}}}|[[{{{match3map}}}]]|-}}
{{!}} {{#if:{{{match3teamscore|}}}|{{{match3teamscore}}}|-}}
+
{{!}} {{#ifeq:{{{match3result}}}|win|'''{{#if:{{{match3teamscore|}}}|{{{match3teamscore}}}|-}}'''|{{#if:{{{match3teamscore|}}}|{{{match3teamscore}}}|-}}}}
{{!}} {{#if:{{{match3opponentscore|}}}|{{{match3opponentscore}}}|-}}
+
{{!}} {{#ifeq:{{{match3result}}}|loss|'''{{#if:{{{match3opponentscore|}}}|{{{match3opponentscore}}}|-}}'''|{{#if:{{{match3opponentscore|}}}|{{{match3opponentscore}}}|-}}}}
{{!}} {{#if:{{{match3opponent|}}}|{{{match3opponent}}}|-}}
+
{{!}} {{#ifeq:{{{match3result}}}|loss|'''{{#if:{{{match3opponent|}}}|{{{match3opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match3info|}}}|{{{match3info}}}|-}}|}}'''|{{#if:{{{match3opponent|}}}|{{{match3opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match3info|}}}|{{{match3info}}}|-}}|}}}}
{{#if:{{{logs|}}}|{{!}} {{#if:{{{match3log|}}}|{{{match3log}}}|}}|}}
+
{{!}}- {{#if:{{{match4|}}}||style="display: none;"}} {{#if:{{{match4result|}}}|class="{{#ifeq:{{{match4result}}}|win|playoffs|{{#ifeq:{{{match4result}}}|loss|relegated|}}}}"|}}
{{#if:{{{vods|}}}|{{!}} {{#if:{{{match3vod|}}}|{{{match3vod}}}|}}|}}|}}
 
{{#if:{{{match4|}}}|{{!}}- {{#if:{{{match4result|}}}||class="{{#ifeq:{{{match4result}}}|win|playoffs|{{#ifeq:{{{match4result}}}|loss|relegated|}}}}"}}
 
 
{{!}} {{{match4round|1}}}
 
{{!}} {{{match4round|1}}}
{{!}} [[{{{match4map}}}]]
+
{{!}} {{#if:{{{match4map|}}}|[[{{{match4map}}}]]|-}}
{{!}} {{#if:{{{match4teamscore|}}}|{{{match4teamscore}}}|-}}
+
{{!}} {{#ifeq:{{{match4result}}}|win|'''{{#if:{{{match4teamscore|}}}|{{{match4teamscore}}}|-}}'''|{{#if:{{{match4teamscore|}}}|{{{match4teamscore}}}|-}}}}
{{!}} {{#if:{{{match4opponentscore|}}}|{{{match4opponentscore}}}|-}}
+
{{!}} {{#ifeq:{{{match4result}}}|loss|'''{{#if:{{{match4opponentscore|}}}|{{{match4opponentscore}}}|-}}'''|{{#if:{{{match4opponentscore|}}}|{{{match4opponentscore}}}|-}}}}
{{!}} {{#if:{{{match4opponent|}}}|{{{match4opponent}}}|-}}
+
{{!}} {{#ifeq:{{{match4result}}}|loss|'''{{#if:{{{match4opponent|}}}|{{{match4opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match4info|}}}|{{{match4info}}}|-}}|}}'''|{{#if:{{{match4opponent|}}}|{{{match4opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match4info|}}}|{{{match4info}}}|-}}|}}}}
{{#if:{{{logs|}}}|{{!}} {{#if:{{{match4log|}}}|{{{match4log}}}|}}|}}
+
{{!}}- {{#if:{{{match5|}}}||style="display: none;"}} {{#if:{{{match5result|}}}|class="{{#ifeq:{{{match5result}}}|win|playoffs|{{#ifeq:{{{match5result}}}|loss|relegated|}}}}"|}}
{{#if:{{{vods|}}}|{{!}} {{#if:{{{match4vod|}}}|{{{match4vod}}}|}}|}}|}}
 
{{#if:{{{match5|}}}|{{!}}- {{#if:{{{match5result|}}}||class="{{#ifeq:{{{match5result}}}|win|playoffs|{{#ifeq:{{{match5result}}}|loss|relegated|}}}}"}}
 
 
{{!}} {{{match5round|1}}}
 
{{!}} {{{match5round|1}}}
{{!}} [[{{{match5map}}}]]
+
{{!}} {{#if:{{{match5map|}}}|[[{{{match5map}}}]]|-}}
{{!}} {{#if:{{{match5teamscore|}}}|{{{match5teamscore}}}|-}}
+
{{!}} {{#ifeq:{{{match5result}}}|win|'''{{#if:{{{match5teamscore|}}}|{{{match5teamscore}}}|-}}'''|{{#if:{{{match5teamscore|}}}|{{{match5teamscore}}}|-}}}}
{{!}} {{#if:{{{match5opponentscore|}}}|{{{match5opponentscore}}}|-}}
+
{{!}} {{#ifeq:{{{match5result}}}|loss|'''{{#if:{{{match5opponentscore|}}}|{{{match5opponentscore}}}|-}}'''|{{#if:{{{match5opponentscore|}}}|{{{match5opponentscore}}}|-}}}}
{{!}} {{#if:{{{match5opponent|}}}|{{{match5opponent}}}|-}}
+
{{!}} {{#ifeq:{{{match5result}}}|loss|'''{{#if:{{{match5opponent|}}}|{{{match5opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match5info|}}}|{{{match5info}}}|-}}|}}'''|{{#if:{{{match5opponent|}}}|{{{match5opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match5info|}}}|{{{match5info}}}|-}}|}}}}
{{#if:{{{logs|}}}|{{!}} {{#if:{{{match5log|}}}|{{{match5log}}}|}}|}}
+
{{!}}- {{#if:{{{match6|}}}||style="display: none;"}} {{#if:{{{match6result|}}}|class="{{#ifeq:{{{match6result}}}|win|playoffs|{{#ifeq:{{{match6result}}}|loss|relegated|}}}}"|}}
{{#if:{{{vods|}}}|{{!}} {{#if:{{{match5vod|}}}|{{{match5vod}}}|}}|}}|}}
 
{{#if:{{{match6|}}}|{{!}}- {{#if:{{{match6result|}}}||class="{{#ifeq:{{{match6result}}}|win|playoffs|{{#ifeq:{{{match6result}}}|loss|relegated|}}}}"}}
 
 
{{!}} {{{match6round|1}}}
 
{{!}} {{{match6round|1}}}
{{!}} [[{{{match6map}}}]]
+
{{!}} {{#if:{{{match6map|}}}|[[{{{match6map}}}]]|-}}
{{!}} {{#if:{{{match6teamscore|}}}|{{{match6teamscore}}}|-}}
+
{{!}} {{#ifeq:{{{match6result}}}|win|'''{{#if:{{{match6teamscore|}}}|{{{match6teamscore}}}|-}}'''|{{#if:{{{match6teamscore|}}}|{{{match6teamscore}}}|-}}}}
{{!}} {{#if:{{{match6opponentscore|}}}|{{{match6opponentscore}}}|-}}
+
{{!}} {{#ifeq:{{{match6result}}}|loss|'''{{#if:{{{match6opponentscore|}}}|{{{match6opponentscore}}}|-}}'''|{{#if:{{{match6opponentscore|}}}|{{{match6opponentscore}}}|-}}}}
{{!}} {{#if:{{{match6opponent|}}}|{{{match6opponent}}}|-}}
+
{{!}} {{#ifeq:{{{match6result}}}|loss|'''{{#if:{{{match6opponent|}}}|{{{match6opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match6info|}}}|{{{match6info}}}|-}}|}}'''|{{#if:{{{match6opponent|}}}|{{{match6opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match6info|}}}|{{{match6info}}}|-}}|}}}}
{{#if:{{{logs|}}}|{{!}} {{#if:{{{match6log|}}}|{{{match6log}}}|}}|}}
+
{{!}}- {{#if:{{{match7|}}}||style="display: none;"}} {{#if:{{{match7result|}}}|class="{{#ifeq:{{{match7result}}}|win|playoffs|{{#ifeq:{{{match7result}}}|loss|relegated|}}}}"|}}
{{#if:{{{vods|}}}|{{!}} {{#if:{{{match6vod|}}}|{{{match6vod}}}|}}|}}|}}
 
{{#if:{{{match7|}}}|{{!}}- {{#if:{{{match7result|}}}||class="{{#ifeq:{{{match7result}}}|win|playoffs|{{#ifeq:{{{match7result}}}|loss|relegated|}}}}"}}
 
 
{{!}} {{{match7round|1}}}
 
{{!}} {{{match7round|1}}}
{{!}} [[{{{match7map}}}]]
+
{{!}} {{#if:{{{match7map|}}}|[[{{{match7map}}}]]|-}}
{{!}} {{#if:{{{match7teamscore|}}}|{{{match7teamscore}}}|-}}
+
{{!}} {{#ifeq:{{{match7result}}}|win|'''{{#if:{{{match7teamscore|}}}|{{{match7teamscore}}}|-}}'''|{{#if:{{{match7teamscore|}}}|{{{match7teamscore}}}|-}}}}
{{!}} {{#if:{{{match7opponentscore|}}}|{{{match7opponentscore}}}|-}}
+
{{!}} {{#ifeq:{{{match7result}}}|loss|'''{{#if:{{{match7opponentscore|}}}|{{{match7opponentscore}}}|-}}'''|{{#if:{{{match7opponentscore|}}}|{{{match7opponentscore}}}|-}}}}
{{!}} {{#if:{{{match7opponent|}}}|{{{match7opponent}}}|-}}
+
{{!}} {{#ifeq:{{{match7result}}}|loss|'''{{#if:{{{match7opponent|}}}|{{{match7opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match7info|}}}|{{{match7info}}}|-}}|}}'''|{{#if:{{{match7opponent|}}}|{{{match7opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match7info|}}}|{{{match7info}}}|-}}|}}}}
{{#if:{{{logs|}}}|{{!}} {{#if:{{{match7log|}}}|{{{match7log}}}|}}|}}
+
{{!}}- {{#if:{{{match8|}}}||style="display: none;"}} {{#if:{{{match8result|}}}|class="{{#ifeq:{{{match8result}}}|win|playoffs|{{#ifeq:{{{match8result}}}|loss|relegated|}}}}"|}}
{{#if:{{{vods|}}}|{{!}} {{#if:{{{match7vod|}}}|{{{match7vod}}}|}}|}}|}}
 
{{#if:{{{match8|}}}|{{!}}- {{#if:{{{match8result|}}}||class="{{#ifeq:{{{match8result}}}|win|playoffs|{{#ifeq:{{{match8result}}}|loss|relegated|}}}}"}}
 
 
{{!}} {{{match8round|1}}}
 
{{!}} {{{match8round|1}}}
{{!}} [[{{{match8map}}}]]
+
{{!}} {{#if:{{{match8map|}}}|[[{{{match8map}}}]]|-}}
{{!}} {{#if:{{{match8teamscore|}}}|{{{match8teamscore}}}|-}}
+
{{!}} {{#ifeq:{{{match8result}}}|win|'''{{#if:{{{match8teamscore|}}}|{{{match8teamscore}}}|-}}'''|{{#if:{{{match8teamscore|}}}|{{{match8teamscore}}}|-}}}}
{{!}} {{#if:{{{match8opponentscore|}}}|{{{match8opponentscore}}}|-}}
+
{{!}} {{#ifeq:{{{match8result}}}|loss|'''{{#if:{{{match8opponentscore|}}}|{{{match8opponentscore}}}|-}}'''|{{#if:{{{match8opponentscore|}}}|{{{match8opponentscore}}}|-}}}}
{{!}} {{#if:{{{match8opponent|}}}|{{{match8opponent}}}|-}}
+
{{!}} {{#ifeq:{{{match8result}}}|loss|'''{{#if:{{{match8opponent|}}}|{{{match8opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match8info|}}}|{{{match8info}}}|-}}|}}'''|{{#if:{{{match8opponent|}}}|{{{match8opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match8info|}}}|{{{match8info}}}|-}}|}}}}
{{#if:{{{logs|}}}|{{!}} {{#if:{{{match8log|}}}|{{{match8log}}}|}}|}}
+
{{!}}- {{#if:{{{match9|}}}||style="display: none;"}} {{#if:{{{match9result|}}}|class="{{#ifeq:{{{match9result}}}|win|playoffs|{{#ifeq:{{{match9result}}}|loss|relegated|}}}}"|}}
{{#if:{{{vods|}}}|{{!}} {{#if:{{{match8vod|}}}|{{{match8vod}}}|}}|}}|}}
 
{{#if:{{{match9|}}}|{{!}}- {{#if:{{{match9result|}}}||class="{{#ifeq:{{{match9result}}}|win|playoffs|{{#ifeq:{{{match9result}}}|loss|relegated|}}}}"}}
 
 
{{!}} {{{match9round|1}}}
 
{{!}} {{{match9round|1}}}
{{!}} [[{{{match9map}}}]]
+
{{!}} {{#if:{{{match9map|}}}|[[{{{match9map}}}]]|-}}
{{!}} {{#if:{{{match9teamscore|}}}|{{{match9teamscore}}}|-}}
+
{{!}} {{#ifeq:{{{match9result}}}|win|'''{{#if:{{{match9teamscore|}}}|{{{match9teamscore}}}|-}}'''|{{#if:{{{match9teamscore|}}}|{{{match9teamscore}}}|-}}}}
{{!}} {{#if:{{{match9opponentscore|}}}|{{{match9opponentscore}}}|-}}
+
{{!}} {{#ifeq:{{{match9result}}}|loss|'''{{#if:{{{match9opponentscore|}}}|{{{match9opponentscore}}}|-}}'''|{{#if:{{{match9opponentscore|}}}|{{{match9opponentscore}}}|-}}}}
{{!}} {{#if:{{{match9opponent|}}}|{{{match9opponent}}}|-}}
+
{{!}} {{#ifeq:{{{match9result}}}|loss|'''{{#if:{{{match9opponent|}}}|{{{match9opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match9info|}}}|{{{match9info}}}|-}}|}}'''|{{#if:{{{match9opponent|}}}|{{{match9opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match9info|}}}|{{{match9info}}}|-}}|}}}}
{{#if:{{{logs|}}}|{{!}} {{#if:{{{match9log|}}}|{{{match9log}}}|}}|}}
+
{{!}}- {{#if:{{{match10|}}}||style="display: none;"}} {{#if:{{{match10result|}}}|class="{{#ifeq:{{{match10result}}}|win|playoffs|{{#ifeq:{{{match10result}}}|loss|relegated|}}}}"|}}
{{#if:{{{vods|}}}|{{!}} {{#if:{{{match9vod|}}}|{{{match9vod}}}|}}|}}|}}
 
{{#if:{{{match10|}}}|{{!}}- {{#if:{{{match10result|}}}||class="{{#ifeq:{{{match10result}}}|win|playoffs|{{#ifeq:{{{match10result}}}|loss|relegated|}}}}"}}
 
 
{{!}} {{{match10round|1}}}
 
{{!}} {{{match10round|1}}}
{{!}} [[{{{match10map}}}]]
+
{{!}} {{#if:{{{match10map|}}}|[[{{{match10map}}}]]|-}}
{{!}} {{#if:{{{match10teamscore|}}}|{{{match10teamscore}}}|-}}
+
{{!}} {{#ifeq:{{{match10result}}}|win|'''{{#if:{{{match10teamscore|}}}|{{{match10teamscore}}}|-}}'''|{{#if:{{{match10teamscore|}}}|{{{match10teamscore}}}|-}}}}
{{!}} {{#if:{{{match10opponentscore|}}}|{{{match10opponentscore}}}|-}}
+
{{!}} {{#ifeq:{{{match10result}}}|loss|'''{{#if:{{{match10opponentscore|}}}|{{{match10opponentscore}}}|-}}'''|{{#if:{{{match10opponentscore|}}}|{{{match10opponentscore}}}|-}}}}
{{!}} {{#if:{{{match10opponent|}}}|{{{match10opponent}}}|-}}
+
{{!}} {{#ifeq:{{{match10result}}}|loss|'''{{#if:{{{match10opponent|}}}|{{{match10opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match10info|}}}|{{{match10info}}}|-}}|}}'''|{{#if:{{{match10opponent|}}}|{{{match10opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match10info|}}}|{{{match10info}}}|-}}|}}}}
{{#if:{{{logs|}}}|{{!}} {{#if:{{{match10log|}}}|{{{match10log}}}|}}|}}
+
{{!}}- {{#if:{{{match11|}}}||style="display: none;"}} {{#if:{{{match11result|}}}|class="{{#ifeq:{{{match11result}}}|win|playoffs|{{#ifeq:{{{match11result}}}|loss|relegated|}}}}"|}}
{{#if:{{{vods|}}}|{{!}} {{#if:{{{match10vod|}}}|{{{match10vod}}}|}}|}}|}}
 
{{#if:{{{match11|}}}|{{!}}- {{#if:{{{match11result|}}}||class="{{#ifeq:{{{match11result}}}|win|playoffs|{{#ifeq:{{{match11result}}}|loss|relegated|}}}}"}}
 
 
{{!}} {{{match11round|1}}}
 
{{!}} {{{match11round|1}}}
{{!}} [[{{{match11map}}}]]
+
{{!}} {{#if:{{{match11map|}}}|[[{{{match11map}}}]]|-}}
{{!}} {{#if:{{{match11teamscore|}}}|{{{match11teamscore}}}|-}}
+
{{!}} {{#ifeq:{{{match11result}}}|win|'''{{#if:{{{match11teamscore|}}}|{{{match11teamscore}}}|-}}'''|{{#if:{{{match11teamscore|}}}|{{{match11teamscore}}}|-}}}}
{{!}} {{#if:{{{match11opponentscore|}}}|{{{match11opponentscore}}}|-}}
+
{{!}} {{#ifeq:{{{match11result}}}|loss|'''{{#if:{{{match11opponentscore|}}}|{{{match11opponentscore}}}|-}}'''|{{#if:{{{match11opponentscore|}}}|{{{match11opponentscore}}}|-}}}}
{{!}} {{#if:{{{match11opponent|}}}|{{{match11opponent}}}|-}}
+
{{!}} {{#ifeq:{{{match11result}}}|loss|'''{{#if:{{{match11opponent|}}}|{{{match11opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match11info|}}}|{{{match11info}}}|-}}|}}'''|{{#if:{{{match11opponent|}}}|{{{match11opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match11info|}}}|{{{match11info}}}|-}}|}}}}
{{#if:{{{logs|}}}|{{!}} {{#if:{{{match11log|}}}|{{{match11log}}}|}}|}}
+
{{!}}- {{#if:{{{match12|}}}||style="display: none;"}} {{#if:{{{match12result|}}}|class="{{#ifeq:{{{match12result}}}|win|playoffs|{{#ifeq:{{{match12result}}}|loss|relegated|}}}}"|}}
{{#if:{{{vods|}}}|{{!}} {{#if:{{{match11vod|}}}|{{{match11vod}}}|}}|}}|}}
 
{{#if:{{{match12|}}}|{{!}}- {{#if:{{{match12result|}}}||class="{{#ifeq:{{{match12result}}}|win|playoffs|{{#ifeq:{{{match12result}}}|loss|relegated|}}}}"}}
 
 
{{!}} {{{match12round|1}}}
 
{{!}} {{{match12round|1}}}
{{!}} [[{{{match12map}}}]]
+
{{!}} {{#if:{{{match12map|}}}|[[{{{match12map}}}]]|-}}
{{!}} {{#if:{{{match12teamscore|}}}|{{{match12teamscore}}}|-}}
+
{{!}} {{#ifeq:{{{match12result}}}|win|'''{{#if:{{{match12teamscore|}}}|{{{match12teamscore}}}|-}}'''|{{#if:{{{match12teamscore|}}}|{{{match12teamscore}}}|-}}}}
{{!}} {{#if:{{{match12opponentscore|}}}|{{{match12opponentscore}}}|-}}
+
{{!}} {{#ifeq:{{{match12result}}}|loss|'''{{#if:{{{match12opponentscore|}}}|{{{match12opponentscore}}}|-}}'''|{{#if:{{{match12opponentscore|}}}|{{{match12opponentscore}}}|-}}}}
{{!}} {{#if:{{{match12opponent|}}}|{{{match12opponent}}}|-}}
+
{{!}} {{#ifeq:{{{match12result}}}|loss|'''{{#if:{{{match12opponent|}}}|{{{match12opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match12info|}}}|{{{match12info}}}|-}}|}}'''|{{#if:{{{match12opponent|}}}|{{{match12opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match12info|}}}|{{{match12info}}}|-}}|}}}}
{{#if:{{{logs|}}}|{{!}} {{#if:{{{match12log|}}}|{{{match12log}}}|}}|}}
+
{{!}}- {{#if:{{{match13|}}}||style="display: none;"}} {{#if:{{{match13result|}}}|class="{{#ifeq:{{{match13result}}}|win|playoffs|{{#ifeq:{{{match13result}}}|loss|relegated|}}}}"|}}
{{#if:{{{vods|}}}|{{!}} {{#if:{{{match12vod|}}}|{{{match12vod}}}|}}|}}|}}
 
{{#if:{{{match13|}}}|{{!}}- {{#if:{{{match13result|}}}||class="{{#ifeq:{{{match13result}}}|win|playoffs|{{#ifeq:{{{match13result}}}|loss|relegated|}}}}"}}
 
 
{{!}} {{{match13round|1}}}
 
{{!}} {{{match13round|1}}}
{{!}} [[{{{match13map}}}]]
+
{{!}} {{#if:{{{match13map|}}}|[[{{{match13map}}}]]|-}}
{{!}} {{#if:{{{match13teamscore|}}}|{{{match13teamscore}}}|-}}
+
{{!}} {{#ifeq:{{{match13result}}}|win|'''{{#if:{{{match13teamscore|}}}|{{{match13teamscore}}}|-}}'''|{{#if:{{{match13teamscore|}}}|{{{match13teamscore}}}|-}}}}
{{!}} {{#if:{{{match13opponentscore|}}}|{{{match13opponentscore}}}|-}}
+
{{!}} {{#ifeq:{{{match13result}}}|loss|'''{{#if:{{{match13opponentscore|}}}|{{{match13opponentscore}}}|-}}'''|{{#if:{{{match13opponentscore|}}}|{{{match13opponentscore}}}|-}}}}
{{!}} {{#if:{{{match13opponent|}}}|{{{match13opponent}}}|-}}
+
{{!}} {{#ifeq:{{{match13result}}}|loss|'''{{#if:{{{match13opponent|}}}|{{{match13opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match13info|}}}|{{{match13info}}}|-}}|}}'''|{{#if:{{{match13opponent|}}}|{{{match13opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match13info|}}}|{{{match13info}}}|-}}|}}}}
{{#if:{{{logs|}}}|{{!}} {{#if:{{{match13log|}}}|{{{match13log}}}|}}|}}
+
{{!}}- {{#if:{{{match14|}}}||style="display: none;"}} {{#if:{{{match14result|}}}|class="{{#ifeq:{{{match14result}}}|win|playoffs|{{#ifeq:{{{match14result}}}|loss|relegated|}}}}"|}}
{{#if:{{{vods|}}}|{{!}} {{#if:{{{match13vod|}}}|{{{match13vod}}}|}}|}}|}}
 
{{#if:{{{match14|}}}|{{!}}- {{#if:{{{match14result|}}}||class="{{#ifeq:{{{match14result}}}|win|playoffs|{{#ifeq:{{{match14result}}}|loss|relegated|}}}}"}}
 
 
{{!}} {{{match14round|1}}}
 
{{!}} {{{match14round|1}}}
{{!}} [[{{{match14map}}}]]
+
{{!}} {{#if:{{{match14map|}}}|[[{{{match14map}}}]]|-}}
{{!}} {{#if:{{{match14teamscore|}}}|{{{match14teamscore}}}|-}}
+
{{!}} {{#ifeq:{{{match14result}}}|win|'''{{#if:{{{match14teamscore|}}}|{{{match14teamscore}}}|-}}'''|{{#if:{{{match14teamscore|}}}|{{{match14teamscore}}}|-}}}}
{{!}} {{#if:{{{match14opponentscore|}}}|{{{match14opponentscore}}}|-}}
+
{{!}} {{#ifeq:{{{match14result}}}|loss|'''{{#if:{{{match14opponentscore|}}}|{{{match14opponentscore}}}|-}}'''|{{#if:{{{match14opponentscore|}}}|{{{match14opponentscore}}}|-}}}}
{{!}} {{#if:{{{match14opponent|}}}|{{{match14opponent}}}|-}}
+
{{!}} {{#ifeq:{{{match14result}}}|loss|'''{{#if:{{{match14opponent|}}}|{{{match14opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match14info|}}}|{{{match14info}}}|-}}|}}'''|{{#if:{{{match14opponent|}}}|{{{match14opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match14info|}}}|{{{match14info}}}|-}}|}}}}
{{#if:{{{logs|}}}|{{!}} {{#if:{{{match14log|}}}|{{{match14log}}}|}}|}}
+
{{!}}- {{#if:{{{match15|}}}||style="display: none;"}} {{#if:{{{match15result|}}}|class="{{#ifeq:{{{match15result}}}|win|playoffs|{{#ifeq:{{{match15result}}}|loss|relegated|}}}}"|}}
{{#if:{{{vods|}}}|{{!}} {{#if:{{{match14vod|}}}|{{{match14vod}}}|}}|}}|}}
 
{{#if:{{{match15|}}}|{{!}}- {{#if:{{{match15result|}}}||class="{{#ifeq:{{{match15result}}}|win|playoffs|{{#ifeq:{{{match15result}}}|loss|relegated|}}}}"}}
 
 
{{!}} {{{match15round|1}}}
 
{{!}} {{{match15round|1}}}
{{!}} [[{{{match15map}}}]]
+
{{!}} {{#if:{{{match15map|}}}|[[{{{match15map}}}]]|-}}
{{!}} {{#if:{{{match15teamscore|}}}|{{{match15teamscore}}}|-}}
+
{{!}} {{#ifeq:{{{match15result}}}|win|'''{{#if:{{{match15teamscore|}}}|{{{match15teamscore}}}|-}}'''|{{#if:{{{match15teamscore|}}}|{{{match15teamscore}}}|-}}}}
{{!}} {{#if:{{{match15opponentscore|}}}|{{{match15opponentscore}}}|-}}
+
{{!}} {{#ifeq:{{{match15result}}}|loss|'''{{#if:{{{match15opponentscore|}}}|{{{match15opponentscore}}}|-}}'''|{{#if:{{{match15opponentscore|}}}|{{{match15opponentscore}}}|-}}}}
{{!}} {{#if:{{{match15opponent|}}}|{{{match15opponent}}}|-}}
+
{{!}} {{#ifeq:{{{match15result}}}|loss|'''{{#if:{{{match15opponent|}}}|{{{match15opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match15info|}}}|{{{match15info}}}|-}}|}}'''|{{#if:{{{match15opponent|}}}|{{{match15opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match15info|}}}|{{{match15info}}}|-}}|}}}}
{{#if:{{{logs|}}}|{{!}} {{#if:{{{match15log|}}}|{{{match15log}}}|}}|}}
+
{{!}}- {{#if:{{{match16|}}}||style="display: none;"}} {{#if:{{{match16result|}}}|class="{{#ifeq:{{{match16result}}}|win|playoffs|{{#ifeq:{{{match16result}}}|loss|relegated|}}}}"|}}
{{#if:{{{vods|}}}|{{!}} {{#if:{{{match15vod|}}}|{{{match15vod}}}|}}|}}|}}
 
{{#if:{{{match16|}}}|{{!}}- {{#if:{{{match16result|}}}||class="{{#ifeq:{{{match16result}}}|win|playoffs|{{#ifeq:{{{match16result}}}|loss|relegated|}}}}"}}
 
 
{{!}} {{{match16round|1}}}
 
{{!}} {{{match16round|1}}}
{{!}} [[{{{match16map}}}]]
+
{{!}} {{#if:{{{match16map|}}}|[[{{{match16map}}}]]|-}}
{{!}} {{#if:{{{match16teamscore|}}}|{{{match16teamscore}}}|-}}
+
{{!}} {{#ifeq:{{{match16result}}}|win|'''{{#if:{{{match16teamscore|}}}|{{{match16teamscore}}}|-}}'''|{{#if:{{{match16teamscore|}}}|{{{match16teamscore}}}|-}}}}
{{!}} {{#if:{{{match16opponentscore|}}}|{{{match16opponentscore}}}|-}}
+
{{!}} {{#ifeq:{{{match16result}}}|loss|'''{{#if:{{{match16opponentscore|}}}|{{{match16opponentscore}}}|-}}'''|{{#if:{{{match16opponentscore|}}}|{{{match16opponentscore}}}|-}}}}
{{!}} {{#if:{{{match16opponent|}}}|{{{match16opponent}}}|-}}
+
{{!}} {{#ifeq:{{{match16result}}}|loss|'''{{#if:{{{match16opponent|}}}|{{{match16opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match16info|}}}|{{{match16info}}}|-}}|}}'''|{{#if:{{{match16opponent|}}}|{{{match16opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match16info|}}}|{{{match16info}}}|-}}|}}}}
{{#if:{{{logs|}}}|{{!}} {{#if:{{{match16log|}}}|{{{match16log}}}|}}|}}
+
|}<noinclude>
{{#if:{{{vods|}}}|{{!}} {{#if:{{{match16vod|}}}|{{{match16vod}}}|}}|}}|}}
+
=== Usage ===
|}
+
The template currently supports up to 16 matches. The template below should give you an idea of how this works:
</div>
+
<pre>{{Team results
</div>
+
| roundheader = Week
 +
| info = 1
 +
| match1 = 1 | match1result = loss | match1round = 1 | match1map = cp_process_rc3 | match1teamscore = 4 | match1opponentscore = 5 | match1opponent = Classic Mixup | match1info = {{ESEA match|3330571}}
 +
| match2 = 1 | match2result = win | match2round = 1 | match2map = cp_process_rc3 | match2teamscore = 5 | match2opponentscore = 1 | match2opponent = The Runaway 5 | match2info = {{ESEA match|3333451}}
 +
}}</pre>
 +
{{Team results
 +
| roundheader = Week
 +
| info = 1
 +
| match1 = 1 | match1result = loss | match1round = 1 | match1map = cp_process_rc3 | match1teamscore = 4 | match1opponentscore = 5 | match1opponent = Classic Mixup | match1info = {{ESEA match|3330571}}
 +
| match2 = 1 | match2result = win | match2round = 1 | match2map = cp_process_rc3 | match2teamscore = 5 | match2opponentscore = 1 | match2opponent = The Runaway 5 | match2info = {{ESEA match|3333451}}
 +
}}
 +
 
 +
Omitting the <code>info</code> variable hides the Info column from display.
 +
</noinclude>

Latest revision as of 15:57, 26 August 2013

Round Map Score Opponent
1 - - - -
1 - - - -
1 - - - -
1 - - - -
1 - - - -
1 - - - -
1 - - - -
1 - - - -
1 - - - -
1 - - - -
1 - - - -
1 - - - -
1 - - - -
1 - - - -
1 - - - -
1 - - - -

Usage[edit]

The template currently supports up to 16 matches. The template below should give you an idea of how this works:

{{Team results
| roundheader = Week
| info = 1
| match1 = 1 | match1result = loss | match1round = 1 | match1map = cp_process_rc3 | match1teamscore = 4 | match1opponentscore = 5 | match1opponent = Classic Mixup | match1info = {{ESEA match|3330571}}
| match2 = 1 | match2result = win | match2round = 1 | match2map = cp_process_rc3 | match2teamscore = 5 | match2opponentscore = 1 | match2opponent = The Runaway 5 | match2info = {{ESEA match|3333451}}
}}
Week Map Score Opponent Info
1 cp_process_rc3 4 5 Classic Mixup ESEA icon.png
1 cp_process_rc3 5 1 The Runaway 5 ESEA icon.png
1 - - - - -
1 - - - - -
1 - - - - -
1 - - - - -
1 - - - - -
1 - - - - -
1 - - - - -
1 - - - - -
1 - - - - -
1 - - - - -
1 - - - - -
1 - - - - -
1 - - - - -
1 - - - - -

Omitting the info variable hides the Info column from display.