Difference between revisions of "Template:Weekmaps"

From comp.tf
Jump to navigation Jump to search
(Adjusting last row to top of cell)
(Applying styles)
Line 1: Line 1:
{| style="width: 100%; margin-bottom: 0px; border: 1px solid #ccc; background: #f9f9f9; border-collapse: collapse;"
+
{| class="mainpage"
! style="font-size:85%;text-align: center;background-color:#1c1c1c;" colspan="7" |'''<span style="color:#FFFFFF;">This Week's Match Maps</span> '''
+
! colspan="7" |'''This Week's Match Maps'''
 +
|- class="maps bold"
 +
| [[CEVO]] (HL)
 +
| class="col2" |[[CEVO]] (6v6)
 +
| [[ETF2L]] (HL)
 +
| class="col2" |[[ETF2L]] (6v6)
 +
| [[ESEA]] (6v6)
 +
| class="col2" |[[UGC]] (HL)
 +
|[[UGC]] (6v6)
 
|-
 
|-
! style="text-align: center; width: 14.2%;" |[[CEVO]] (HL)
+
| [[Image:{{{cevohl|offseason}}}.png{{#if:{{cevohl|}}|{{!}}link={{{cevohl}}}|}}|125px]]
! style="text-align: center; width: 14.2%; background: #fdfdfd;" |[[CEVO]] (6v6)
+
| class="col2" |[[Image:{{{cevo6s|offseason}}}.png{{#if:{{cevo6s|}}|{{!}}link={{{cevo6s}}}|}}|125px]]
! style="text-align: center" width: 14.2%; |[[ETF2L]] (HL)
+
| [[Image:{{{etf2lhl|offseason}}}.png{{#if:{{etf2lhl|}}|{{!}}link={{{etf2lhl}}}|}}|125px]]
! style="text-align: center; width: 14.2%; background: #fdfdfd;" |[[ETF2L]] (6v6)
+
| class="col2" |[[Image:{{{etf2l6s|offseason}}}.png{{#if:{{etf2l6s}}|{{!}}link={{{etf2l6s}}}|}}|125px]]
! style="text-align: center" width: 14.2%; |[[ESEA]] (6v6)
+
| [[Image:{{{esea|offseason}}}.png{{#if:{{esea|}}|{{!}}link={{{esea}}}|}}|125px]]
! style="text-align: center; width: 14.2%; background: #fdfdfd;" |[[UGC]] (HL)
+
| class="col2" |[[Image:{{{ugchl|offseason}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl}}}|}}|125px]]
! style="text-align: center" width: 14.2%; |[[UGC]] (6v6)
+
| [[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s}}}|}}|125px]]
|-
+
|- class="top bold"
! style="text-align: center" |[[Image:{{{cevohl|offseason}}}.png{{#if:{{cevohl|}}|{{!}}link={{{cevohl}}}|}}|125px]]
+
| {{#if:{{{cevohl|}}}|[[{{{cevohl}}}]]{{#if:{{{cevohlcomment|}}}|<br><small>{{{cevohlcomment}}}</small>}}|Offseason}}
! style="text-align: center; background: #fdfdfd;" |[[Image:{{{cevo6s|offseason}}}.png{{#if:{{cevo6s|}}|{{!}}link={{{cevo6s}}}|}}|125px]]
+
| class="col2" |{{#if:{{{cevo6s|}}}|[[{{{cevo6s}}}]]{{#if:{{{cevo6scomment|}}}|<br><small>{{{cevo6scomment}}}</small>}}|Offseason}}
! style="text-align: center" |[[Image:{{{etf2lhl|offseason}}}.png{{#if:{{etf2lhl|}}|{{!}}link={{{etf2lhl}}}|}}|125px]]
+
| {{#if:{{{etf2lhl|}}}|[[{{{etf2lhl}}}]]{{#if:{{{etf2lhlcomment|}}}|<br><small>{{{etf2lhlcomment}}}</small>}}|Offseason}}
! style="text-align: center; background: #fdfdfd;" |[[Image:{{{etf2l6s|offseason}}}.png{{#if:{{etf2l6s}}|{{!}}link={{{etf2l6s}}}|}}|125px]]
+
| class="col2" |{{#if:{{{etf2l6s|}}}|[[{{{etf2l6s}}}]]{{#if:{{{etf2l6scomment|}}}|<br><small>{{{etf2l6scomment}}}</small>}}|Offseason}}
! style="text-align: center" |[[Image:{{{esea|offseason}}}.png{{#if:{{esea|}}|{{!}}link={{{esea}}}|}}|125px]]
+
| {{#if:{{{esea|}}}|[[{{{esea}}}]]{{#if:{{{eseacomment|}}}|<br><small>{{{eseacomment}}}</small>}}|Offseason}}
! style="text-align: center; background: #fdfdfd;" |[[Image:{{{ugchl|offseason}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl}}}|}}|125px]]
+
| class="col2" |{{#if:{{{ugchl|}}}|[[{{{ugchl}}}]]{{#if:{{{ugchlcomment|}}}|<br><small>{{{ugchlcomment}}}</small>}}|Offseason}}
! style="text-align: center" |[[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s}}}|}}|125px]]
+
| {{#if:{{{ugc6s|}}}|[[{{{ugc6s}}}]]{{#if:{{{ugc6scomment|}}}|<br><small>{{{ugc6scomment}}}</small>}}|Offseason}}
|-
 
! style="text-align: center; vertical-align: top;" |{{#if:{{{cevohl|}}}|[[{{{cevohl}}}]]{{#if:{{{cevohlcomment|}}}|<br><small>{{{cevohlcomment}}}</small>}}|Offseason}}
 
! style="text-align: center; vertical-align: top; background: #fdfdfd;" |{{#if:{{{cevo6s|}}}|[[{{{cevo6s}}}]]{{#if:{{{cevo6scomment|}}}|<br><small>{{{cevo6scomment}}}</small>}}|Offseason}}
 
! style="text-align: center; vertical-align: top;" |{{#if:{{{etf2lhl|}}}|[[{{{etf2lhl}}}]]{{#if:{{{etf2lhlcomment|}}}|<br><small>{{{etf2lhlcomment}}}</small>}}|Offseason}}
 
! style="text-align: center; vertical-align: top; background: #fdfdfd;" |{{#if:{{{etf2l6s|}}}|[[{{{etf2l6s}}}]]{{#if:{{{etf2l6scomment|}}}|<br><small>{{{etf2l6scomment}}}</small>}}|Offseason}}
 
! style="text-align: center; vertical-align: top;" |{{#if:{{{esea|}}}|[[{{{esea}}}]]{{#if:{{{eseacomment|}}}|<br><small>{{{eseacomment}}}</small>}}|Offseason}}
 
! style="text-align: center; vertical-align: top; background: #fdfdfd;" |{{#if:{{{ugchl|}}}|[[{{{ugchl}}}]]{{#if:{{{ugchlcomment|}}}|<br><small>{{{ugchlcomment}}}</small>}}|Offseason}}
 
! style="text-align: center; vertical-align: top;" |{{#if:{{{ugc6s|}}}|[[{{{ugc6s}}}]]{{#if:{{{ugc6scomment|}}}|<br><small>{{{ugc6scomment}}}</small>}}|Offseason}}
 
 
|}
 
|}
 
<noinclude>
 
<noinclude>

Revision as of 08:58, 31 July 2013

This Week's Match Maps
CEVO (HL) CEVO (6v6) ETF2L (HL) ETF2L (6v6) ESEA (6v6) UGC (HL) UGC (6v6)
link={{{cevohl}}} link={{{cevo6s}}} link={{{etf2lhl}}} link={{{etf2l6s}}} link={{{esea}}} link={{{ugchl}}} link={{{ugc6s}}}
Offseason Offseason Offseason Offseason Offseason Offseason Offseason

Usage

The template displays the current maps in each division, or "offseason" marks if the league field is absent.

Example:

{{Match maps
 | cevohl = cp_steel
 | cevo6s = cp_gravelpit
 <!-- | etf2lhl
 | etf2l6s -->
 | esea = cp_granary
 | ugchl = pl_upward
 | ugc6s = cp_snakewater
}}

yields

This Week's Match Maps
CEVO (HL) CEVO (6v6) ETF2L (HL) ETF2L (6v6) ESEA (6v6) UGC (HL) UGC (6v6)
Steel.png Gravel Pit.jpg link={{{etf2lhl}}} link={{{etf2l6s}}} Granary.jpg Upward.png Cp snakewater.png
cp_steel cp_gravelpit Offseason Offseason cp_granary pl_upward cp_snakewater


You can also add comments under the map names, using the leaguefieldnamecomment field (e.g. cevo6scomment).