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

From comp.tf
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
! style="text-align: center" |[[UGC]] (6v6)
 
! style="text-align: center" |[[UGC]] (6v6)
 
|-
 
|-
! style="text-align: center" |[[Image:{{{cevohl|offseason}}}.png|link={{{cevohl|}}}|125px]]
+
! style="text-align: center" |[[Image:{{{cevohl|offseason}}}.png{{#if:{{cevohl|}}|{{!}}link={{{cevohl}}}|}}|125px]]
! style="text-align: center; background: #fdfdfd;" |[[Image:{{{cevo6s|offseason}}}.png|link={{{cevo6s|}}}|125px]]
+
! style="text-align: center; background: #fdfdfd;" |[[Image:{{{cevo6s|offseason}}}.png{{#if:{{cevo6s|}}|{{!}}link={{{cevo6s}}}|}}|125px]]
! style="text-align: center" |[[Image:{{{etf2lhl|offseason}}}.png|link={{{etf2lhl|}}}|125px]]
+
! style="text-align: center" |[[Image:{{{etf2lhl|offseason}}}.png{{#if:{{etf2lhl|}}|{{!}}link={{{etf2lhl}}}|}}|125px]]
! style="text-align: center; background: #fdfdfd;" |[[Image:{{{etf2l6s|offseason}}}.png|link={{{etf2lhl|}}}|125px]]
+
! style="text-align: center; background: #fdfdfd;" |[[Image:{{{etf2l6s|offseason}}}.png{{#if:{{etf2l6s}}|{{!}}link={{{etf2l6s}}}|}}|125px]]
! style="text-align: center" |[[Image:{{{esea|offseason}}}.png|link={{{esea}}}|125px]]
+
! style="text-align: center" |[[Image:{{{esea|offseason}}}.png{{#if:{{esea|}}|{{!}}link={{{esea}}}|}}|125px]]
! style="text-align: center; background: #fdfdfd;" |[[Image:{{{ugchl|offseason}}}.png|link={{{ugchl}}}|125px]]
+
! style="text-align: center; background: #fdfdfd;" |[[Image:{{{ugchl|offseason}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl}}}|}}|125px]]
! style="text-align: center" |[[Image:{{{ugc6s|offseason}}}.png|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}}}|O[[{{{etf2lhl}}}]]|Offseason}}
+
! style="text-align: center" |{{#if:{{{etf2lhl|}}}|[[{{{etf2lhl}}}]]|Offseason}}
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{etf2l6s}}}|Offseason|[[{{{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>
 
== Usage ==
 
== Usage ==
The template displays the current maps in each division, or "offseason" marks if the league field is absent or null.
+
The template displays the current maps in each division, or "offseason" marks if the league field is absent.
  
 
Example:
 
Example:
Line 35: Line 35:
 
  | cevohl = cp_steel
 
  | cevohl = cp_steel
 
  | cevo6s = cp_gravelpit
 
  | cevo6s = cp_gravelpit
  | etf2lhl =
+
  <!-- | etf2lhl
  | etf2l6s =
+
  | etf2l6s -->
 
  | esea = cp_granary
 
  | esea = cp_granary
 
  | ugchl = pl_upward
 
  | ugchl = pl_upward
Line 47: Line 47:
 
  | cevohl = cp_steel
 
  | cevohl = cp_steel
 
  | cevo6s = cp_gravelpit
 
  | cevo6s = cp_gravelpit
  | etf2lhl =
+
  <!-- | etf2lhl
  | etf2l6s =
+
  | etf2l6s -->
 
  | esea = cp_granary
 
  | esea = cp_granary
 
  | ugchl = pl_upward
 
  | ugchl = pl_upward
 
  | ugc6s = cp_snakewater
 
  | ugc6s = cp_snakewater
 
}}
 
}}

Latest revision as of 13:56, 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[edit]

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

Example:

{{Template: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