Difference between revisions of "Template:Weekmaps"

From comp.tf
Jump to navigation Jump to search
(fixed duplicate comments)
 
(81 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="mainpage"
+
<includeonly>{| class="mainpage"
! colspan="7" |'''This Week's Match Maps'''
 
|- class="maps bold"
 
| class="col2" |[[CEVO]] (6v6)
 
| [[ETF2L]] (HL)
 
| colspan="2" class="col2" |[[ETF2L]] (6v6)
 
| [[ESEA]] (6v6)
 
| class="col2" |[[UGC]] (HL)
 
| [[UGC]] (6v6)
 
 
|-
 
|-
| class="col2" |[[Image:{{{cevo6s|offseason}}}.png{{#if:{{cevo6s|}}|{{!}}link={{{cevo6s|}}}|}}|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'''
| [[Image:{{{etf2lhl|offseason}}}.png{{#if:{{etf2lhl|}}|{{!}}link={{{etf2lhl|}}}|}}|125px]]
+
|- style="border-top: none; font-weight:bold;"
| class="col2" |[[Image:{{{etf2l6s|offseason}}}.png{{#if:{{etf2l6s}}|{{!}}link={{{etf2l6s|}}}|}}|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>
| class="col2" | {{#if:{{{etf2l6s2|}}}|[[Image:{{{etf2l6s2|offseason}}}.png{{#if:{{etf2l6s2}}|{{!}}link={{{etf2l6s2|}}}|}}|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>
| [[Image:{{{esea|offseason}}}.png{{#if:{{esea|}}|{{!}}link={{{esea|}}}|}}|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" |[[Image:{{{ugchl|offseason}}}.jpg{{#if:{{ugchl|}}|{{!}}link={{{ugchl|}}}|}}|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:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|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="top bold"
+
| 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" |{{#if:{{{cevo6s|}}}|[[{{{cevo6s}}}]]|Offseason}}
+
| 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>
| {{#if:{{{etf2lhl|}}}|[[{{{etf2lhl}}}]]|Offseason}}
+
|- class="weekmaps"
| class="col2" |{{#if:{{{etf2l6s|}}}|[[{{{etf2l6s}}}]]|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:{{{etf2l6s2|}}}|[[{{{etf2l6s2}}}]]}}
+
| 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:{{{esea|}}}|[[{{{esea}}}]]|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>|}}
| class="col2" |{{#if:{{{ugchl|}}}|[[{{{ugchl}}}]]|Offseason}}
+
| 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>
| {{#if:{{{ugc6s|}}}|[[{{{ugc6s}}}]]|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="top bold"
+
| 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" |{{#if:{{{cevo6scomment|}}}|<small>{{{cevo6scomment}}}</small>}}
+
| 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>
| {{#if:{{{etf2lhlcomment|}}}|<small>{{{etf2lhlcomment}}}</small>}}
+
|- style="font-weight:bold"
| colspan="2" class="col2" |{{#if:{{{etf2l6scomment|}}}|<small>{{{etf2l6scomment}}}</small>}}
+
| class="col2" | {{#ifeq:{{lc:{{{etf2l6s|}}}}}|playoffs|[[ETF2L 6v6 Season {{Current Seasons|etf2l6s}}/Premiership#Playoffs|Playoffs]]|{{#ifeq:{{lc:{{{etf2l6s|}}}}}|offseason|Offseason|[[{{{etf2l6s|}}}]]{{#if:{{{etf2l6s2|}}}|, [[{{{etf2l6s2|}}}]]}}}}}}
| {{#if:{{{eseacomment|}}}|<small>{{{eseacomment}}}</small>}}
+
| {{#ifeq:{{lc:{{{rgl6s|}}}}}|playoffs|[[RGL 6v6 Season {{Current Seasons|rgl6s}}/Invite#Playoffs|Playoffs]]|{{#ifeq:{{lc:{{{rgl6s|}}}}}|offseason|Offseason|[[{{{rgl6s|}}}]]{{#if:{{{rgl6s2|}}}|, [[{{{rgl6s2|}}}]]}}}}}}
| class="col2" |{{#if:{{{ugchlcomment|}}}|<small>{{{ugchlcomment}}}</small>}}
+
| class="col2" | {{#ifeq:{{lc:{{{ozf6s|}}}}}|playoffs|[[ozfortress Season {{Current Seasons|ozf6s}}/Premier#Playoffs|Playoffs]]|{{#ifeq:{{lc:{{{ozf6s|}}}}}|offseason|Offseason|[[{{{ozf6s|}}}]]{{#if:{{{ozf6s2|}}}|, [[{{{ozf6s2|}}}]]}}}}}}
| {{#if:{{{ugc6scomment|}}}|<small>{{{ugc6scomment}}}</small>}}
+
| {{#ifeq:{{lc:{{{ugc6s|}}}}}|playoffs|[[UGC-6v6 Season {{Current Seasons|ugc6s}}|Playoffs]]|{{#ifeq:{{lc:{{{ugc6s|}}}}}|offseason|Offseason|[[{{{ugc6s|}}}]]}}}}
 +
| 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|}}}]]}}}}}}
 +
| {{#ifeq:{{lc:{{{rglhl|}}}}}|playoffs|[[RGL Highlander Season {{Current Seasons|rglhl}}|Playoffs]]|{{#ifeq:{{lc:{{{rglhl|}}}}}|offseason|Offseason|[[{{{rglhl|}}}]]}}}}
 +
| class="col2" | {{#ifeq:{{lc:{{{ugchl|}}}}}|playoffs|[[UGC Highlander Season {{Current Seasons|ugchl}}|Playoffs]]|{{#ifeq:{{lc:{{{ugchl|}}}}}|offseason|Offseason|[[{{{ugchl|}}}]]}}}}
 +
|- 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 division, or "offseason" marks if the league field is absent.
 
 
 
Example:
 
<pre>
 
{{Match maps
 
| cevo6s = cp_gravelpit
 
<!-- | etf2lhl
 
| etf2l6s -->
 
| etf2l6s2 -->
 
| esea = cp_granary
 
| ugchl = pl_upward
 
| ugc6s = cp_snakewater
 
}}
 
</pre>
 
yields
 
 
 
{{Weekmaps
 
| cevo6s = cp_gravelpit
 
<!-- | etf2lhl
 
| etf2l6s -->
 
| etf2l6s2 -->
 
| esea = cp_granary
 
| ugchl = pl_upward
 
| ugc6s = cp_snakewater
 
}}
 
 
 
You can also add comments under the map names, using the <code><em>leaguefieldname</em>comment</code> field (e.g. <code>cevo6scomment</code>).
 
[[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