Difference between revisions of "Template:Weekmaps"

From comp.tf
Jump to navigation Jump to search
(fixed link)
m (update test)
Line 14: Line 14:
 
| class="col2" |[[Image:{{{etf2l6s|offseason}}}.png{{#if:{{etf2l6s}}|{{!}}link={{{etf2l6s|}}}|}}|125px]]
 
| class="col2" |[[Image:{{{etf2l6s|offseason}}}.png{{#if:{{etf2l6s}}|{{!}}link={{{etf2l6s|}}}|}}|125px]]
 
| class="col2" | {{#if:{{{etf2l6s2|}}}|[[Image:{{{etf2l6s2|offseason}}}.png{{#if:{{etf2l6s2}}|{{!}}link={{{etf2l6s2|}}}|}}|125px]]}}
 
| class="col2" | {{#if:{{{etf2l6s2|}}}|[[Image:{{{etf2l6s2|offseason}}}.png{{#if:{{etf2l6s2}}|{{!}}link={{{etf2l6s2|}}}|}}|125px]]}}
| [[Image:{{{esea|offseason}}}.png{{#if:{{esea|}}|{{!}}link={{{esea|}}}|}}|125px]]
+
| [[Image:{{{esea|offseason}}}.png{{#if:{{esea|}}|{{!}}{{#ifeq:{{{esea}}}|Playoffs||link={{{esea|}}}}}|}}|125px]]
 
| class="col2" |[[Image:{{{ugchl|offseason}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl|}}}|}}|125px]]
 
| class="col2" |[[Image:{{{ugchl|offseason}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl|}}}|}}|125px]]
 
| [[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|125px]]
 
| [[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|125px]]

Revision as of 17:43, 30 March 2015

This Week's Match Maps
Ozfortress (6v6) ETF2L (HL) ETF2L (6v6) ESEA (6v6) UGC (HL) UGC (6v6)
Offseason.png Offseason.png Offseason.png Offseason.png Offseason.png Offseason.png
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
 | ozfortress6s = cp_gravelpit
 <!-- | etf2lhl
 | etf2lhl2
 | etf2l6s
 | etf2l6s2 -->
 | esea = cp_granary
 | ugchl = pl_upward
 | ugc6s = cp_snakewater
}}

yields

This Week's Match Maps
Ozfortress (6v6) ETF2L (HL) ETF2L (6v6) ESEA (6v6) UGC (HL) UGC (6v6)
Gravel Pit.jpg Offseason.png Offseason.png Granary.jpg Upward.png Cp snakewater.png
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. ozfortress6scomment).