Difference between revisions of "Template:Weekmaps"

From comp.tf
Jump to navigation Jump to search
m
m (Added column for UGC 4s)
Line 1: Line 1:
 
{| class="mainpage"
 
{| class="mainpage"
! colspan="9" | <span class="controls">[<span class="plainlinks">[{{fullurl:Main_Page|action=edit}} edit]</span>]</span> This Week's Match Maps
+
! colspan="10" | <span class="controls">[<span class="plainlinks">[{{fullurl:Main_Page|action=edit}} edit]</span>]</span> This Week's Match Maps
 
|- class="maps bold"
 
|- class="maps bold"
 
| colspan="2" class="col2" |[[Ozfortress]] (6v6)
 
| colspan="2" class="col2" |[[Ozfortress]] (6v6)
Line 18: Line 18:
 
| class="col2" |[[Image:{{{ugchl|offseason}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl|}}}|}}|125px]]
 
| class="col2" |[[Image:{{{ugchl|offseason}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl|}}}|}}|125px]]
 
| [[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|125px]]
 
| [[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|125px]]
 +
| class="col2" |[[Image:{{{ugc4s|offseason}}}.png{{#if:{{ugc4s|}}|{{!}}link={{{ugc4s|}}}|}}|125px]]
 
|- class="top bold"
 
|- class="top bold"
 
| class="col2" |{{#if:{{{ozfortress6s|}}}|{{#ifeq: {{{ozfortress6s}}}|Playoffs|Playoffs|[[{{{ozfortress6s}}}]]}}|Offseason}}
 
| class="col2" |{{#if:{{{ozfortress6s|}}}|{{#ifeq: {{{ozfortress6s}}}|Playoffs|Playoffs|[[{{{ozfortress6s}}}]]}}|Offseason}}
Line 35: Line 36:
 
| class="col2" |{{#if:{{{ugchlcomment|}}}|<small>{{{ugchlcomment}}}</small>}}
 
| class="col2" |{{#if:{{{ugchlcomment|}}}|<small>{{{ugchlcomment}}}</small>}}
 
| {{#if:{{{ugc6scomment|}}}|<small>{{{ugc6scomment}}}</small>}}
 
| {{#if:{{{ugc6scomment|}}}|<small>{{{ugc6scomment}}}</small>}}
 +
| class="col2" |{{#if:{{{ugc4scomment|}}}|<small>{{{ugc4scomment}}}</small>}}
 
|}
 
|}
 
<noinclude>
 
<noinclude>
Line 67: Line 69:
 
  | ugc6s = Snakewater
 
  | ugc6s = Snakewater
 
  | ugc6scomment = Week 9
 
  | ugc6scomment = Week 9
 +
| ugc4s = Mojave
 +
| ugc4scomment = Week 9
 
<!--
 
<!--
 
-->
 
-->
Line 93: Line 97:
 
  | ugc6s = Snakewater
 
  | ugc6s = Snakewater
 
  | ugc6scomment = Week 9
 
  | ugc6scomment = Week 9
 +
| ugc4s = Mojave
 +
| ugc4scomment = Week 9
 
<!--
 
<!--
 
-->
 
-->

Revision as of 19:51, 29 January 2016

[edit] This Week's Match Maps
Ozfortress (6v6) ETF2L (HL) ETF2L (6v6) ESEA (6v6) UGC (HL) UGC (6v6)
Offseason.png Offseason.png Offseason.png Offseason.png Offseason.png Offseason.png Offseason.png
Offseason Offseason Offseason Offseason Offseason Offseason

Usage

  • The template displays the current maps in each league automatically linked to the maps page
  • If the league field is absent, Offseason will be displayed by default, but to display leagues in offseason it's better to simply comment out the leagues you want with the <!--league field--> tags
  • If the league is in Playoffs time don't fill the comment fields, simply put Playoffs in the competition field
  • You can also add comments under the map names, using the leaguenamecomment field (e.g. ozfortress6scomment=week 7).

Example:

{{Weekmaps
<!--
 | ozfortress6s =
 | ozfortress6s2 = 
 | ozfortress6scomment = 
 -->
 | etf2lhl = Warmtic
 | etf2lhl2 = Process
 | etf2lhlcomment = Week 2
 | etf2l6s = Playoffs
 | etf2l6s2 = 
 | etf2l6scomment =
<!--
 -->
 | esea = Playoffs
 | eseacomment =
<!--
 -->
 | ugchl = Process
 | ugchlcomment = Week 9
 | ugc6s = Snakewater
 | ugc6scomment = Week 9
 | ugc4s = Mojave
 | ugc4scomment = Week 9
<!--
-->
}}

yields

[edit] This Week's Match Maps
Ozfortress (6v6) ETF2L (HL) ETF2L (6v6) ESEA (6v6) UGC (HL) UGC (6v6)
Offseason.png Warmtic.png Process.png Playoffs.png Playoffs.png Process.png Snakewater.png Mojave.png
Offseason Warmtic Process Playoffs Playoffs Process Snakewater
Week 2 Week 9 Week 9 Week 9