Difference between revisions of "Template:6v6 match"

From Team Fortress Wiki
Jump to: navigation, search
m
m (fixed noinclude)
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''OTFWiki''' vs '''{{{away-team|''No away team specified''}}}'''
+
'''OTFWiki''' vs '''{{{team2|''team2'' not 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>
{| class="wikitable collapsible" style="width:600px;border:1px solid #000;"
+
{| class="wikitable collapsible {{#switch: {{{table}}}
 +
| collapsed = collapsed
 +
| uncollapsed = uncollapsed
 +
| #default = collapsed
 +
}}" style="width:600px;border:1px solid #000;"
 
! class="header" colspan="500" | {{#switch: {{lc:{{{format}}}}}
 
! class="header" colspan="500" | {{#switch: {{lc:{{{format}}}}}
 
  | standard = Standard
 
  | standard = Standard
 
  | stopwatch = Stopwatch
 
  | stopwatch = Stopwatch
 
  | #default = Standard
 
  | #default = Standard
}} 6v6 on [[{{{map|Badlands}}}]] {{md}} {{{match-time|''Match time Not specified''}}}
+
}} 6v6 on [[{{{map|Badlands}}}]] {{md}} {{{match-time|''match-time'' not specified}}}{{#if:{{{team2|}}}|{{#if:{{{match-time|}}}|{{#ifeq:{{{discuss|}}}|no|| {{md}} [[Image:Speech voice.png|x20px|link={{TALKPAGENAME}}#vs {{{team2|}}} {{{match-time|}}}]]}}}}}}
 
|-
 
|-
 
| colspan="2" |
 
| colspan="2" |
 
{| style="width:600px;text-align:center;"
 
{| style="width:600px;text-align:center;"
| class="header" style="width:250px;" | '''{{{home-team|OTFWiki}}}'''
+
| 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|''team2'' not specified}}}'''
 
|}
 
|}
 
|-
 
|-
 
|<small>
 
|<small>
{| style="background:#EBE2CA;"
+
{| style="background:#EBE2CA;width:296px;"
 
| style="width:13%;text-align:center;" | {{Icon class|Scout|size=16px}}
 
| style="width:13%;text-align:center;" | {{Icon class|Scout|size=16px}}
 
| style="width:13%;text-align:center;" | {{Icon class|Soldier|size=16px}}
 
| style="width:13%;text-align:center;" | {{Icon class|Soldier|size=16px}}
Line 33: Line 37:
 
| style="width:13%;text-align:center;" | {{Icon class|Medic|size=16px}}
 
| style="width:13%;text-align:center;" | {{Icon class|Medic|size=16px}}
 
|-
 
|-
| [[User:{{{home-scout1|RJackson}}}|{{{home-scout1|RJackson}}}]]
+
| [[User:{{{t1-scout1|RJackson}}}|{{{t1-scout1|RJackson}}}]]
| [[User:{{{home-soldier1|Moussekateer}}}|{{{home-soldier1|Moussekateer}}}]]
+
| [[User:{{{t1-soldier1|Infi^}}}|{{{t1-soldier1|Infi^}}}]]
| [[User:{{{home-demoman|I-ghost}}}|{{{home-demoman|N/A}}}]]
+
| [[User:{{{t1-demoman|NVis}}}|{{{t1-demoman|nVis}}}]]
| [[User:{{{home-medic|I-ghost}}}|{{{home-medic|i-ghost}}}]]
+
| [[User:{{{t1-medic|I-ghost}}}|{{{t1-medic|i-ghost}}}]]
 
|-
 
|-
| [[User:{{{home-scout2|NVis}}}|{{{home-scout2|nVis}}}]]
+
| [[User:{{{t1-scout2|Scatmanjohn}}}|{{{t1-scout2|TheScatman}}}]]
| [[User:{{{home-soldier2|Smashman}}}|{{{home-soldier2|Smashman}}}]]
+
| [[User:{{{t1-soldier2|Smashman}}}|{{{t1-soldier2|Smashman}}}]]
|
 
|
 
 
|}</small>
 
|}</small>
 
|<small>
 
|<small>
{| style="background:#EBE2CA;"
+
{| style="background:#EBE2CA;width:296px;"
 
| style="width:13%;text-align:center;" | {{Icon class|Scout|size=16px}}
 
| style="width:13%;text-align:center;" | {{Icon class|Scout|size=16px}}
 
| style="width:13%;text-align:center;" | {{Icon class|Soldier|size=16px}}
 
| style="width:13%;text-align:center;" | {{Icon class|Soldier|size=16px}}
Line 50: 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>
 +
|-
 +
| colspan="500" |
 +
{| style="background:#EBE2CA;width:100%;"
 +
| class="header" style="width:33%" | <small>'''Maps'''</small>
 +
| class="header" style="width:33%" | <small>'''SourceTV / Casts'''</small>
 +
| class="header" style="width:33%" | <small>'''Demos'''</small>
 +
|-
 +
| <small>[[{{{map|Badlands}}}]]{{#ifeq: {{{maps|}}} | | | ,}} {{{maps|}}}</small>
 +
| <small>{{{casts|None provided}}}</small>
 +
| <small>{{{demos|None provided}}}</small>
 +
|}
 
|}
 
|}
  
Line 66: 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''' Map played on
+
*'''map''' Initial map.
 +
*'''maps''' Additional maps played on. Example: ''<nowiki>[[Gullywash]], [[Viaduct]]</nowiki>''
 
*'''match-time''' Date and time arranged
 
*'''match-time''' Date and time arranged
 +
*'''casts''' Any casts or SourceTV information for spectating the match.
 +
*'''demos''' Any demos from the match.
 
<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/>
 +
*'''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
 
<hr/>
 
<hr/>
*'''away-medic''' Name of their Medic
+
Miscellaneous:
*'''away-scout1''' Name of their first Scout
+
*'''table''': collapsed/uncollapsed
*'''away-scout2''' Name of their second Scout
+
*'''discuss''': If set to no, will hide link to talk page.
*'''away-soldier1''' Name of their first Soldier
+
[[Category:Templates]]
*'''away-soldier2''' Name of their second Soldier
 
*'''away-demoman''' Name of their Demoman
 
 
</noinclude>
 
</noinclude>

Latest revision as of 22:01, 10 October 2011

OTFWiki vs team2 not 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

Miscellaneous:

  • table: collapsed/uncollapsed
  • discuss: If set to no, will hide link to talk page.