Difference between revisions of "Template:6v6 match"

From Team Fortress Wiki
Jump to: navigation, search
m (Removing ourselves as "home" defaults - opens the template for use for other people's matches, and we might not always be the "Home" team.)
m (reverted to include defaults, removed concept of home/away)
Line 1: Line 1:
'''OTFWiki''' vs '''{{{away-team|''No away team specified''}}}'''
+
'''OTFWiki''' vs '''{{{team2|''No away team specified''}}}'''
 
<br/>'''Played:''' {{{played|Not yet}}}
 
<br/>'''Played:''' {{{played|Not yet}}}
 
<br/><small>''Open the table for more information''</small>
 
<br/><small>''Open the table for more information''</small>
Line 15: Line 15:
 
| colspan="2" |
 
| colspan="2" |
 
{| style="width:600px;text-align:center;"
 
{| style="width:600px;text-align:center;"
| class="header" style="width:250px;" | '''{{{home-team|''No home-team specified''}}}'''
+
| class="header" style="width:250px;" | '''{{{team1|OTFWiki}}}'''
 
{{#switch: {{lc:{{{winner}}}}}
 
{{#switch: {{lc:{{{winner}}}}}
   | home = {{!}} style="width:25px;background:#9CF;" {{!}} {{{home-score|-}}}
+
   | home = {{!}} style="width:25px;background:#9CF;" {{!}} {{{t1-score|-}}}
           {{!}} style="width:25px;background:#FF4040;" {{!}} {{{away-score|-}}}
+
           {{!}} style="width:25px;background:#FF4040;" {{!}} {{{t2-score|-}}}
  
   | away = {{!}} style="width:25px;background:#FF4040;" {{!}} {{{home-score|-}}}
+
   | away = {{!}} style="width:25px;background:#FF4040;" {{!}} {{{t1-score|-}}}
           {{!}} style="width:25px;background:#9CF;" {{!}} {{{away-score|-}}}
+
           {{!}} style="width:25px;background:#9CF;" {{!}} {{{t2-score|-}}}
 
   | draw
 
   | draw
 
   | n/a
 
   | n/a
   | #default = {{!}} style="width:25px;background:#EBE2CA;" {{!}} {{{home-score|-}}}
+
   | #default = {{!}} style="width:25px;background:#EBE2CA;" {{!}} {{{t1-score|-}}}
               {{!}} style="width:25px;background:#EBE2CA;" {{!}} {{{away-score|-}}}
+
               {{!}} style="width:25px;background:#EBE2CA;" {{!}} {{{t2-score|-}}}
 
}}
 
}}
| class="header" style="width:250px;" | '''{{{away-team|''No away-team specified''}}}'''
+
| class="header" style="width:250px;" | '''{{{team2|''No second team specified''}}}'''
 
|}
 
|}
 
|-
 
|-
Line 37: Line 37:
 
| style="width:13%;text-align:center;" | {{Icon class|Medic|size=16px}}
 
| style="width:13%;text-align:center;" | {{Icon class|Medic|size=16px}}
 
|-
 
|-
| {{{home-scout1|Not listed}}}
+
| [[User:{{{t1-scout1|RJackson}}}|{{{t1-scout1|RJackson}}}]]
| {{{home-soldier1|Not listed}}}
+
| [[User:{{{t1-soldier1|Moussekateer}}}|{{{t1-soldier1|Moussekateer}}}]]
| {{{home-demoman|Not listed}}}
+
| [[User:{{{t1-demoman|I-ghost}}}|{{{t1-demoman|N/A}}}]]
| {{{home-medic|Not listed}}}
+
| [[User:{{{t1-medic|I-ghost}}}|{{{t1-medic|i-ghost}}}]]
 
|-
 
|-
| {{{home-scout2|Not listed}}}
+
| [[User:{{{t1-scout2|NVis}}}|{{{t1-scout2|nVis}}}]]
| {{{home-soldier2|Not listed}}}
+
| [[User:{{{t1-soldier2|Smashman}}}|{{{t1-soldier2|Smashman}}}]]
 
|}</small>
 
|}</small>
 
|<small>
 
|<small>
Line 52: Line 52:
 
| style="width:13%;text-align:center;" | {{Icon class|Medic|size=16px}}
 
| style="width:13%;text-align:center;" | {{Icon class|Medic|size=16px}}
 
|-
 
