Editing Template:Team results

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.

Latest revision Your text
Line 1: Line 1:
{| class="wikitable centered sortable"
+
{| class="wikitable centered"
 
! {{{roundheader|Round}}}
 
! {{{roundheader|Round}}}
 
! Map  
 
! Map  
 
! colspan="2" | Score
 
! colspan="2" | Score
! width="200px" | Opponent {{#if:{{{info|}}}|!! class="unsortable" {{!}} Info|}}
+
! width="200px" | Opponent {{#if:{{{info|}}}|!! Info|}}
 
{{!}}- {{#if:{{{match1|}}}||style="display: none;"}} {{#if:{{{match1result|}}}|class="{{#ifeq:{{{match1result}}}|win|playoffs|{{#ifeq:{{{match1result}}}|loss|relegated|}}}}"|}}
 
{{!}}- {{#if:{{{match1|}}}||style="display: none;"}} {{#if:{{{match1result|}}}|class="{{#ifeq:{{{match1result}}}|win|playoffs|{{#ifeq:{{{match1result}}}|loss|relegated|}}}}"|}}
 
{{!}} {{{match1round|1}}}
 
{{!}} {{{match1round|1}}}
Line 100: Line 100:
 
{{!}} {{#ifeq:{{{match16result}}}|loss|'''{{#if:{{{match16opponentscore|}}}|{{{match16opponentscore}}}|-}}'''|{{#if:{{{match16opponentscore|}}}|{{{match16opponentscore}}}|-}}}}
 
{{!}} {{#ifeq:{{{match16result}}}|loss|'''{{#if:{{{match16opponentscore|}}}|{{{match16opponentscore}}}|-}}'''|{{#if:{{{match16opponentscore|}}}|{{{match16opponentscore}}}|-}}}}
 
{{!}} {{#ifeq:{{{match16result}}}|loss|'''{{#if:{{{match16opponent|}}}|{{{match16opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match16info|}}}|{{{match16info}}}|-}}|}}'''|{{#if:{{{match16opponent|}}}|{{{match16opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match16info|}}}|{{{match16info}}}|-}}|}}}}
 
{{!}} {{#ifeq:{{{match16result}}}|loss|'''{{#if:{{{match16opponent|}}}|{{{match16opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match16info|}}}|{{{match16info}}}|-}}|}}'''|{{#if:{{{match16opponent|}}}|{{{match16opponent}}}|-}} {{#if:{{{info|}}}|{{!}}{{!}} {{#if:{{{match16info|}}}|{{{match16info}}}|-}}|}}}}
|}<noinclude>
+
|}
=== Usage ===
 
The template currently supports up to 16 matches. The template below should give you an idea of how this works:
 
<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}}
 
}}</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>
 

Please note that all contributions to comp.tf may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see comp.tf:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page: