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

From comp.tf
Jump to navigation Jump to search
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}}

Revision as of 13:51, 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}}}
[[{{{cevohl}}}]] [[{{{cevo6s}}}]] [[{{{etf2lhl}}}]] [[{{{etf2l6s}}}]] [[{{{esea}}}]] [[{{{ugchl}}}]] [[{{{ugc6s}}}]]

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
 | 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 125px 125px Granary.jpg Upward.png Cp snakewater.png
cp_steel cp_gravelpit Offseason Offseason cp_granary pl_upward cp_snakewater