Difference between revisions of "Template:Weekmaps"

From comp.tf
Jump to navigation Jump to search
m
m
Line 33: Line 33:
 
  | class="col2" | {{#if:{{{ozf6s|}}}|{{#ifeq: {{{ozf6s}}}|Playoffs|Playoffs|{{nrl|{{{ozf6s}}}}}}}|Offseason}}{{#if:{{{ozf6s2|}}}|, {{nrl|{{{ozf6s2}}}}}}}
 
  | class="col2" | {{#if:{{{ozf6s|}}}|{{#ifeq: {{{ozf6s}}}|Playoffs|Playoffs|{{nrl|{{{ozf6s}}}}}}}|Offseason}}{{#if:{{{ozf6s2|}}}|, {{nrl|{{{ozf6s2}}}}}}}
 
  | {{#if:{{{af6s|}}}|{{#ifeq: {{{af6s}}}|Playoffs|Playoffs|{{nrl|{{{af6s}}}}}}}|Offseason}}{{#if:{{{af6s2|}}}|, {{nrl|{{{af6s2}}}}}}}
 
  | {{#if:{{{af6s|}}}|{{#ifeq: {{{af6s}}}|Playoffs|Playoffs|{{nrl|{{{af6s}}}}}}}|Offseason}}{{#if:{{{af6s2|}}}|, {{nrl|{{{af6s2}}}}}}}
  | class="col2" | style="border-left: 1px solid lightgray;" | {{#if:{{{ugchl|}}}|{{#ifeq: {{{ugchl}}}|Playoffs|Playoffs|{{nrl|{{{ugchl}}}}}}}|Offseason}}
+
  | 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|}}}|, {{nrl|{{{etf2lhl2}}}}}}}
 
  | style="border-right: 1px solid lightgray;" | {{#if:{{{etf2lhl|}}}|{{#ifeq: {{{etf2lhl}}}|Playoffs|Playoffs|{{nrl|{{{etf2lhl}}}}}}} |Offseason}}{{#if:{{{etf2lhl2|}}}|, {{nrl|{{{etf2lhl2}}}}}}}
 
|- class="top bold"
 
|- class="top bold"

Revision as of 15:38, 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 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 Gullywash Steel
Week 9 Week 7 Playoffs Week 2 Week 9