Difference between revisions of "Template:Weekmaps"

From comp.tf
Jump to navigation Jump to search
m
m (AF update)
Line 2: Line 2:
 
|-
 
|-
 
  ! colspan="2" style="border: 1px solid #1c1c1c; vertical-align: top; text-align: left;" |<span class="controls">[<span class="plainlinks">[{{fullurl:Main_Page|action=edit}} edit]</span>]</span>
 
  ! colspan="2" style="border: 1px solid #1c1c1c; vertical-align: top; text-align: left;" |<span class="controls">[<span class="plainlinks">[{{fullurl:Main_Page|action=edit}} edit]</span>]</span>
  ! colspan="3" style="font-size: 14px; border: 1px solid #1c1c1c;" | '''This Week's League Maps'''
+
  ! colspan="4" style="font-size: 14px; border: 1px solid #1c1c1c;" | '''This Week's League Maps'''
 
  ! colspan="2" style="border: 1px solid #1c1c1c; vertical-align: top; text-align: left;" |
 
  ! colspan="2" style="border: 1px solid #1c1c1c; vertical-align: top; text-align: left;" |
 
|-
 
|-
 
  | colspan="1" style="border: 1px solid #A3B1BF; background-color: #CEE0F2; font-size: 13px;" | '''4v4'''
 
  | colspan="1" style="border: 1px solid #A3B1BF; background-color: #CEE0F2; font-size: 13px;" | '''4v4'''
  | colspan="4" style="border: 1px solid #A3BFB1; background-color: #CEF2E0; font-size: 13px;" | '''6v6'''
+
  | colspan="5" style="border: 1px solid #A3BFB1; background-color: #CEF2E0; font-size: 13px;" | '''6v6'''
 
  | colspan="2" style="border: 1px solid #BFA3B1; background-color: #F2CEE0; font-size: 13px;" | '''Highlander'''
 
  | colspan="2" style="border: 1px solid #BFA3B1; background-color: #F2CEE0; font-size: 13px;" | '''Highlander'''
 
|- class="maps bold" style="border-top: none;"
 
|- class="maps bold" style="border-top: none;"
Line 14: Line 14:
 
  | [[File:EseaLogo.png | 20px | link=ESEA]] [[ESEA]]
 
  | [[File:EseaLogo.png | 20px | link=ESEA]] [[ESEA]]
 
  | class="col2" style="border-right: 1px solid lightgray;" | [[File:Ozfortress icon.png | 20px | link=Ozfortress]] [[ozfortress]]
 
  | class="col2" style="border-right: 1px solid lightgray;" | [[File:Ozfortress icon.png | 20px | link=Ozfortress]] [[ozfortress]]
  | style="border-left: 1px solid lightgray;" | [[File:UGC-Icon.png | 20px | link=UGC]] [[UGC]]
+
  | style="border-right: 1px solid lightgray;" | [[File:AsiaFortress-Icon.png | 20px | link=AsiaFortress]] [[AsiaFortress]]
  | class="col2" style="border-right: 1px solid lightgray;" |[[File:ETF2L-Icon.png | 20px | link=ETF2L]] [[ETF2L]]
+
  | class="col2"style="border-left: 1px solid lightgray;" | [[File:UGC-Icon.png | 20px | link=UGC]] [[UGC]]
 +
| style="border-right: 1px solid lightgray;" |[[File:ETF2L-Icon.png | 20px | link=ETF2L]] [[ETF2L]]
 
|-
 
