Difference between revisions of "Template:Match"

From comp.tf
Jump to navigation Jump to search
(Did not work as planned...)
m
 
(20 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
| width="200px" | {{#if:{{{team1win|}}}|<strong>{{{team1}}}</strong>|{{{team1}}}}}
 
| width="200px" | {{#if:{{{team1win|}}}|<strong>{{{team1}}}</strong>|{{{team1}}}}}
| width="25px" | {{{score1|}}}
+
| width="25px" | {{#if:{{{team1win|}}}|<strong>{{{score1|}}}</strong>|{{{score1|}}}}}
| width="25px" | {{{score2|}}}
+
| width="25px" | {{#if:{{{team2win|}}}|<strong>{{{score2|}}}</strong>|{{{score2|}}}}}
 
| width="200px" |  {{#if:{{{team2win|}}}|<strong>{{{team2}}}</strong>|{{{team2}}}}}
 
| width="200px" |  {{#if:{{{team2win|}}}|<strong>{{{team2}}}</strong>|{{{team2}}}}}
 
|}
 
|}
Line 10: Line 10:
 
! colspan=3 | {{{date}}}
 
! colspan=3 | {{{date}}}
 
|-
 
|-
| '''[[{{{map1}}}]]'''<br/>[[File:{{{map1}}}.png|150px]]<br/><small>{{{team1}}} {{{m1score}}} {{{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;"}} | '''[[{{{map2}}}]]'''<br/>[[File:{{{map2}}}.png|150px]]<br/><small>{{{team2}}} {{{m2score}}} {{{team2}}}<br/>{{#if:{{{vod2|}}}|[{{{vod2}}} VOD]|}}</small>|&nbsp;}}
+
| {{#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;"}} | '''[[{{{map3}}}]]'''<br/>[[File:{{{map3}}}.png|150px]]<br/><small>{{{team2}}} {{{m3score}}} {{{team2}}}<br/>{{#if:{{{vod3|}}}|[{{{vod3}}} VOD]|}}</small>|&nbsp;}}
+
| {{#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:{{{page|}}}||style="display: none;"}} colspan=3 | [{{{page}}} Match page]
 
|}
 
|}
 
<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.
 
* <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 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>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.