Difference between revisions of "Template:Weekmaps"

From comp.tf
Jump to navigation Jump to search
m (Gave each sub-header it's own color, removed sub-headers from their own table therefore reverting back to checkered backgrounds, added in-table borders to distinguish between game formats slightly better)
m (Re-aranged colours to be in accordance with Template:Events)
Line 3: Line 3:
 
  ! colspan="10" style="font-size: 14px; border: 1px solid #1c1c1c;" | <span class="controls">[<span class="plainlinks">[{{fullurl:Main_Page|action=edit}} edit]</span>]</span>'''This Week's League Maps'''
 
  ! colspan="10" style="font-size: 14px; border: 1px solid #1c1c1c;" | <span class="controls">[<span class="plainlinks">[{{fullurl:Main_Page|action=edit}} edit]</span>]</span>'''This Week's League Maps'''
 
|-
 
|-
  | colspan="1" style="border: 1px solid lightgray; border-bottom: hidden; background-color: #CEF2E0; font-size: 13px;" | '''4v4'''
+
  | colspan="1" style="border: 1px solid lightgray; border-bottom: hidden; background-color: #CEE0F2; font-size: 13px;" | '''4v4'''
  | colspan="6" style="border: 1px solid lightgray; border-bottom: hidden; background-color: #CEE0F2; font-size: 13px;" | '''6v6'''
+
  | colspan="6" style="border: 1px solid lightgray; border-bottom: hidden; background-color: #CEF2E0; font-size: 13px;" | '''6v6'''
 
  | colspan="3" style="border: 1px solid lightgray; border-bottom: hidden; border-top: 1px solid lightgray; background-color: #F2CEE0; font-size: 13px;" | '''Highlander'''
 
  | colspan="3" style="border: 1px solid lightgray; border-bottom: hidden; border-top: 1px solid lightgray; background-color: #F2CEE0; font-size: 13px;" | '''Highlander'''
 
|- class="maps bold" style="border-top: none;"
 
|- class="maps bold" style="border-top: none;"

Revision as of 05:32, 7 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 = Playoffs
 | esea6scomment = 
<!--
 | 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 130px 130px 130px Steel.png
Mojave Offseason Snakewater Sunshine Playoffs Offseason Offseason Steel
Week 9 Week 7 Week 9