Difference between revisions of "User:Atlas/Template:Match maps"

From comp.tf
Jump to navigation Jump to search
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}}}]]|Offseason}}
+
! style="text-align: center" |{{#if:{{{cevohl|}}}|[[{{{cevohl}}}]]|Offseason}}
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{cevo6s}}}|[[{{{cevo6s}}}]]|Offseason}}
+
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{cevo6s|}}}|[[{{{cevo6s}}}]]|Offseason}}
! style="text-align: center" |{{#if:{{{etf2lhl}}}|[[{{{etf2lhl}}}]]|Offseason}}
+
! style="text-align: center" |{{#if:{{{etf2lhl|}}}|[[{{{etf2lhl}}}]]|Offseason}}
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{etf2l6s}}}|[[{{{etf2l6s}}}]]|Offseason}}
+
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{etf2l6s|}}}|[[{{{etf2l6s}}}]]|Offseason}}
! style="text-align: center" |{{#if:{{{esea}}}|[[{{{esea}}}]]|Offseason}}
+
! style="text-align: center" |{{#if:{{{esea|}}}|[[{{{esea}}}]]|Offseason}}
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{ugchl}}}|[[{{{ugchl}}}]]|Offseason}}
+
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{ugchl|}}}|[[{{{ugchl}}}]]|Offseason}}
! style="text-align: center" |{{#if:{{{ugc6s}}}|[[{{{ugc6s}}}]]|Offseason}}
+
! style="text-align: center" |{{#if:{{{ugc6s|}}}|[[{{{ugc6s}}}]]|Offseason}}
 
|}
 
|}
 
<noinclude>
 
<noinclude>
Line 35: Line 35:
 
  | cevohl = cp_steel
 
  | cevohl = cp_steel
 
  | cevo6s = cp_gravelpit
 
  | cevo6s = cp_gravelpit
| etf2lhl =
 
| etf2l6s =
 
 
  | esea = cp_granary
 
  | esea = cp_granary
 
  | ugchl = pl_upward
 
  | ugchl = pl_upward
Line 47: Line 45:
 
  | cevohl = cp_steel
 
  | cevohl = cp_steel
 
  | cevo6s = cp_gravelpit
 
  | cevo6s = cp_gravelpit
| etf2lhl =
 
| etf2l6s =
 
 
  | esea = cp_granary
 
  | esea = cp_granary
 
  | ugchl = pl_upward
 
  | ugchl = pl_upward
 
  | ugc6s = cp_snakewater
 
  | ugc6s = cp_snakewater
 
}}
 
}}

Revision as of 13:54, 5 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 or null.

Example:

{{Template:Match maps
 | cevohl = cp_steel
 | cevo6s = cp_gravelpit
 | 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