|-
 
  | class="col2" style="border-left: 1px solid lightgray; border-right: 1px solid lightgray;" | [[Image:{{{ugc4s|offseason}}}.png{{#if:{{ugc4s|}}|{{!}}link={{{ugc4s|}}}|}}|130px]]
 
  | class="col2" style="border-left: 1px solid lightgray; border-right: 1px solid lightgray;" | [[Image:{{{ugc4s|offseason}}}.png{{#if:{{ugc4s|}}|{{!}}link={{{ugc4s|}}}|}}|130px]]
 
  | style="border-left: 1px solid lightgray;" | [[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|130px]]
 
  | style="border-left: 1px solid lightgray;" | [[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|130px]]
  | class="col2" | [[Image:{{{etf2l6s}}}{{#if:{{{etf2l6s2}}}|,&#32;{{{etf2l6s2}}}}}.png{{#if:{{etf2l6s}}|{{!}}link={{#ifexist:{{{etf2lhl}}}|{{{etf2l6s|}}}}}|}}|130px]]
+
  | class="col2" | [[Image:{{{etf2l6s}}}{{#if:{{{etf2l6s2}}}|,&#32;{{{etf2l6s2}}}}}.png{{#if:{{etf2l6s}}|{{!}}link={{#ifexist:{{{etf2l6s}}}|{{{etf2l6s|}}}}}|}}|130px]]
 
  | [[Image:{{{esea6s|offseason}}}.png{{#if:{{esea6s|}}|{{!}}link={{{esea6s|}}}|}}|130px]]
 
  | [[Image:{{{esea6s|offseason}}}.png{{#if:{{esea6s|}}|{{!}}link={{{esea6s|}}}|}}|130px]]
  | class="col2" | [[Image:{{{ozf6s}}}{{#if:{{{ozf6s2}}}|,&#32;{{{ozf6s2}}}}}.png{{#if:{{ozf6s|}}|{{!}}link={{#ifexist:{{{etf2lhl}}}|{{{ozf6s|}}}}}|}}|130px]]
+
  | class="col2" | [[Image:{{{ozf6s}}}{{#if:{{{ozf6s2}}}|,&#32;{{{ozf6s2}}}}}.png{{#if:{{ozf6s|}}|{{!}}link={{#ifexist:{{{ozf6s}}}|{{{ozf6s|}}}}}|}}|130px]]
  | style="border-left: 1px solid lightgray;" | [[Image:{{{ugchl|offseason}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl|}}}|}}|130px]]
+
  | [[Image:{{{af6s}}}{{#if:{{{af6s2}}}|,&#32;{{{af6s2}}}}}.png{{#if:{{af6s|}}|{{!}}link={{#ifexist:{{{af6s}}}|{{{af6s|}}}}}|}}|130px]]
  | class="col2" style="border-right: 1px solid lightgray;" | [[Image:{{{etf2lhl}}}{{#if:{{{etf2lhl2}}}|,&#32;{{{etf2lhl2}}}}}.png{{#if:{{etf2lhl}}|{{!}}link={{#ifexist:{{{etf2lhl}}}|{{{etf2lhl|}}}}}|}}|130px]]
+
| class="col2" style="border-left: 1px solid lightgray;" | [[Image:{{{ugchl|offseason}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl|}}}|}}|130px]]
 +
  | style="border-right: 1px solid lightgray;" | [[Image:{{{etf2lhl}}}{{#if:{{{etf2lhl2}}}|,&#32;{{{etf2lhl2}}}}}.png{{#if:{{etf2lhl}}|{{!}}link={{#ifexist:{{{etf2lhl}}}|{{{etf2lhl|}}}}}|}}|130px]]
 
|- class="top bold"
 
|- class="top bold"
 
  | class="col2" style="border-left: 1px solid lightgray; border-right: 1px solid lightgray;" | {{#if:{{{ugc4s|}}}|{{#ifeq: {{{ugc4s}}}|Playoffs|Playoffs|{{nrl|{{{ugc4s}}}}}}}|Offseason}}
 
  | class="col2" style="border-left: 1px solid lightgray; border-right: 1px solid lightgray;" | {{#if:{{{ugc4s|}}}|{{#ifeq: {{{ugc4s}}}|Playoffs|Playoffs|{{nrl|{{{ugc4s}}}}}}}|Offseason}}
Line 30: Line 32:
 
  | {{#if:{{{esea6s|}}}|{{#ifeq: {{{esea6s}}}|Playoffs|Playoffs|{{nrl|{{{esea6s}}}}}}}|Offseason}}  
 
  | {{#if:{{{esea6s|}}}|{{#ifeq: {{{esea6s}}}|Playoffs|Playoffs|{{nrl|{{{esea6s}}}}}}}|Offseason}}  
 
  | class="col2" | {{#if:{{{ozf6s|}}}|{{#ifeq: {{{ozf6s}}}|Playoffs|Playoffs|{{nrl|{{{ozf6s}}}}}}}|Offseason}}{{#if:{{{ozf6s2|}}}|,&#32;{{nrl|{{{ozf6s2}}}}}}}
 
  | class="col2" | {{#if:{{{ozf6s|}}}|{{#ifeq: {{{ozf6s}}}|Playoffs|Playoffs|{{nrl|{{{ozf6s}}}}}}}|Offseason}}{{#if:{{{ozf6s2|}}}|,&#32;{{nrl|{{{ozf6s2}}}}}}}
  | style="border-left: 1px solid lightgray;" | {{#if:{{{ugchl|}}}|{{#ifeq: {{{ugchl}}}|Playoffs|Playoffs|{{nrl|{{{ugchl}}}}}}}|Offseason}}
+
  | {{#if:{{{af6s|}}}|{{#ifeq: {{{af6s}}}|Playoffs|Playoffs|{{nrl|{{{af6s}}}}}}}|Offseason}}{{#if:{{{af6s2|}}}|,&#32;{{nrl|{{{af6s2}}}}}}}
  | class="col2" style="border-right: 1px solid lightgray;" | {{#if:{{{etf2lhl|}}}|{{#ifeq: {{{etf2lhl}}}|Playoffs|Playoffs|{{nrl|{{{etf2lhl}}}}}}} |Offseason}}{{#if:{{{etf2lhl2|}}}|,&#32;{{nrl|{{{etf2lhl2}}}}}}}
+
| class="col2" | style="border-left: 1px solid lightgray;" | {{#if:{{{ugchl|}}}|{{#ifeq: {{{ugchl}}}|Playoffs|Playoffs|{{nrl|{{{ugchl}}}}}}}|Offseason}}
 +
  | style="border-right: 1px solid lightgray;" | {{#if:{{{etf2lhl|}}}|{{#ifeq: {{{etf2lhl}}}|Playoffs|Playoffs|{{nrl|{{{etf2lhl}}}}}}} |Offseason}}{{#if:{{{etf2lhl2|}}}|,&#32;{{nrl|{{{etf2lhl2}}}}}}}
 
|- class="top bold"
 
|- class="top bold"
 
  | class="col2" style="border-left: 1px solid lightgray; border-right: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{ugc4scomment|}}}|<small>{{{ugc4scomment}}}</small>}}
 
  | class="col2" style="border-left: 1px solid lightgray; border-right: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{ugc4scomment|}}}|<small>{{{ugc4scomment}}}</small>}}
Line 38: Line 41:
 
  | style="border-bottom: 1px solid lightgray;" | {{#if:{{{esea6scomment|}}}|<small>{{{esea6scomment}}}</small>}}
 
  | style="border-bottom: 1px solid lightgray;" | {{#if:{{{esea6scomment|}}}|<small>{{{esea6scomment}}}</small>}}
 
  | class="col2" style="border-right: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{ozf6scomment|}}}|<small>{{{ozf6scomment}}}</small>}}
 
  | class="col2" style="border-right: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{ozf6scomment|}}}|<small>{{{ozf6scomment}}}</small>}}
 +
| class="col2" style="border-right: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{af6scomment|}}}|<small>{{{af6scomment}}}</small>}}
 
  | style="border-left: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{ugchlcomment|}}}|<small>{{{ugchlcomment}}}</small>}}
 
  | style="border-left: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{ugchlcomment|}}}|<small>{{{ugchlcomment}}}</small>}}
 
  | class="col2" style="border-right: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{etf2lhlcomment|}}}|<small>{{{etf2lhlcomment}}}</small>}}
 
  | class="col2" style="border-right: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{etf2lhlcomment|}}}|<small>{{{etf2lhlcomment}}}</small>}}
Line 66: Line 70:
 
  | ozf6s2 =
 
  | ozf6s2 =
 
  | ozf6scomment =
 
  | ozf6scomment =
 +
 +
| af6s = Offseason
 +
| af6s2 =
 +
| af6scomment =
  
 
  | ugchl = Gullywash
 
  | ugchl = Gullywash
Line 92: Line 100:
 
  | ozf6s2 =
 
  | ozf6s2 =
 
  | ozf6scomment =
 
  | ozf6scomment =
 +
 +
| af6s = Offseason
 +
| af6s2 =
 +
| af6scomment =
  
 
  | ugchl = Gullywash
 
  | ugchl = Gullywash

Revision as of 15:27, 25 April 2016

[edit] This Week's League Maps
4v4 6v6 Highlander
UGC-Icon2.png UGC UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L EseaLogo.png ESEA Ozfortress icon.png ozfortress AsiaFortress-Icon.png AsiaFortress UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L
Offseason.png Offseason.png [[Image:{{{etf2l6s}}}, {{{etf2l6s2}}}.png|link=|130px]] Offseason.png [[Image:{{{ozf6s}}}, {{{ozf6s2}}}.png|link=|130px]] [[Image:{{{af6s}}}, {{{af6s2}}}.png|link=|130px]] Offseason.png [[Image:{{{etf2lhl}}}, {{{etf2lhl2}}}.png|link=|130px]]
Offseason Offseason Offseason Offseason Offseason Offseason style="border-left: 1px solid lightgray;" | Offseason Offseason

Usage

  • The template displays the current maps in each league automatically linked to the maps page
  • Special parameters that are not map names are Playoffs and Offseason
  • You can also add comments under the map names, using the leaguenamecomment field (e.g. ozf6scomment=week 7).

Example:

{{Weekmaps
 | ugc4s = Mojave
 | ugc4scomment = Week 9

 | ugc6s = Offseason
 | ugc6scomment =

 | etf2l6s = Snakewater
 | etf2l6s2 = Sunshine
 | etf2l6scomment = Week 7

 | esea6s = Playoffs
 | esea6scomment =

 | ozf6s = Offseason
 | ozf6s2 =
 | ozf6scomment =

 | af6s = Offseason
 | af6s2 =
 | af6scomment =

 | ugchl = Gullywash
 | ugchlcomment = Playoffs Week 2
 | etf2lhl = Steel
 | etf2lhl2 =
 | etf2lhlcomment = Week 9
}}

Will yield:

[edit] This Week's League Maps
4v4 6v6 Highlander
UGC-Icon2.png UGC UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L EseaLogo.png ESEA Ozfortress icon.png ozfortress AsiaFortress-Icon.png AsiaFortress UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L
Mojave.png Offseason.png Snakewater, Sunshine.png Playoffs.png Offseason.png Offseason.png Gullywash.png Steel.png
Mojave Offseason Snakewater, Sunshine Playoffs Offseason Offseason style="border-left: 1px solid lightgray;" | Gullywash Steel
Week 9 Week 7 Playoffs Week 2 Week 9