|-
| {{{away-scout1|Not listed}}}
+
| {{{t2-scout1|Not listed}}}
| {{{away-soldier1|Not listed}}}
+
| {{{t2-soldier1|Not listed}}}
| {{{away-demoman|Not listed}}}
+
| {{{t2-demoman|Not listed}}}
| {{{away-medic|Not listed}}}
+
| {{{t2-medic|Not listed}}}
 
|-
 
|-
| {{{away-scout2|Not listed}}}
+
| {{{t2-scout2|Not listed}}}
| {{{away-soldier2|Not listed}}}
+
| {{{t2-soldier2|Not listed}}}
 
|}</small>
 
|}</small>
 
|-
 
|-
Line 77: Line 77:
 
<hr/>
 
<hr/>
 
Generic parameters:
 
Generic parameters:
*'''home-team''' Home team. Defaults to '''OTFWiki'''
+
*'''team1''' First team (left). Defaults to '''OTFWiki'''
*'''away-team''' The opposing team
+
*'''team2''' Second team (right).
 
*'''played''' Match played or not. Takes literal string. Examples: Yes, Played on the date of x/y/z.
 
*'''played''' Match played or not. Takes literal string. Examples: Yes, Played on the date of x/y/z.
*'''home-score''' Score of home team
+
*'''t1-score''' Score of first team
*'''away-score''' Score of opponents
+
*'''t2-score''' Score of second
 
*'''map''' Initial map.
 
*'''map''' Initial map.
 
*'''maps''' Additional maps played on. Example: ''<nowiki>[[Gullywash]], [[Viaduct]]</nowiki>''
 
*'''maps''' Additional maps played on. Example: ''<nowiki>[[Gullywash]], [[Viaduct]]</nowiki>''
Line 89: Line 89:
 
<hr/>
 
<hr/>
 
Class parameters (ours have defaults):
 
Class parameters (ours have defaults):
*'''home-medic''' Name of our Medic
+
*'''t1-medic''' Name of our Medic
*'''home-scout1''' Name of our first Scout
+
*'''t1-scout1''' Name of our first Scout
*'''home-scout2''' Name of our second Scout
+
*'''t1-scout2''' Name of our second Scout
*'''home-soldier1''' Name of our first Soldier
+
*'''t1-soldier1''' Name of our first Soldier
*'''home-soldier2''' Name of our second Soldier
+
*'''t1-soldier2''' Name of our second Soldier
*'''home-demoman''' Name of our Demoman
+
*'''t1-demoman''' Name of our Demoman
 
<hr/>
 
<hr/>
*'''away-medic''' Name of their Medic
+
*'''t2-medic''' Name of their Medic
*'''away-scout1''' Name of their first Scout
+
*'''t2-scout1''' Name of their first Scout
*'''away-scout2''' Name of their second Scout
+
*'''t2-scout2''' Name of their second Scout
*'''away-soldier1''' Name of their first Soldier
+
*'''t2-soldier1''' Name of their first Soldier
*'''away-soldier2''' Name of their second Soldier
+
*'''t2-soldier2''' Name of their second Soldier
*'''away-demoman''' Name of their Demoman
+
*'''t2-demoman''' Name of their Demoman
 
</noinclude>
 
</noinclude>

Revision as of 17:47, 30 August 2011

OTFWiki vs No away team specified
Played: Not yet
Open the table for more information


Documentation for 6v6 match

Insert a league match table thing into the page


Generic parameters:

  • team1 First team (left). Defaults to OTFWiki
  • team2 Second team (right).
  • played Match played or not. Takes literal string. Examples: Yes, Played on the date of x/y/z.
  • t1-score Score of first team
  • t2-score Score of second
  • map Initial map.
  • maps Additional maps played on. Example: [[Gullywash]], [[Viaduct]]
  • match-time Date and time arranged
  • casts Any casts or SourceTV information for spectating the match.
  • demos Any demos from the match.

Class parameters (ours have defaults):

  • t1-medic Name of our Medic
  • t1-scout1 Name of our first Scout
  • t1-scout2 Name of our second Scout
  • t1-soldier1 Name of our first Soldier
  • t1-soldier2 Name of our second Soldier
  • t1-demoman Name of our Demoman

  • t2-medic Name of their Medic
  • t2-scout1 Name of their first Scout
  • t2-scout2 Name of their second Scout
  • t2-soldier1 Name of their first Soldier
  • t2-soldier2 Name of their second Soldier
  • t2-demoman Name of their Demoman