Difference between revisions of "Template:Match"

From comp.tf
Jump to navigation Jump to search
(Adding new fields)
Line 10: Line 10:
 
! colspan=3 | {{{date}}}
 
! colspan=3 | {{{date}}}
 
|-
 
|-
| '''[[{{{map1}}}]]'''<br/>[[File:{{{map1}}}.png|140px]]<br/><small>{{{team1}}} {{{m1score}}} {{{team2}}}<br/>{{#if:{{{vod1|}}}|[{{{vod1}}} VOD]|}}</small>
+
| '''[[{{{map1}}}]]'''<br/>[[File:{{{map1}}}.png|140px]]<br/><small>{{{tag1|{{{team1}}}}}} {{{m1score}}} {{{tag2|{{{team2}}}}}}<br/>{{#if:{{{vod1|}}}|[{{{vod1}}} VOD]|}}</small>
| {{#if:{{{map2|}}}||style="display: none;"}} | '''[[{{{map2}}}]]'''<br/>[[File:{{{map2}}}.png|140px]]<br/><small>{{{team1}}} {{{m2score}}} {{{team2}}}<br/>{{#if:{{{vod2|}}}|[{{{vod2}}} VOD]|}}</small>
+
| {{#if:{{{map2|}}}||style="display: none;"}} | '''[[{{{map2}}}]]'''<br/>[[File:{{{map2}}}.png|140px]]<br/><small>{{{tag1|{{{team1}}}}}} {{{m2score}}} {{{team2}}}<br/>{{#if:{{{vod2|}}}|[{{{vod2}}} VOD]|}}</small>
| {{#if:{{{map3|}}}||style="display: none;"}} | '''[[{{{map3}}}]]'''<br/>[[File:{{{map3}}}.png|140px]]<br/><small>{{{team1}}} {{{m3score}}} {{{team2}}}<br/>{{#if:{{{vod3|}}}|[{{{vod3}}} VOD]|}}</small>
+
| {{#if:{{{map3|}}}||style="display: none;"}} | '''[[{{{map3}}}]]'''<br/>[[File:{{{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:{{{page|}}}||style="display: none;"}} colspan=3 | [{{{page}}} Match page]
 
|}
 
|}
 
<noinclude>
 
<noinclude>
Line 19: Line 22:
 
* <code>team1, team2</code> - Team names.
 
* <code>team1, team2</code> - Team names.
 
* <code>score1, score2</code> - Respective teams' scores.
 
* <code>score1, score2</code> - Respective teams' scores.
 +
* <code>tag1, tag2</code> - Respective teams' clan tags. Used in map details. If left blank, the full team name will be used.
 
* <code>team1win, team2win</code> - Set one of these to true to indicate a win for one of the sides.
 
* <code>team1win, team2win</code> - Set one of these to true to indicate a win for one of the sides.
 
* <code>date</code> - Date when the match was played.
 
* <code>date</code> - Date when the match was played.
Line 24: Line 28:
 
* <code>m1score, m2score, m3score</code> - Respective maps' scores.
 
* <code>m1score, m2score, m3score</code> - Respective maps' scores.
 
* <code>vod1, vod2, vod3</code> - Respective maps' VODs.
 
* <code>vod1, vod2, vod3</code> - Respective maps' VODs.
 +
* <code>comments<code> - Use this field for comments (used often for implications of the match, e.g. promotions or season wins)
 +
* <code>page</code> - Link to the match page.
  
 
[[Category:Template]]
 
[[Category:Template]]

Revision as of 12:44, 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.