Difference between revisions of "Template:Weekmaps"

From comp.tf
Jump to navigation Jump to search
m (Made sub-header background-color lighter)
m (More re-theming)
Line 1: Line 1:
 
{| class="mainpage"
 
{| class="mainpage"
 
|- style="border: 1px solid #1c1c1c"
 
|- style="border: 1px solid #1c1c1c"
! colspan="10" style="border-bottom: 1px solid white; font-size: 17px;" | <span style="color: black;" class="controls">[<span class="plainlinks">[{{fullurl:Main_Page|action=edit}} <span style="color: black;">edit</span>]</span>]</span>'''This Week's League Maps'''
+
! colspan="10" style="font-size: 14px;" | <span class="controls">[<span class="plainlinks">[{{fullurl:Main_Page|action=edit}} edit]</span>]</span>'''This Week's League Maps'''
|- style="border: 1px solid #8C8C8C"
+
|-  
! colspan="1" style="background-color: #8C8C8C; border-right: 1px solid white; font-size: 13px;" | 4v4
+
| colspan="1" class="col2" |
! colspan="6" style="background-color: #8C8C8C; border-right: 1px solid white; font-size: 13px;" | 6v6
+
{| class="mainpage" style="border: hidden; border-left: 1px solid white; border-top: 1px solid white;"
! colspan="3" style="background-color: #8C8C8C; font-size: 13px;" | Highlander
+
| style="color: white; border-left: 1px solid white; background-color: #8C8C8C; font-size: 13px;" | '''4v4'''
 +
|}
 +
| colspan="6" |
 +
{| class="mainpage" style="border: hidden; border-top: 1px solid white;"
 +
| style="color: white; background-color: #8C8C8C; font-size: 13px;" | '''6v6'''
 +
|}
 +
| colspan="3" class="col2" |
 +
{| class="mainpage" style="border: hidden; border-right: 1px solid white; border-top: 1px solid white;"
 +
| style="color: white; background-color: #8C8C8C; font-size: 13px;" | '''Highlander'''
 +
|}
 
|- class="maps bold"
 
|- class="maps bold"
 
| class="col2" |[[File:UGC-Icon.png | 20px | link=UGC]] [[UGC]]
 
| class="col2" |[[File:UGC-Icon.png | 20px | link=UGC]] [[UGC]]
 
| [[File:UGC-Icon.png | 20px | link=UGC]] [[UGC]]
 
| [[File:UGC-Icon.png | 20px | link=UGC]] [[UGC]]
| colspan="2" class="col2" |[[File:ETF2L-Icon.png | 20px | link=ETF2L]] [[ETF2L]]
+
| colspan="2" |[[File:ETF2L-Icon.png | 20px | link=ETF2L]] [[ETF2L]]
 
| [[File:EseaLogo.png | 20px | link=ESEA]] [[ESEA]]
 
| [[File:EseaLogo.png | 20px | link=ESEA]] [[ESEA]]
| colspan="2" class="col2" |[[File:Ozfortress icon.png | 20px | link=Ozfortress]] [[Ozfortress|ozFortress]]
+
| colspan="2" |[[File:Ozfortress icon.png | 20px | link=Ozfortress]] [[Ozfortress|ozFortress]]
| [[File:UGC-Icon.png | 20px | link=UGC]] [[UGC]]
+
| class="col2"| [[File:UGC-Icon.png | 20px | link=UGC]] [[UGC]]
 
| colspan="2" class="col2" |[[File:ETF2L-Icon.png | 20px | link=ETF2L]] [[ETF2L]]
 
| colspan="2" class="col2" |[[File:ETF2L-Icon.png | 20px | link=ETF2L]] [[ETF2L]]
 
|-
 
|-
 
| class="col2" |[[Image:{{{ugc4s|offseasonTemp}}}.png{{#if:{{ugc4s|}}|{{!}}link={{{ugc4s|}}}|}}|130px]]
 
| class="col2" |[[Image:{{{ugc4s|offseasonTemp}}}.png{{#if:{{ugc4s|}}|{{!}}link={{{ugc4s|}}}|}}|130px]]
 
| [[Image:{{{ugc6s|offseasonTemp}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|130px]]
 
| [[Image:{{{ugc6s|offseasonTemp}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|130px]]
| class="col2" |[[Image:{{{etf2l6s|offseasonTemp}}}.png{{#if:{{etf2l6s}}|{{!}}link={{{etf2l6s|}}}|}}|130px]]
+
| [[Image:{{{etf2l6s|offseasonTemp}}}.png{{#if:{{etf2l6s}}|{{!}}link={{{etf2l6s|}}}|}}|130px]]
| class="col2" | {{#if:{{{etf2l6s2|}}}|[[Image:{{{etf2l6s2|offseasonTemp}}}.png{{#if:{{etf2l6s2}}|{{!}}link={{{etf2l6s2|}}}|}}|130px]]}}
+
| {{#if:{{{etf2l6s2|}}}|[[Image:{{{etf2l6s2|offseasonTemp}}}.png{{#if:{{etf2l6s2}}|{{!}}link={{{etf2l6s2|}}}|}}|130px]]}}
 
| [[Image:{{{esea6s|offseasonTemp}}}.png{{#if:{{esea6s|}}|{{!}}link={{{esea6s|}}}|}}|130px]]
 
| [[Image:{{{esea6s|offseasonTemp}}}.png{{#if:{{esea6s|}}|{{!}}link={{{esea6s|}}}|}}|130px]]
| class="col2" |[[Image:{{{ozf6s|offseasonTemp}}}.png{{#if:{{ozf6s|}}|{{!}}link={{{ozf6s|}}}|}}|130px]]
+
| [[Image:{{{ozf6s|offseasonTemp}}}.png{{#if:{{ozf6s|}}|{{!}}link={{{ozf6s|}}}|}}|130px]]
| class="col2" | {{#if:{{{ozf6s2|}}}|[[Image:{{{ozf6s2|offseasonTemp}}}.png{{#if:{{ozf6s2}}|{{!}}link={{{ozf6s2|}}}|}}|130px]]}}
+
| {{#if:{{{ozf6s2|}}}|[[Image:{{{ozf6s2|offseasonTemp}}}.png{{#if:{{ozf6s2}}|{{!}}link={{{ozf6s2|}}}|}}|130px]]}}
| [[Image:{{{ugchl|offseasonTemp}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl|}}}|}}|130px]]
+
| class="col2" | [[Image:{{{ugchl|offseasonTemp}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl|}}}|}}|130px]]
 
| class="col2" | [[Image:{{{etf2lhl|offseasonTemp}}}.png{{#if:{{etf2lhl}}|{{!}}link={{{etf2lhl|}}}|}}|130px]]
 
| class="col2" | [[Image:{{{etf2lhl|offseasonTemp}}}.png{{#if:{{etf2lhl}}|{{!}}link={{{etf2lhl|}}}|}}|130px]]
 
| class="col2" | {{#if:{{{etf2lhl2|}}}|[[Image:{{{etf2lhl2|offseasonTemp}}}.png{{#if:{{etf2lhl2}}|{{!}}link={{{etf2lhl2|}}}|}}|130px]]}}
 
| class="col2" | {{#if:{{{etf2lhl2|}}}|[[Image:{{{etf2lhl2|offseasonTemp}}}.png{{#if:{{etf2lhl2}}|{{!}}link={{{etf2lhl2|}}}|}}|130px]]}}
Line 28: Line 37:
 
| class="col2" |{{#if:{{{ugc4s|}}}|{{#ifeq: {{{ugc4s}}}|PlayoffsTemp|Playoffs|[[{{{ugc4s}}}]]}}|Offseason}}
 
| class="col2" |{{#if:{{{ugc4s|}}}|{{#ifeq: {{{ugc4s}}}|PlayoffsTemp|Playoffs|[[{{{ugc4s}}}]]}}|Offseason}}
 
| {{#if:{{{ugc6s|}}}|{{#ifeq: {{{ugc6s}}}|PlayoffsTemp|Playoffs|[[{{{ugc6s}}}]]}}|Offseason}}
 
| {{#if:{{{ugc6s|}}}|{{#ifeq: {{{ugc6s}}}|PlayoffsTemp|Playoffs|[[{{{ugc6s}}}]]}}|Offseason}}
| class="col2" |{{#if:{{{etf2l6s|}}}|{{#ifeq: {{{etf2l6s}}}|PlayoffsTemp|Playoffs|[[{{{etf2l6s}}}]]}}|Offseason}}
+
| {{#if:{{{etf2l6s|}}}|{{#ifeq: {{{etf2l6s}}}|PlayoffsTemp|Playoffs|[[{{{etf2l6s}}}]]}}|Offseason}}
| class="col2" |{{#if:{{{etf2l6s2|}}}|[[{{{etf2l6s2}}}]]}}
+
| {{#if:{{{etf2l6s2|}}}|[[{{{etf2l6s2}}}]]}}
 
| {{#if:{{{esea6s|}}}|{{#ifeq: {{{esea6s}}}|PlayoffsTemp|Playoffs|[[{{{esea6s}}}]]}}|Offseason}}  
 
| {{#if:{{{esea6s|}}}|{{#ifeq: {{{esea6s}}}|PlayoffsTemp|Playoffs|[[{{{esea6s}}}]]}}|Offseason}}  
| class="col2" |{{#if:{{{ozf6s|}}}|{{#ifeq: {{{ozf6s}}}|PlayoffsTemp|Playoffs|[[{{{ozf6s}}}]]}}|Offseason}}
+
| {{#if:{{{ozf6s|}}}|{{#ifeq: {{{ozf6s}}}|PlayoffsTemp|Playoffs|[[{{{ozf6s}}}]]}}|Offseason}}
| class="col2" |{{#if:{{{ozf6s2|}}}|[[{{{ozf6s2}}}]]}}
+
| {{#if:{{{ozf6s2|}}}|[[{{{ozf6s2}}}]]}}
| {{#if:{{{ugchl|}}}|{{#ifeq: {{{ugchl}}}|PlayoffsTemp|Playoffs|[[{{{ugchl}}}]]}}|Offseason}}
+
| class="col2" | {{#if:{{{ugchl|}}}|{{#ifeq: {{{ugchl}}}|PlayoffsTemp|Playoffs|[[{{{ugchl}}}]]}}|Offseason}}
| class="col2" |{{#if:{{{etf2lhl|}}}|{{#ifeq: {{{etf2lhl}}}|PlayoffsTemp|Playoffs|[[{{{etf2lhl}}}]]}} |Offseason}}
+
| class="col2" | {{#if:{{{etf2lhl|}}}|{{#ifeq: {{{etf2lhl}}}|PlayoffsTemp|Playoffs|[[{{{etf2lhl}}}]]}} |Offseason}}
| class="col2" |{{#if:{{{etf2lhl2|}}}|[[{{{etf2lhl2}}}]]}}
+
| class="col2" | {{#if:{{{etf2lhl2|}}}|[[{{{etf2lhl2}}}]]}}
 
|- class="top bold"
 
|- class="top bold"
 
| class="col2" |{{#if:{{{ugc4scomment|}}}|<small>{{{ugc4scomment}}}</small>}}
 
| class="col2" |{{#if:{{{ugc4scomment|}}}|<small>{{{ugc4scomment}}}</small>}}
 
| {{#if:{{{ugc6scomment|}}}|<small>{{{ugc6scomment}}}</small>}}
 
| {{#if:{{{ugc6scomment|}}}|<small>{{{ugc6scomment}}}</small>}}
| colspan="2" class="col2" |{{#if:{{{etf2l6scomment|}}}|<small>{{{etf2l6scomment}}}</small>}}
+
| colspan="2" | {{#if:{{{etf2l6scomment|}}}|<small>{{{etf2l6scomment}}}</small>}}
 
| {{#if:{{{esea6scomment|}}}|<small>{{{esea6scomment}}}</small>}}
 
| {{#if:{{{esea6scomment|}}}|<small>{{{esea6scomment}}}</small>}}
| colspan="2" class="col2" |{{#if:{{{ozf6scomment|}}}|<small>{{{ozf6scomment}}}</small>}}
+
| colspan="2" |{{#if:{{{ozf6scomment|}}}|<small>{{{ozf6scomment}}}</small>}}
| {{#if:{{{ugchlcomment|}}}|<small>{{{ugchlcomment}}}</small>}}
+
| class="col2" | {{#if:{{{ugchlcomment|}}}|<small>{{{ugchlcomment}}}</small>}}
 
| colspan="2" class="col2" | {{#if:{{{etf2lhlcomment|}}}|<small>{{{etf2lhlcomment}}}</small>}}
 
| colspan="2" class="col2" | {{#if:{{{etf2lhlcomment|}}}|<small>{{{etf2lhlcomment}}}</small>}}
 
|}
 
|}

Revision as of 09:31, 6 February 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 UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L
130px 130px 130px 130px 130px 130px 130px
Offseason Offseason Offseason Offseason Offseason Offseason Offseason

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 <!--league field--> 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 leaguenamecomment field (e.g. ozf6scomment=week 7).

Example:

{{Weekmaps
 | ugc4s = Mojave
 | ugc4scomment = Week 9
<!--
 | ugc6s =
 | ugc6scomment =
-->
 | etf2l6s = Snakewater
 | etf2l6s2 = Sunshine
 | etf2l6scomment = Week 7

 | esea6s = Viaduct
 | esea6scomment = Week 1
<!--
 | ozf6s =
 | ozf6s2 =
 | ozf6scomment =

 | ugchl =
 | ugchlcomment =
-->
 | 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 UGC-Icon2.png UGC ETF2L-Icon2.png ETF2L
Mojave.png 130px Snakewater.png Sunshine.png Product.png 130px 130px Steel.png
Mojave Offseason Snakewater Sunshine Viaduct Offseason Offseason Steel
Week 9 Week 7 Week 1 Week 9