Difference between revisions of "Template:Weekmaps"

From comp.tf
Jump to navigation Jump to search
m (Added temporary .jpg image for |ugchl image for cp_vanguard_rc3 as no .png image exists (this will be removed in one week))
 
(58 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="mainpage"
+
<includeonly>{| class="mainpage"
! colspan="9" | This Week's Match Maps
 
|- class="maps bold"
 
| colspan="2" class="col2" |[[Ozfortress]] (6v6)
 
| colspan="2" | [[ETF2L]] (HL)
 
| colspan="2" class="col2" |[[ETF2L]] (6v6)
 
| [[ESEA]] (6v6)
 
| class="col2" |[[UGC]] (HL)
 
| [[UGC]] (6v6)
 
 
|-
 
|-
| class="col2" |[[Image:{{{ozfortress6s|offseason}}}.png{{#if:{{ozfortress6s|}}|{{!}}link={{{ozfortress6s|}}}|}}|125px]]
+
! 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'''
| class="col2" | {{#if:{{{ozfortress6s2|}}}|[[Image:{{{ozfortress6s2|offseason}}}.png{{#if:{{ozfortress6s2}}|{{!}}link={{{ozfortress6s2|}}}|}}|125px]]}}
+
|- style="border-top: none; font-weight:bold;"
| [[Image:{{{etf2lhl|offseason}}}.png{{#if:{{etf2lhl}}|{{!}}link={{{etf2lhl|}}}|}}|125px]]
+
| 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>
| {{#if:{{{etf2lhl2|}}}|[[Image:{{{etf2lhl2|offseason}}}.png{{#if:{{etf2lhl2}}|{{!}}link={{{etf2lhl2|}}}|}}|125px]]}}
+
| 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>
| class="col2" |[[Image:{{{etf2l6s|offseason}}}.png{{#if:{{etf2l6s}}|{{!}}link={{{etf2l6s|}}}|}}|125px]]
+
| 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>
| class="col2" | {{#if:{{{etf2l6s2|}}}|[[Image:{{{etf2l6s2|offseason}}}.png{{#if:{{etf2l6s2}}|{{!}}link={{{etf2l6s2|}}}|}}|125px]]}}
+
| 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>
| [[Image:{{{esea|offseason}}}.png{{#if:{{esea|}}|{{!}}link={{{esea|}}}|}}|125px]]
+
| 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="col2" |[[Image:{{{ugchl|offseason}}}.jpg{{#if:{{ugchl|}}|{{!}}link={{{ugchl|}}}|}}|125px]]
+
| 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>
| [[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|125px]]
+
| 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>
|- class="top bold"
+
|- class="weekmaps"
| class="col2" |{{#if:{{{ozfortress6s|}}}|{{#ifeq: {{{ozfortress6s}}}|Playoffs|Playoffs|[[{{{ozfortress6s}}}]]}}|Offseason}}
+
| 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>|}}
| class="col2" |{{#if:{{{ozfortress6s2|}}}|[[{{{ozfortress6s2}}}]]}}
+
| 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>|}}
| {{#if:{{{etf2lhl|}}}|{{#ifeq: {{{etf2lhl}}}|Playoffs|Playoffs|[[{{{etf2lhl}}}]]}} |Offseason}}
+
| 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>|}}
| {{#if:{{{etf2lhl2|}}}|[[{{{etf2lhl2}}}]]}}
+
| 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" |{{#if:{{{etf2l6s|}}}|{{#ifeq: {{{etf2l6s}}}|Playoffs|Playoffs|[[{{{etf2l6s}}}]]}}|Offseason}}
+
| 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>|}}
| class="col2" |{{#if:{{{etf2l6s2|}}}|[[{{{etf2l6s2}}}]]}}
+
| 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>
| {{#if:{{{esea|}}}|{{#ifeq: {{{esea}}}|Playoffs|Playoffs|[[{{{esea}}}]]}}|Offseason}}
+
| 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" |{{#if:{{{ugchl|}}}|{{#ifeq: {{{ugchl}}}|Playoffs|Playoffs|[[{{{ugchl}}}]]}}|Offseason}}
+
|- style="font-weight:bold"
| {{#if:{{{ugc6s|}}}|{{#ifeq: {{{ugc6s}}}|Playoffs|Playoffs|[[{{{ugc6s}}}]]}}|Offseason}}
+
| 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="top bold"
+
| {{#ifeq:{{lc:{{{rgl6s|}}}}}|playoffs|[[RGL 6v6 Season {{Current Seasons|rgl6s}}/Invite#Playoffs|Playoffs]]|{{#ifeq:{{lc:{{{rgl6s|}}}}}|offseason|Offseason|[[{{{rgl6s|}}}]]{{#if:{{{rgl6s2|}}}|, [[{{{rgl6s2|}}}]]}}}}}}
| colspan="2" class="col2" |{{#if:{{{ozfortress6scomment|}}}|<small>{{{ozfortress6scomment}}}</small>}}
+
| class="col2" | {{#ifeq:{{lc:{{{ozf6s|}}}}}|playoffs|[[ozfortress Season {{Current Seasons|ozf6s}}/Premier#Playoffs|Playoffs]]|{{#ifeq:{{lc:{{{ozf6s|}}}}}|offseason|Offseason|[[{{{ozf6s|}}}]]{{#if:{{{ozf6s2|}}}|, [[{{{ozf6s2|}}}]]}}}}}}
| colspan="2" | {{#if:{{{etf2lhlcomment|}}}|<small>{{{etf2lhlcomment}}}</small>}}
+
| {{#ifeq:{{lc:{{{ugc6s|}}}}}|playoffs|[[UGC-6v6 Season {{Current Seasons|ugc6s}}|Playoffs]]|{{#ifeq:{{lc:{{{ugc6s|}}}}}|offseason|Offseason|[[{{{ugc6s|}}}]]}}}}
| colspan="2" class="col2" |{{#if:{{{etf2l6scomment|}}}|<small>{{{etf2l6scomment}}}</small>}}
+
| 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|}}}]]}}}}}}
| {{#if:{{{eseacomment|}}}|<small>{{{eseacomment}}}</small>}}
+
| {{#ifeq:{{lc:{{{rglhl|}}}}}|playoffs|[[RGL Highlander Season {{Current Seasons|rglhl}}|Playoffs]]|{{#ifeq:{{lc:{{{rglhl|}}}}}|offseason|Offseason|[[{{{rglhl|}}}]]}}}}
| class="col2" |{{#if:{{{ugchlcomment|}}}|<small>{{{ugchlcomment}}}</small>}}
+
| class="col2" | {{#ifeq:{{lc:{{{ugchl|}}}}}|playoffs|[[UGC Highlander Season {{Current Seasons|ugchl}}|Playoffs]]|{{#ifeq:{{lc:{{{ugchl|}}}}}|offseason|Offseason|[[{{{ugchl|}}}]]}}}}
| {{#if:{{{ugc6scomment|}}}|<small>{{{ugc6scomment}}}</small>}}
+
|- style="font-weight:bold"
 +
| class="col2" | <small>{{{etf2l6scomment|}}}</small>
 +
| <small>{{{rgl6scomment|}}}</small>
 +
| class="col2" | <small>{{{ozf6scomment|}}}</small>
 +
| <small>{{{ugc6scomment|}}}</small>
 +
| class="col2" style="border-left:1px solid lightgray" | <small>{{{etf2lhlcomment|}}}</small>
 +
| <small>{{{rglhlcomment|}}}</small>
 +
| class="col2" | <small>{{{ugchlcomment|}}}</small>
 
|}
 
|}
<noinclude>
+
</includeonly><noinclude>{{documentation}}</noinclude>
== 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 <code><nowiki><!--</nowiki><em>league field</em>--></code> 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 <code><em>leaguename</em>comment</code> field (e.g. <code>ozfortress6scomment=week 7</code>).
 
 
 
Example:
 
<pre>
 
{{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
 
<!--
 
-->
 
}}
 
</pre>
 
yields
 
 
 
{{Weekmaps
 
<!--
 
| ozfortress6s =
 
-->
 
| etf2lhl = Warmtic
 
| etf2lhl2 = Process
 
| etf2lhlcomment = Week 2
 
| etf2l6s = Playoffs
 
| etf2l6s2 =
 
| etf2l6scomment =
 
<!--
 
-->
 
| esea = Playoffs
 
| eseacomment =
 
<!--
 
-->
 
| ugchl = Process
 
| ugchlcomment = Week 9
 
| ugc6s = Snakewater
 
| ugc6scomment = 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