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

From comp.tf
Jump to navigation Jump to search
Scrapbook template, waiting for implementation
 
No edit summary
Line 18: Line 18:
! style="text-align: center" |[[Image:{{{ugc6s|offseason}}}.png|link={{{ugc6s}}}|125px]]
! style="text-align: center" |[[Image:{{{ugc6s|offseason}}}.png|link={{{ugc6s}}}|125px]]
|-
|-
! style="text-align: center" |{{#if:{{{cevohl}}}|Offseason|[[{{{cevohl}}}]]}}
! style="text-align: center" |{{#if:{{{cevohl}}}|[[{{{cevohl}}}]]|Offseason}}
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{cevo6s}}}|Offseason|[[{{{cevo6s}}}]]}}
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{cevo6s}}}|[[{{{cevo6s}}}]]|Offseason}}
! style="text-align: center" |{{#if:{{{etf2lhl}}}|Offseason|[[{{{etf2lhl}}}]]}}
! style="text-align: center" |{{#if:{{{etf2lhl}}}|O[[{{{etf2lhl}}}]]|Offseason}}
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{etf2l6s}}}|Offseason|[[{{{etf2l6s}}}]]}}
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{etf2l6s}}}|Offseason|[[{{{etf2l6s}}}]]|Offseason}}
! style="text-align: center" |{{#if:{{{esea}}}|Offseason|[[{{{esea}}}]]}}
! style="text-align: center" |{{#if:{{{esea}}}|[[{{{esea}}}]]|Offseason}}
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{ugchl}}}|Offseason|[[{{{ugchl}}}]]}}
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{ugchl}}}|[[{{{ugchl}}}]]|Offseason}}
! style="text-align: center" |{{#if:{{{ugc6s}}}|Offseason|[[{{{ugc6s}}}]]}}
! style="text-align: center" |{{#if:{{{ugc6s}}}|[[{{{ugc6s}}}]]|Offseason}}
|}
|}
<noinclude>
<noinclude>

Revision as of 13:45, 5 July 2013

This Week's Match Maps
CEVO (HL) CEVO (6v6) ETF2L (HL) ETF2L (6v6) ESEA (6v6) UGC (HL) UGC (6v6)
link={{{esea}}} link={{{ugchl}}} link={{{ugc6s}}}
[[{{{cevohl}}}]] [[{{{cevo6s}}}]] O[[{{{etf2lhl}}}]] Offseason [[{{{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)
File:.png File:.png
cp_steel cp_gravelpit Offseason [[]] cp_granary pl_upward cp_snakewater