Difference between revisions of "Template:Match"

From comp.tf
Jump to navigation Jump to search
m
 
(10 intermediate revisions by 5 users not shown)
Line 10: Line 10:
 
! colspan=3 | {{{date}}}
 
! colspan=3 | {{{date}}}
 
|-
 
|-
| {{#if:{{{map1|}}}||style="display: none;"}} | '''[[{{#if:{{{map1alt|}}}|{{{map1alt}}}{{!}}|}}{{{map1}}}]]'''<br/>[[File:{{{map1alt|{{{map1}}}}}}.png|140px]]<br/><small>{{{tag1|{{{team1}}}}}} {{{m1score|TBA}}} {{{tag2|{{{team2}}}}}}<br/>{{#if:{{{vod1|}}}|[{{{vod1}}} VOD]|}}</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:{{{YouTube1|}}}|{{YouTube video|{{{YouTube1|}}}}}|}} {{#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}}}}}} {{{m2score|TBA}}} {{{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}}}}}} {{#if:{{{m2score|}}}|{{{m2score|}}}|[TBD]}} {{{tag2|{{{team2}}}}}}<br/>{{#if:{{{vod2|}}}|[{{{vod2}}} VOD]|}}  {{#if:{{{YouTube2|}}}|{{YouTube video|{{{YouTube2|}}}}}|}} {{#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}}}}}} {{{m3score|TBA}}} {{{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}}}}}} {{#if:{{{m3score|}}}|{{{m3score|}}}|[TBD]}} {{{tag2|{{{team2}}}}}}<br/>{{#if:{{{vod3|}}}|[{{{vod3}}} VOD]|}}  {{#if:{{{YouTube3|}}}|{{YouTube video|{{{YouTube3|}}}}}|}} {{#if:{{{log3|}}}|{{logs.tf|{{{log3}}}}}|}}</small>
 
|-
 
|-
 
| {{#if:{{{comments|}}}||style="display: none;"}} colspan=3 | {{{comments}}}
 
| {{#if:{{{comments|}}}||style="display: none;"}} colspan=3 | {{{comments}}}
Line 19: Line 19:
 
|}
 
|}
 
<noinclude>
 
<noinclude>
 +
{{ambox|type=notice|image=Generic Logo.png|header=This template is outdated!|smalltext=It has been replaced with [[Template:MatchList]] and various [[:Category:Brackets|brackets]].}}
 
== Parameters ==
 
== Parameters ==
 
* <code>team1, team2</code> - Team names.
 
* <code>team1, team2</code> - Team names.
Line 28: Line 29:
 
* <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>YouTube1, YouTube2, YouTube3</code> - Respective maps' YouTube VODs.
 +
* <code>log1, log2, log3</code> - Respective maps' logs.
 
* <code>comments</code> - Use this field for comments (used often for implications of the match, e.g. promotions or season wins)
 
* <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.
 
* <code>page</code> - Link to the match page.
  
[[Category:Template]]
+
[[Category:Template]][[Category:Match Template]]

Latest revision as of 21:55, 25 January 2017

{{{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[edit]

  • 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.
  • YouTube1, YouTube2, YouTube3 - Respective maps' YouTube VODs.
  • log1, log2, log3 - Respective maps' logs.
  • 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.