Difference between revisions of "Template:Weekmaps"

From comp.tf
Jump to navigation Jump to search
(Adjusting last row to top of cell)
Line 18: Line 18:
 
! style="text-align: center" |[[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s}}}|}}|125px]]
 
! style="text-align: center" |[[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s}}}|}}|125px]]
 
|-
 
|-
! style="text-align: center" |{{#if:{{{cevohl|}}}|[[{{{cevohl}}}]]{{#if:{{{cevohlcomment|}}}|<br><small>{{{cevohlcomment}}}</small>}}|Offseason}}
+
! style="text-align: center; vertical-align: top;" |{{#if:{{{cevohl|}}}|[[{{{cevohl}}}]]{{#if:{{{cevohlcomment|}}}|<br><small>{{{cevohlcomment}}}</small>}}|Offseason}}
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{cevo6s|}}}|[[{{{cevo6s}}}]]{{#if:{{{cevo6scomment|}}}|<br><small>{{{cevo6scomment}}}</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" |{{#if:{{{etf2lhl|}}}|[[{{{etf2lhl}}}]]{{#if:{{{etf2lhlcomment|}}}|<br><small>{{{etf2lhlcomment}}}</small>}}|Offseason}}
+
! style="text-align: center; vertical-align: top;" |{{#if:{{{etf2lhl|}}}|[[{{{etf2lhl}}}]]{{#if:{{{etf2lhlcomment|}}}|<br><small>{{{etf2lhlcomment}}}</small>}}|Offseason}}
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{etf2l6s|}}}|[[{{{etf2l6s}}}]]{{#if:{{{etf2l6scomment|}}}|<br><small>{{{etf2l6scomment}}}</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" |{{#if:{{{esea|}}}|[[{{{esea}}}]]{{#if:{{{eseacomment|}}}|<br><small>{{{eseacomment}}}</small>}}|Offseason}}
+
! style="text-align: center; vertical-align: top;" |{{#if:{{{esea|}}}|[[{{{esea}}}]]{{#if:{{{eseacomment|}}}|<br><small>{{{eseacomment}}}</small>}}|Offseason}}
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{ugchl|}}}|[[{{{ugchl}}}]]{{#if:{{{ugchlcomment|}}}|<br><small>{{{ugchlcomment}}}</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" |{{#if:{{{ugc6s|}}}|[[{{{ugc6s}}}]]{{#if:{{{ugc6scomment|}}}|<br><small>{{{ugc6scomment}}}</small>}}|Offseason}}
+
! style="text-align: center; vertical-align: top;" |{{#if:{{{ugc6s|}}}|[[{{{ugc6s}}}]]{{#if:{{{ugc6scomment|}}}|<br><small>{{{ugc6scomment}}}</small>}}|Offseason}}
 
|}
 
|}
 
<noinclude>
 
<noinclude>

Revision as of 10:56, 30 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).