Difference between revisions of "Template:Match"

From comp.tf
Jump to navigation Jump to search
(Fixing broken 3rd map VOD field)
m
Line 12: Line 12:
 
| {{#if:{{{map1|}}}||style="display: none;"}} | '''[[{{#if:{{{map1alt|}}}|{{{map1alt}}}{{!}}|}}{{{map1}}}]]'''<br/>[[File:{{{map1alt|{{{map1}}}}}}.png|140px]]<br/><small>{{{tag1|{{{team1}}}}}} {{#if:{{{m1score|}}}|{{{m1score|}}}|[TBD]}} {{{tag2|{{{team2}}}}}}<br/>{{#if:{{{vod1|}}}|[{{{vod1}}} VOD]|}} {{#if:{{{log1|}}}|{{logs.tf|{{{log1}}}}}|}}</small>
 
| {{#if:{{{map1|}}}||style="display: none;"}} | '''[[{{#if:{{{map1alt|}}}|{{{map1alt}}}{{!}}|}}{{{map1}}}]]'''<br/>[[File:{{{map1alt|{{{map1}}}}}}.png|140px]]<br/><small>{{{tag1|{{{team1}}}}}} {{#if:{{{m1score|}}}|{{{m1score|}}}|[TBD]}} {{{tag2|{{{team2}}}}}}<br/>{{#if:{{{vod1|}}}|[{{{vod1}}} VOD]|}} {{#if:{{{log1|}}}|{{logs.tf|{{{log1}}}}}|}}</small>
 
| {{#if:{{{map2|}}}||style="display: none;"}} | '''[[{{#if:{{{map2alt|}}}|{{{map2alt}}}{{!}}|}}{{{map2}}}]]'''<br/>[[File:{{{map2alt|{{{map2}}}}}}.png|140px]]<br/><small>{{{tag1|{{{team1}}}}}} {{#if:{{{m2score|}}}|{{{m2score|}}}|[TBD]}} {{{tag2|{{{team2}}}}}}<br/>{{#if:{{{vod2|}}}|[{{{vod2}}} VOD]|}} {{#if:{{{log2|}}}|{{logs.tf|{{{log2}}}}}|}}</small>
 
| {{#if:{{{map2|}}}||style="display: none;"}} | '''[[{{#if:{{{map2alt|}}}|{{{map2alt}}}{{!}}|}}{{{map2}}}]]'''<br/>[[File:{{{map2alt|{{{map2}}}}}}.png|140px]]<br/><small>{{{tag1|{{{team1}}}}}} {{#if:{{{m2score|}}}|{{{m2score|}}}|[TBD]}} {{{tag2|{{{team2}}}}}}<br/>{{#if:{{{vod2|}}}|[{{{vod2}}} VOD]|}} {{#if:{{{log2|}}}|{{logs.tf|{{{log2}}}}}|}}</small>
| {{#if:{{{map3|}}}||style="display: none;"}} | '''[[{{#if:{{{map3alt|}}}|{{{map3alt}}}{{!}}|}}{{{map3}}}]]'''<br/>[[File:{{{map3alt|{{{map3}}}}}}.png|140px]]<br/><small>{{{tag1|{{{team1}}}}}} {{#if:{{{m3score|}}}|{{{m3score|}}}|[TBD]}} {{{tag2|{{{team2}}}}}}<br/>{{#if:{{{vod3|}}}|[{{{vod3}}} VOD]|}} {{#if:{{{log3|}}}|{{logs.tf|{{{log3}}}}}|}}}</small>
+
| {{#if:{{{map3|}}}||style="display: none;"}} | '''[[{{#if:{{{map3alt|}}}|{{{map3alt}}}{{!}}|}}{{{map3}}}]]'''<br/>[[File:{{{map3alt|{{{map3}}}}}}.png|140px]]<br/><small>{{{tag1|{{{team1}}}}}} {{#if:{{{m3score|}}}|{{{m3score|}}}|[TBD]}} {{{tag2|{{{team2}}}}}}<br/>{{#if:{{{vod3|}}}|[{{{vod3}}} VOD]|}} {{#if:{{{log3|}}}|{{logs.tf|{{{log3}}}}}|}}</small>
 
|-
 
|-
 
| {{#if:{{{comments|}}}||style="display: none;"}} colspan=3 | {{{comments}}}
 
| {{#if:{{{comments|}}}||style="display: none;"}} colspan=3 | {{{comments}}}

Revision as of 12:28, 25 August 2013

{{{team1}}} {{{team2}}}
{{{date}}}
[[{{{map1}}}]]
[[File:{{{map1}}}.png|140px]]
{{{team1}}} [TBD] {{{team2}}}
[[{{{map2}}}]]
[[File:{{{map2}}}.png|140px]]
{{{team1}}} [TBD] {{{team2}}}
[[{{{map3}}}]]
[[File:{{{map3}}}.png|140px]]
{{{team1}}} [TBD] {{{team2}}}
{{{comments}}}
[{{{page}}} Match page]

Parameters

  • team1, team2 - Team names.
  • score1, score2 - Respective teams' scores.
  • tag1, tag2 - Respective teams' clan tags. Used in map details. If left blank, the full team name will be used.
  • team1win, team2win - Set one of these to true to indicate a win for one of the sides.
  • date - Date when the match was played.
  • map1, map2, map3 - Maps on which the game was played. At least one required.
  • m1score, m2score, m3score - Respective maps' scores.
  • vod1, vod2, vod3 - Respective maps' VODs.
  • comments - Use this field for comments (used often for implications of the match, e.g. promotions or season wins)
  • page - Link to the match page.