Difference between revisions of "Template:Weekmaps"

From comp.tf
Jump to navigation Jump to search
(Fixed column widths)
Line 23: Line 23:
 
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{etf2l6s|}}}|[[{{{etf2l6s}}}]]{{#if:{{{etf2l6scomment|}}}|<br><small>{{{etf2l6scomment}}}</small>}}|Offseason}}
 
! style="text-align: center; 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" |{{#if:{{{esea|}}}|[[{{{esea}}}]]{{#if:{{{eseacomment|}}}|<br><small>{{{eseacomment}}}</small>}}|Offseason}}
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{ugchl|}}}{{#if:{{{ugchlcomment|}}}|<br><small>{{{ugchlcomment}}}</small>}}|[[{{{ugchl}}}]]|Offseason}}
+
! style="text-align: center; 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" |{{#if:{{{ugc6s|}}}|[[{{{ugc6s}}}]]{{#if:{{{ugc6scomment|}}}|<br><small>{{{ugc6scomment}}}</small>}}|Offseason}}
 
|}
 
|}

Revision as of 16:59, 29 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).