Difference between revisions of "Template:Weekmaps"

From comp.tf
Jump to navigation Jump to search
(Fixed column widths)
 
(92 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| style="width: 100%; margin-bottom: 0px; border: 1px solid #ccc; background: #f9f9f9; border-collapse: collapse;"
+
<includeonly>{| class="mainpage"
! style="font-size:85%;text-align: center;background-color:#1c1c1c;" colspan="7" |'''<span style="color:#FFFFFF;">This Week's Match Maps</span> '''
 
 
|-
 
|-
! style="text-align: center; width: 14.2%;" |[[CEVO]] (HL)
+
! 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'''
! style="text-align: center; width: 14.2%; background: #fdfdfd;" |[[CEVO]] (6v6)
+
|- style="border-top: none; font-weight:bold;"
! style="text-align: center" width: 14.2%; |[[ETF2L]] (HL)
+
| 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="text-align: center; width: 14.2%; background: #fdfdfd;" |[[ETF2L]] (6v6)
+
| 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>
! style="text-align: center" width: 14.2%; |[[ESEA]] (6v6)
+
| 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>
! style="text-align: center; width: 14.2%; background: #fdfdfd;" |[[UGC]] (HL)
+
| 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>
! style="text-align: center" width: 14.2%; |[[UGC]] (6v6)
+
| 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>
|-
+
| 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>
! style="text-align: center" |[[Image:{{{cevohl|offseason}}}.png{{#if:{{cevohl|}}|{{!}}link={{{cevohl}}}|}}|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>
! style="text-align: center; background: #fdfdfd;" |[[Image:{{{cevo6s|offseason}}}.png{{#if:{{cevo6s|}}|{{!}}link={{{cevo6s}}}|}}|125px]]
+
|- class="weekmaps"
! style="text-align: center" |[[Image:{{{etf2lhl|offseason}}}.png{{#if:{{etf2lhl|}}|{{!}}link={{{etf2lhl}}}|}}|125px]]
+
| 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>|}}
! style="text-align: center; background: #fdfdfd;" |[[Image:{{{etf2l6s|offseason}}}.png{{#if:{{etf2l6s}}|{{!}}link={{{etf2l6s}}}|}}|125px]]
+
| 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>|}}
! style="text-align: center" |[[Image:{{{esea|offseason}}}.png{{#if:{{esea|}}|{{!}}link={{{esea}}}|}}|125px]]
+
| 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="text-align: center; background: #fdfdfd;" |[[Image:{{{ugchl|offseason}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl}}}|}}|125px]]
+
| 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>
! style="text-align: center" |[[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s}}}|}}|125px]]
+
| 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="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>
! style="text-align: center" |{{#if:{{{cevohl|}}}|[[{{{cevohl}}}]]{{#if:{{{cevohlcomment|}}}|<br><small>{{{cevohlcomment}}}</small>}}|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>
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{cevo6s|}}}|[[{{{cevo6s}}}]]{{#if:{{{cevo6scomment|}}}|<br><small>{{{cevo6scomment}}}</small>}}|Offseason}}
+
|- style="font-weight:bold"
! style="text-align: center" |{{#if:{{{etf2lhl|}}}|[[{{{etf2lhl}}}]]{{#if:{{{etf2lhlcomment|}}}|<br><small>{{{etf2lhlcomment}}}</small>}}|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|}}}]]}}}}}}
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{etf2l6s|}}}|[[{{{etf2l6s}}}]]{{#if:{{{etf2l6scomment|}}}|<br><small>{{{etf2l6scomment}}}</small>}}|Offseason}}
+
| {{#ifeq:{{lc:{{{rgl6s|}}}}}|playoffs|[[RGL 6v6 Season {{Current Seasons|rgl6s}}/Invite#Playoffs|Playoffs]]|{{#ifeq:{{lc:{{{rgl6s|}}}}}|offseason|Offseason|[[{{{rgl6s|}}}]]{{#if:{{{rgl6s2|}}}|, [[{{{rgl6s2|}}}]]}}}}}}
! style="text-align: center" |{{#if:{{{esea|}}}|[[{{{esea}}}]]{{#if:{{{eseacomment|}}}|<br><small>{{{eseacomment}}}</small>}}|Offseason}}
+
| class="col2" | {{#ifeq:{{lc:{{{ozf6s|}}}}}|playoffs|[[ozfortress Season {{Current Seasons|ozf6s}}/Premier#Playoffs|Playoffs]]|{{#ifeq:{{lc:{{{ozf6s|}}}}}|offseason|Offseason|[[{{{ozf6s|}}}]]{{#if:{{{ozf6s2|}}}|, [[{{{ozf6s2|}}}]]}}}}}}
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{ugchl|}}}{{#if:{{{ugchlcomment|}}}|<br><small>{{{ugchlcomment}}}</small>}}|[[{{{ugchl}}}]]|Offseason}}
+
| {{#ifeq:{{lc:{{{ugc6s|}}}}}|playoffs|[[UGC-6v6 Season {{Current Seasons|ugc6s}}|Playoffs]]|{{#ifeq:{{lc:{{{ugc6s|}}}}}|offseason|Offseason|[[{{{ugc6s|}}}]]}}}}
! style="text-align: center" |{{#if:{{{ugc6s|}}}|[[{{{ugc6s}}}]]{{#if:{{{ugc6scomment|}}}|<br><small>{{{ugc6scomment}}}</small>}}|Offseason}}
+
| 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
 
| cevohl = cp_steel
 
| cevo6s = cp_gravelpit
 
<!-- | etf2lhl
 
| etf2l6s -->
 
| esea = cp_granary
 
| ugchl = pl_upward
 
| ugc6s = cp_snakewater
 
}}
 
</pre>
 
yields
 
 
 
{{Weekmaps
 
| cevohl = cp_steel
 
| cevo6s = cp_gravelpit
 
<!-- | etf2lhl
 
| etf2l6s -->
 
| 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>).
 

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