Difference between revisions of "Template:Match"

From comp.tf
Jump to navigation Jump to search
(Adding alt map names capabilities)
m
Line 10: Line 10:
 
! colspan=3 | {{{date}}}
 
! colspan=3 | {{{date}}}
 
|-
 
|-
| '''[[{{{map1}}}{{#if:{{{map1alt|}}}|{{!}}{{{map1alt}}}|}}]]'''<br/>[[File:{{{map1alt|{{{map1}}}}}}.png|140px]]<br/><small>{{{tag1|{{{team1}}}}}} {{{m1score}}} {{{tag2|{{{team2}}}}}}<br/>{{#if:{{{vod1|}}}|[{{{vod1}}} VOD]|}}</small>
+
| '''[[{{#if:{{{map1alt|}}}|{{{map1alt}}}{{!}}|}}{{{map1}}}]]'''<br/>[[File:{{{map1alt|{{{map1}}}}}}.png|140px]]<br/><small>{{{tag1|{{{team1}}}}}} {{{m1score}}} {{{tag2|{{{team2}}}}}}<br/>{{#if:{{{vod1|}}}|[{{{vod1}}} VOD]|}}</small>
| {{#if:{{{map2|}}}||style="display: none;"}} | '''[[{{{map2}}}{{#if:{{{map2alt|}}}|{{!}}{{{map2alt}}}|}}]]'''<br/>[[File:{{{map2alt|{{{map2}}}}}}.png|140px]]<br/><small>{{{tag1|{{{team1}}}}}} {{{m2score}}} {{{tag2|{{{team2}}}}}}<br/>{{#if:{{{vod2|}}}|[{{{vod2}}} VOD]|}}</small>
+
| {{#if:{{{map2|}}}||style="display: none;"}} | '''[[{{#if:{{{map2alt|}}}|{{{map2alt}}}{{!}}|}}{{{map2}}}]]'''<br/>[[File:{{{map2alt|{{{map2}}}}}}.png|140px]]<br/><small>{{{tag1|{{{team1}}}}}} {{{m2score}}} {{{tag2|{{{team2}}}}}}<br/>{{#if:{{{vod2|}}}|[{{{vod2}}} VOD]|}}</small>
| {{#if:{{{map3|}}}||style="display: none;"}} | '''[[{{{map3}}}{{#if:{{{map3alt|}}}|{{!}}{{{map3alt}}}|}}]]'''<br/>[[File:{{{map3alt|{{{map3}}}}}}.png|140px]]<br/><small>{{{tag1|{{{team1}}}}}} {{{m3score}}} {{{tag2|{{{team2}}}}}}<br/>{{#if:{{{vod3|}}}|[{{{vod3}}} VOD]|}}</small>
+
| {{#if:{{{map3|}}}||style="display: none;"}} | '''[[{{#if:{{{map3alt|}}}|{{{map3alt}}}{{!}}|}}{{{map3}}}]]'''<br/>[[File:{{{map3alt|{{{map3}}}}}}.png|140px]]<br/><small>{{{tag1|{{{team1}}}}}} {{{m3score}}} {{{tag2|{{{team2}}}}}}<br/>{{#if:{{{vod3|}}}|[{{{vod3}}} VOD]|}}</small>
 
|-
 
|-
 
| {{#if:{{{comments|}}}||style="display: none;"}} colspan=3 | {{{comments}}}
 
| {{#if:{{{comments|}}}||style="display: none;"}} colspan=3 | {{{comments}}}

Revision as of 15:25, 2 August 2013

{{{team1}}} {{{team2}}}
{{{date}}}
[[{{{map1}}}]]
[[File:{{{map1}}}.png|140px]]
{{{team1}}} {{{m1score}}} {{{team2}}}
[[{{{map2}}}]]
[[File:{{{map2}}}.png|140px]]
{{{team1}}} {{{m2score}}} {{{team2}}}
[[{{{map3}}}]]
[[File:{{{map3}}}.png|140px]]
{{{team1}}} {{{m3score}}} {{{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.