Template:Weekmaps: Difference between revisions

From comp.tf
Jump to navigation Jump to search
Kaneco (talk | contribs)
No edit summary
Implementing template from User:Atlas/Template:Match_maps
Line 1: Line 1:
{| style="width: 100%; margin-bottom: 5px; border=0"  
{| style="width: 100%; margin-bottom: 0px; border: 1px solid #ccc; background: #f9f9f9; border-collapse: collapse;"
! style="font-size:85%;text-align: center;background-color:#333333;" colspan="7" |'''<span style="color:#FFFFFF;">This Week's Match Maps</span> '''
! style="font-size:85%;text-align: center;background-color:#333333;" colspan="7" |'''<span style="color:#FFFFFF;">This Week's Match Maps</span> '''
|-
|-
! style="text-align: center" |[[{{{league1}}}]] ({{{l1format}}})
! style="text-align: center" |[[CEVO]] (HL)
! style="text-align: center" |[[{{{league2}}}]] ({{{l2format}}})
! style="text-align: center; background: #fdfdfd;" |[[CEVO]] (6v6)
! style="text-align: center" |[[{{{league3}}}]] ({{{l3format}}})
! style="text-align: center" |[[ETF2L]] (HL)
! style="text-align: center" |[[{{{league4}}}]] ({{{l4format}}})
! style="text-align: center; background: #fdfdfd;" |[[ETF2L]] (6v6)
! style="text-align: center" |[[{{{league5}}}]] ({{{l5format}}})
! style="text-align: center" |[[ESEA]] (6v6)
! style="text-align: center" |[[{{{league6}}}]] ({{{l6format}}})
! style="text-align: center; background: #fdfdfd;" |[[UGC]] (HL)
! style="text-align: center" |[[{{{league7}}}]] ({{{l7format}}})
! style="text-align: center" |[[UGC]] (6v6)
|-
|-
! style="text-align: center" |[[Image:{{{map1}}}.png|link={{{map1}}}|125px]]
! style="text-align: center" |[[Image:{{{cevohl|offseason}}}.png{{#if:{{cevohl|}}|{{!}}link={{{cevohl}}}|}}|125px]]
! style="text-align: center" |[[Image:{{{map2}}}.png|link={{{map2}}}|125px]]
! style="text-align: center; background: #fdfdfd;" |[[Image:{{{cevo6s|offseason}}}.png{{#if:{{cevo6s|}}|{{!}}link={{{cevo6s}}}|}}|125px]]
! style="text-align: center" |[[Image:{{{map3}}}.png|link={{{map3}}}|125px]]
! style="text-align: center" |[[Image:{{{etf2lhl|offseason}}}.png{{#if:{{etf2lhl|}}|{{!}}link={{{etf2lhl}}}|}}|125px]]
! style="text-align: center" |[[Image:{{{map4}}}.png|link={{{map4}}}|125px]]
! style="text-align: center; background: #fdfdfd;" |[[Image:{{{etf2l6s|offseason}}}.png{{#if:{{etf2l6s}}|{{!}}link={{{etf2l6s}}}|}}|125px]]
! style="text-align: center" |[[Image:{{{map5}}}.png|link={{{map5}}}|125px]]
! style="text-align: center" |[[Image:{{{esea|offseason}}}.png{{#if:{{esea|}}|{{!}}link={{{esea}}}|}}|125px]]
! style="text-align: center" |[[Image:{{{map6}}}.png|link={{{map6}}}|125px]]
! style="text-align: center; background: #fdfdfd;" |[[Image:{{{ugchl|offseason}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl}}}|}}|125px]]
! style="text-align: center" |[[Image:{{{map7}}}.png|link={{{map7}}}|125px]]
! style="text-align: center" |[[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s}}}|}}|125px]]
|-
|-
! style="text-align: center" |[[{{{map1}}}]]
! style="text-align: center" |{{#if:{{{cevohl|}}}|[[{{{cevohl}}}]]|Offseason}}
! style="text-align: center" |[[{{{map2}}}]]
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{cevo6s|}}}|[[{{{cevo6s}}}]]|Offseason}}
! style="text-align: center" |[[{{{map3}}}]]
! style="text-align: center" |{{#if:{{{etf2lhl|}}}|[[{{{etf2lhl}}}]]|Offseason}}
! style="text-align: center" |[[{{{map4}}}]]
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{etf2l6s|}}}|[[{{{etf2l6s}}}]]|Offseason}}
! style="text-align: center" |[[{{{map5}}}]]
! style="text-align: center" |{{#if:{{{esea|}}}|[[{{{esea}}}]]|Offseason}}
! style="text-align: center" |[[{{{map6}}}]]
! style="text-align: center; background: #fdfdfd;" |{{#if:{{{ugchl|}}}|[[{{{ugchl}}}]]|Offseason}}
! style="text-align: center" |[[{{{map7}}}]]
! 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.


*Just copy this code below to the page and edit the values after the "=" signal
Example:
**'''Important:''' For offseason just type offseason in the respective map value
<pre>
** Please type the full map name with no version (ex: koth_viaduct_pro not koth_viaduct_pro_v5, cp_process not cp_process_b3)
{{Match maps
| cevohl = cp_steel
| cevo6s = cp_gravelpit
<!-- | etf2lhl
| etf2l6s -->
| esea = cp_granary
| ugchl = pl_upward
| ugc6s = cp_snakewater
}}
</pre>
yields


<pre>
{{Match maps
{{Weeekmaps
| cevohl = cp_steel
| league1 = ESEA
| cevo6s = cp_gravelpit
| l1format = HL
<!-- | etf2lhl
| map1 = cp_granary
| etf2l6s -->
| league2 = ESEA
| esea = cp_granary
| l2format = HL
| ugchl = pl_upward
| map2 = cp_granary
| ugc6s = cp_snakewater
| league3 = ESEA
| l3format = HL
| map3 = cp_granary
| league4 = ESEA
| l4format = HL
| map4 = cp_granary
| league5 = ESEA
| l5format = HL
| map5 = cp_granary
| league6 = ESEA
| l6format = HL
| map6 = cp_granary
| league7 = ESEA
| l7format = HL
| map7 = cp_granary
}}
}}

Revision as of 17:54, 28 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.

Example:

{{Match maps
 | cevohl = cp_steel
 | cevo6s = cp_gravelpit
 <!-- | etf2lhl
 | etf2l6s -->
 | esea = cp_granary
 | ugchl = pl_upward
 | ugc6s = cp_snakewater
}}

yields

Template:Match maps