Difference between revisions of "Template:Weekmaps"

From comp.tf
Jump to navigation Jump to search
m
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="mainpage"
+
<includeonly>{| class="mainpage"
 
|-
 
|-
  ! 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="7" style="border:1px solid #1c1c1c" | <span class="controls">[<span class="plainlinks">[{{fullurl:Main_Page|action=edit}} edit]</span>]</span> '''This Week's League Maps'''
! colspan="4" style="font-size: 14px; border: 1px solid #1c1c1c;" | '''This Week's League Maps'''
+
|- style="border-top: none; font-weight:bold;"
! colspan="2" style="border: 1px solid #1c1c1c; vertical-align: top; text-align: left;" |
+
  | class="col2" style="padding-top:4px; width:14.28%;" | [[File:ETF2L-Icon.png|20px|link=ETF2L]]&nbsp;[[ETF2L]]&nbsp;<span style="font-size:12px;font-weight:normal">(6v6)</span>
|-
+
  | style="padding-top:4px; width:14.28%;" | [[File:RGL Icon.png|20px|link=RGL]]&nbsp;[[RGL]]&nbsp;<span style="font-size:12px;font-weight:normal">(6v6)</span>
  | colspan="1" style="border: 1px solid #A3B1BF; background-color: #CEE0F2; font-size: 13px;" | '''4v4'''
+
| class="col2" style="padding-top:4px; width:14.28%;" | [[File:Ozfortress Icon.png|20px|link=Ozfortress]]&nbsp;[[ozfortress]]&nbsp;<span style="font-size:12px;font-weight:normal">(6v6)</span>
| colspan="5" style="border: 1px solid #A3BFB1; background-color: #CEF2E0; font-size: 13px;" | '''6v6'''
+
  | style="padding-top:4px; width:14.28%;" | [[File:UGC-Icon.png|20px|link=UGC]]&nbsp;[[UGC]]&nbsp;<span style="font-size:12px;font-weight:normal">(6v6)</span>
  | colspan="2" style="border: 1px solid #BFA3B1; background-color: #F2CEE0; font-size: 13px;" | '''Highlander'''
+
  | class="col2" style="padding-top:4px; width:14.28%; border-left:1px solid lightgray" | [[File:ETF2L-Icon.png|20px|link=ETF2L]]&nbsp;[[ETF2L]]&nbsp;<span style="font-size:12px;font-weight:normal">(HL)</span>
|- class="maps bold" style="border-top: none;"
+
| style="padding-top:4px; width:14.28%;" | [[File:RGL Icon.png|20px|link=RGL]]&nbsp;[[RGL]]&nbsp;<span style="font-size:12px;font-weight:normal">(HL)</span>
| class="col2" style="border-left: 1px solid lightgray; border-right: 1px solid lightgray;" |[[File:UGC-Icon.png | 20px | link=UGC]] [[UGC]]
+
  | class="col2" style="padding-top:4px; width:14.28%;" | [[File:UGC-Icon.png|20px|link=UGC]]&nbsp;[[UGC]]&nbsp;<span style="font-size:12px;font-weight:normal">(HL)</span>
  | style="border-left: 1px solid lightgray;" | [[File:UGC-Icon.png | 20px | link=UGC]] [[UGC]]
+
|- class="weekmaps"
  | class="col2" |[[File:ETF2L-Icon.png | 20px | link=ETF2L]] [[ETF2L]]
+
  | class="col2" style="padding-top:6px" | <span style="display:none">{{#ifeq:{{lc:{{{etf2l6s|}}}}}|playoffs|[[File:Playoffs2.png|link=ETF2L 6v6 Season {{Current Seasons|etf2l6s}}/Premiership#Playoffs]]|{{#ifeq:{{lc:{{{etf2l6s|}}}}}|offseason|[[File:Offseason2.png|link=]]|[[File:{{#ifexist:File:{{{etf2l6s|}}}.jpg|{{{etf2l6s|}}}.jpg|{{#ifexist:File:{{{etf2l6s|}}}.png|{{{etf2l6s|}}}.png|{{#if:{{{etf2l6simg|}}}|{{{etf2l6simg|}}}|}}}}}}|link={{{etf2l6s|}}}]]}}}}</span>{{#if:{{{etf2l6s2|}}}|<span style="display:none">[[File:{{#ifexist:File:{{{etf2l6s2|}}}.jpg|{{{etf2l6s2|}}}.jpg|{{#ifexist:File:{{{etf2l6s2|}}}.png|{{{etf2l6s2|}}}.png|{{#if:{{{etf2l6s2img|}}}|{{{etf2l6s2img|}}}|}}}}}}|link={{{etf2l6s2|}}}]]</span>|}}
| [[File:EseaLogo.png | 20px | link=ESEA]] [[ESEA]]
+
| style="padding-top:6px" | <span style="display:none">{{#ifeq:{{lc:{{{rgl6s|}}}}}|playoffs|[[File:Playoffs2.png|link=RGL 6v6 Season {{Current Seasons|rgl6s}}/Invite#Playoffs]]|{{#ifeq:{{lc:{{{rgl6s|}}}}}|offseason|[[File:Offseason2.png|link=]]|[[File:{{#ifexist:File:{{{rgl6s|}}}.jpg|{{{rgl6s|}}}.jpg|{{#ifexist:File:{{{rgl6s|}}}.png|{{{rgl6s|}}}.png|{{#if:{{{rgl6simg|}}}|{{{rgl6simg|}}}|}}}}}}|link={{{rgl6s|}}}]]}}}}</span>{{#if:{{{rgl6s2|}}}|<span style="display:none">[[File:{{#ifexist:File:{{{rgl6s2|}}}.jpg|{{{rgl6s2|}}}.jpg|{{#ifexist:File:{{{rgl6s2|}}}.png|{{{rgl6s2|}}}.png|{{#if:{{{rgl6s2img|}}}|{{{rgl6s2img|}}}|}}}}}}|link={{{rgl6s2|}}}]]</span>|}}
| class="col2" style="border-right: 1px solid lightgray;" | [[File:Ozfortress icon.png | 20px | link=Ozfortress]] [[ozfortress]]
+
  | class="col2" style="padding-top:6px" | <span style="display:none">{{#ifeq:{{lc:{{{ozf6s|}}}}}|playoffs|[[File:Playoffs2.png|link=ozfortress Season {{Current Seasons|ozf6s}}/Premier#Playoffs]]|{{#ifeq:{{lc:{{{ozf6s|}}}}}|offseason|[[File:Offseason2.png|link=]]|[[File:{{#ifexist:File:{{{ozf6s|}}}.jpg|{{{ozf6s|}}}.jpg|{{#ifexist:File:{{{ozf6s|}}}.png|{{{ozf6s|}}}.png|{{#if:{{{ozf6simg|}}}|{{{ozf6simg|}}}|}}}}}}|link={{{ozf6s|}}}]]}}}}</span>{{#if:{{{ozf6s2|}}}|<span style="display:none">[[File:{{#ifexist:File:{{{ozf6s2|}}}.jpg|{{{ozf6s2|}}}.jpg|{{#ifexist:File:{{{ozf6s2|}}}.png|{{{ozf6s2|}}}.png|{{#if:{{{ozf6s2img|}}}|{{{ozf6s2img|}}}|}}}}}}|link={{{ozf6s2|}}}]]</span>|}}
  | style="border-right: 1px solid lightgray;" | [[File:AsiaFortress-Icon.png | 20px | link=AsiaFortress]] [[AsiaFortress]]
+
| style="padding-top:6px" | <span style="display:none">{{#ifeq:{{lc:{{{ugc6s|}}}}}|playoffs|[[File:Playoffs2.png|link=UGC-6v6 Season {{Current Seasons|ugc6s}}]]|{{#ifeq:{{lc:{{{ugc6s|}}}}}|offseason|[[File:Offseason2.png|link=]]|[[File:{{#ifexist:File:{{{ugc6s|}}}.jpg|{{{ugc6s|}}}.jpg|{{#ifexist:File:{{{ugc6s|}}}.png|{{{ugc6s|}}}.png|{{#if:{{{ugc6simg|}}}|{{{ugc6simg|}}}|}}}}}}|link={{{ugc6s|}}}]]}}}}</span>
  | class="col2"style="border-left: 1px solid lightgray;" | [[File:UGC-Icon.png | 20px | link=UGC]] [[UGC]]
+
| class="col2" style="padding-top:6px; border-left:1px solid lightgray" | <span style="display:none">{{#ifeq:{{lc:{{{etf2lhl|}}}}}|playoffs|[[File:Playoffs2.png|link=ETF2L Highlander Season {{Current Seasons|etf2l6s}}/Premiership#Playoffs]]|{{#ifeq:{{lc:{{{etf2lhl|}}}}}|offseason|[[File:Offseason2.png|link=]]|[[File:{{#ifexist:File:{{{etf2lhl|}}}.jpg|{{{etf2lhl|}}}.jpg|{{#ifexist:File:{{{etf2lhl|}}}.png|{{{etf2lhl|}}}.png|{{#if:{{{etf2lhlimg|}}}|{{{etf2lhlimg|}}}|}}}}}}|link={{{etf2lhl|}}}]]}}}}</span>{{#if:{{{etf2lhl2|}}}|<span style="display:none">[[File:{{#ifexist:File:{{{etf2lhl2|}}}.jpg|{{{etf2lhl2|}}}.jpg|{{#ifexist:File:{{{etf2lhl2|}}}.png|{{{etf2lhl2|}}}.png|{{#if:{{{etf2lhl2img|}}}|{{{etf2lhl2img|}}}|}}}}}}|link={{{etf2lhl2|}}}]]</span>|}}
| style="border-right: 1px solid lightgray;" |[[File:ETF2L-Icon.png | 20px | link=ETF2L]] [[ETF2L]]
+
| style="padding-top:6px" | <span style="display:none">{{#ifeq:{{lc:{{{rglhl|}}}}}|playoffs|[[File:Playoffs2.png|link=RGL Highlander Season {{Current Seasons|rglhl}}]]|{{#ifeq:{{lc:{{{rglhl|}}}}}|offseason|[[File:Offseason2.png|link=]]|[[File:{{#ifexist:File:{{{rglhl|}}}.jpg|{{{rglhl|}}}.jpg|{{#ifexist:File:{{{rglhl|}}}.png|{{{rglhl|}}}.png|{{#if:{{{rglhlimg|}}}|{{{rglhlimg|}}}|}}}}}}|link={{{rglhl|}}}]]}}}}</span>
|-
+
  | class="col2" style="padding-top:6px;" | <span style="display:none">{{#ifeq:{{lc:{{{ugchl|}}}}}|playoffs|[[File:Playoffs2.png|link=UGC Highlander Season {{Current Seasons|ugchl}}]]|{{#ifeq:{{lc:{{{ugchl|}}}}}|offseason|[[File:Offseason2.png|link=]]|[[File:{{#ifexist:File:{{{ugchl|}}}.jpg|{{{ugchl|}}}.jpg|{{#ifexist:File:{{{ugchl|}}}.png|{{{ugchl|}}}.png|{{#if:{{{ugchlimg|}}}|{{{ugchlimg|}}}|}}}}}}|link={{{ugchl|}}}]]}}}}</span>
| class="col2" style="border-left: 1px solid lightgray; border-right: 1px solid lightgray;" | [[Image:{{{ugc4s|offseason}}}.png{{#if:{{ugc4s|}}|{{!}}link={{{ugc4s|}}}|}}|130px]]
+
|- style="font-weight:bold"
| style="border-left: 1px solid lightgray;" | [[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|130px]]
+
| class="col2" | {{#ifeq:{{lc:{{{etf2l6s|}}}}}|playoffs|[[ETF2L 6v6 Season {{Current Seasons|etf2l6s}}/Premiership#Playoffs|Playoffs]]|{{#ifeq:{{lc:{{{etf2l6s|}}}}}|offseason|Offseason|[[{{{etf2l6s|}}}]]{{#if:{{{etf2l6s2|}}}|, [[{{{etf2l6s2|}}}]]}}}}}}
| class="col2" | [[Image:{{{etf2l6s}}}{{#if:{{{etf2l6s2}}}|,&#32;{{{etf2l6s2}}}}}.png{{#if:{{etf2l6s}}|{{!}}link={{#ifexist:{{{etf2l6s}}}|{{{etf2l6s|}}}}}|}}|130px]]
+
| {{#ifeq:{{lc:{{{rgl6s|}}}}}|playoffs|[[RGL 6v6 Season {{Current Seasons|rgl6s}}/Invite#Playoffs|Playoffs]]|{{#ifeq:{{lc:{{{rgl6s|}}}}}|offseason|Offseason|[[{{{rgl6s|}}}]]{{#if:{{{rgl6s2|}}}|, [[{{{rgl6s2|}}}]]}}}}}}
| [[Image:{{{esea6s|offseason}}}.png{{#if:{{esea6s|}}|{{!}}link={{{esea6s|}}}|}}|130px]]
+
| class="col2" | {{#ifeq:{{lc:{{{ozf6s|}}}}}|playoffs|[[ozfortress Season {{Current Seasons|ozf6s}}/Premier#Playoffs|Playoffs]]|{{#ifeq:{{lc:{{{ozf6s|}}}}}|offseason|Offseason|[[{{{ozf6s|}}}]]{{#if:{{{ozf6s2|}}}|, [[{{{ozf6s2|}}}]]}}}}}}
| class="col2" | [[Image:{{{ozf6s}}}{{#if:{{{ozf6s2}}}|,&#32;{{{ozf6s2}}}}}.png{{#if:{{ozf6s|}}|{{!}}link={{#ifexist:{{{ozf6s}}}|{{{ozf6s|}}}}}|}}|130px]]
+
| {{#ifeq:{{lc:{{{ugc6s|}}}}}|playoffs|[[UGC-6v6 Season {{Current Seasons|ugc6s}}|Playoffs]]|{{#ifeq:{{lc:{{{ugc6s|}}}}}|offseason|Offseason|[[{{{ugc6s|}}}]]}}}}
| [[Image:{{{af6s}}}{{#if:{{{af6s2}}}|,&#32;{{{af6s2}}}}}.png{{#if:{{af6s|}}|{{!}}link={{#ifexist:{{{af6s}}}|{{{af6s|}}}}}|}}|130px]]
+
| class="col2" style="border-left:1px solid lightgray" | {{#ifeq:{{lc:{{{etf2lhl|}}}}}|playoffs|[[ETF2L Highlander Season {{Current Seasons|etf2lhl}}/Premiership#Playoffs|Playoffs]]|{{#ifeq:{{lc:{{{etf2lhl|}}}}}|offseason|Offseason|[[{{{etf2lhl|}}}]]{{#if:{{{etf2lhl2|}}}|, [[{{{etf2lhl2|}}}]]}}}}}}
| class="col2" style="border-left: 1px solid lightgray;" | [[Image:{{{ugchl|offseason}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl|}}}|}}|130px]]
+
| {{#ifeq:{{lc:{{{rglhl|}}}}}|playoffs|[[RGL Highlander Season {{Current Seasons|rglhl}}|Playoffs]]|{{#ifeq:{{lc:{{{rglhl|}}}}}|offseason|Offseason|[[{{{rglhl|}}}]]}}}}
  | style="border-right: 1px solid lightgray;" | [[Image:{{{etf2lhl}}}{{#if:{{{etf2lhl2}}}|,&#32;{{{etf2lhl2}}}}}.png{{#if:{{etf2lhl}}|{{!}}link={{#ifexist:{{{etf2lhl}}}|{{{etf2lhl|}}}}}|}}|130px]]
+
| class="col2" | {{#ifeq:{{lc:{{{ugchl|}}}}}|playoffs|[[UGC Highlander Season {{Current Seasons|ugchl}}|Playoffs]]|{{#ifeq:{{lc:{{{ugchl|}}}}}|offseason|Offseason|[[{{{ugchl|}}}]]}}}}
|- class="top bold"
+
|- style="font-weight: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" | <small>{{{etf2l6scomment|}}}</small>
| style="border-left: 1px solid lightgray;" | {{#if:{{{ugc6s|}}}|{{#ifeq: {{{ugc6s}}}|Playoffs|Playoffs|{{nrl|{{{ugc6s}}}}}}}|Offseason}}
+
| <small>{{{rgl6scomment|}}}</small>
| class="col2" | {{#if:{{{etf2l6s|}}}|{{#ifeq: {{{etf2l6s}}}|Playoffs|Playoffs|{{nrl|{{{etf2l6s}}}}}}}|Offseason}}{{#if:{{{etf2l6s2|}}}|,&#32;{{nrl|{{{etf2l6s2}}}}}}}
+
| class="col2" | <small>{{{ozf6scomment|}}}</small>
| {{#if:{{{esea6s|}}}|{{#ifeq: {{{esea6s}}}|Playoffs|Playoffs|{{nrl|{{{esea6s}}}}}}}|Offseason}}  
+
| <small>{{{ugc6scomment|}}}</small>
| class="col2" | {{#if:{{{ozf6s|}}}|{{#ifeq: {{{ozf6s}}}|Playoffs|Playoffs|{{nrl|{{{ozf6s}}}}}}}|Offseason}}{{#if:{{{ozf6s2|}}}|,&#32;{{nrl|{{{ozf6s2}}}}}}}
+
| class="col2" style="border-left:1px solid lightgray" | <small>{{{etf2lhlcomment|}}}</small>
| {{#if:{{{af6s|}}}|{{#ifeq: {{{af6s}}}|Playoffs|Playoffs|{{nrl|{{{af6s}}}}}}}|Offseason}}{{#if:{{{af6s2|}}}|,&#32;{{nrl|{{{af6s2}}}}}}}
+
| <small>{{{rglhlcomment|}}}</small>
| class="col2" | style="border-left: 1px solid lightgray;" | {{#if:{{{ugchl|}}}|{{#ifeq: {{{ugchl}}}|Playoffs|Playoffs|{{nrl|{{{ugchl}}}}}}}|Offseason}}
+
  | class="col2" | <small>{{{ugchlcomment|}}}</small>
| style="border-right: 1px solid lightgray;" | {{#if:{{{etf2lhl|}}}|{{#ifeq: {{{etf2lhl}}}|Playoffs|Playoffs|{{nrl|{{{etf2lhl}}}}}}} |Offseason}}{{#if:{{{etf2lhl2|}}}|,&#32;{{nrl|{{{etf2lhl2}}}}}}}
 
|- 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>}}
 
| style="border-left: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{ugc6scomment|}}}|<small>{{{ugc6scomment}}}</small>}}
 
| class="col2" style="border-bottom: 1px solid lightgray;" | {{#if:{{{etf2l6scomment|}}}|<small>{{{etf2l6scomment}}}</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>}}
 
| style="border-right: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{af6scomment|}}}|<small>{{{af6scomment}}}</small>}}
 
  | class="col2" style="border-left: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{ugchlcomment|}}}|<small>{{{ugchlcomment}}}</small>}}
 
| style="border-right: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{etf2lhlcomment|}}}|<small>{{{etf2lhlcomment}}}</small>}}
 
 
|}
 
|}
<noinclude>
+
</includeonly><noinclude>{{documentation}}</noinclude>
== Usage ==
 
* The template displays the current maps in each league automatically linked to the maps page
 
* Special parameters that are not map names are <code>Playoffs</code> and <code>Offseason</code>
 
* You can also add comments under the map names, using the <code><em>leaguename</em>comment</code> field (e.g. <code>ozf6scomment=week 7</code>).
 
 
 
Example:
 
<pre>
 
{{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
 
}}
 
</pre>
 
'''Will yield:'''
 
{{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
 
}}
 
 
 
[[Category:Main page templates]]
 

Latest revision as of 18:23, 17 April 2020

(view - edit) Documentation

[edit] This Week's League Maps
ETF2L-Icon2.png ETF2L (6v6) RGL Icon.png RGL (6v6) Ozfortress Icon.png ozfortress (6v6) UGC-Icon2.png UGC (6v6) ETF2L-Icon2.png ETF2L (HL) RGL Icon.png RGL (HL) UGC-Icon2.png UGC (HL)
Gullywash.jpgProduct.jpg Offseason2.png Offseason2.png Offseason2.png Offseason2.png Playoffs2.png Offseason2.png
Gullywash, Product Offseason Offseason Offseason Offseason Playoffs Offseason
Week 2