Difference between revisions of "Template:Weekmaps"
Jump to navigation
Jump to search
m (Fixed ETF2L Comment background-color) |
m |
||
| Line 25: | Line 25: | ||
| class="col2" | {{#if:{{{etf2lhl2|}}}|[[Image:{{{etf2lhl2|offseasonTemp}}}.png{{#if:{{etf2lhl2}}|{{!}}link={{{etf2lhl2|}}}|}}|130px]]}} | | class="col2" | {{#if:{{{etf2lhl2|}}}|[[Image:{{{etf2lhl2|offseasonTemp}}}.png{{#if:{{etf2lhl2}}|{{!}}link={{{etf2lhl2|}}}|}}|130px]]}} | ||
|- class="top bold" | |- class="top bold" | ||
| − | | class="col2" |{{#if:{{{ugc4s|}}}|{{#ifeq: {{{ugc4s}}}| | + | | class="col2" |{{#if:{{{ugc4s|}}}|{{#ifeq: {{{ugc4s}}}|PlayoffsTemp|Playoffs|[[{{{ugc4s}}}]]}}|Offseason}} |
| − | | {{#if:{{{ugc6s|}}}|{{#ifeq: {{{ugc6s}}}| | + | | {{#if:{{{ugc6s|}}}|{{#ifeq: {{{ugc6s}}}|PlayoffsTemp|Playoffs|[[{{{ugc6s}}}]]}}|Offseason}} |
| − | | class="col2" |{{#if:{{{etf2l6s|}}}|{{#ifeq: {{{etf2l6s}}}| | + | | class="col2" |{{#if:{{{etf2l6s|}}}|{{#ifeq: {{{etf2l6s}}}|PlayoffsTemp|Playoffs|[[{{{etf2l6s}}}]]}}|Offseason}} |
| class="col2" |{{#if:{{{etf2l6s2|}}}|[[{{{etf2l6s2}}}]]}} | | class="col2" |{{#if:{{{etf2l6s2|}}}|[[{{{etf2l6s2}}}]]}} | ||
| − | | {{#if:{{{esea6s|}}}|{{#ifeq: {{{esea6s}}}| | + | | {{#if:{{{esea6s|}}}|{{#ifeq: {{{esea6s}}}|PlayoffsTemp|Playoffs|[[{{{esea6s}}}]]}}|Offseason}} |
| − | | class="col2" |{{#if:{{{ozf6s|}}}|{{#ifeq: {{{ozf6s}}}| | + | | class="col2" |{{#if:{{{ozf6s|}}}|{{#ifeq: {{{ozf6s}}}|PlayoffsTemp|Playoffs|[[{{{ozf6s}}}]]}}|Offseason}} |
| class="col2" |{{#if:{{{ozf6s2|}}}|[[{{{ozf6s2}}}]]}} | | class="col2" |{{#if:{{{ozf6s2|}}}|[[{{{ozf6s2}}}]]}} | ||
| − | | {{#if:{{{ugchl|}}}|{{#ifeq: {{{ugchl}}}| | + | | {{#if:{{{ugchl|}}}|{{#ifeq: {{{ugchl}}}|PlayoffsTemp|Playoffs|[[{{{ugchl}}}]]}}|Offseason}} |
| − | | class="col2" |{{#if:{{{etf2lhl|}}}|{{#ifeq: {{{etf2lhl}}}| | + | | class="col2" |{{#if:{{{etf2lhl|}}}|{{#ifeq: {{{etf2lhl}}}|PlayoffsTemp|Playoffs|[[{{{etf2lhl}}}]]}} |Offseason}} |
| class="col2" |{{#if:{{{etf2lhl2|}}}|[[{{{etf2lhl2}}}]]}} | | class="col2" |{{#if:{{{etf2lhl2|}}}|[[{{{etf2lhl2}}}]]}} | ||
|- class="top bold" | |- class="top bold" | ||
Revision as of 21:59, 5 February 2016
| 4v4 | 6v6 | Highlander | |||||||
|---|---|---|---|---|---|---|---|---|---|
| 130px | 130px | 130px | 130px | 130px | 130px | 130px | |||
| Offseason | Offseason | Offseason | Offseason | Offseason | Offseason | Offseason | |||
Usage
- The template displays the current maps in each league automatically linked to the maps page
- If the league field is absent, Offseason will be displayed by default, but to display leagues in offseason it's better to simply comment out the leagues you want with the
<!--league field-->tags - If the league is in Playoffs time don't fill the comment fields, simply put Playoffs in the competition field
- You can also add comments under the map names, using the
leaguenamecommentfield (e.g.ozf6scomment=week 7).
Example:
{{Weekmaps
| ugc4s = Mojave
| ugc4scomment = Week 9
<!--
| ugc6s =
| ugc6scomment =
-->
| etf2l6s = Snakewater
| etf2l6s2 = Sunshine
| etf2l6scomment = Week 7
| esea6s = Viaduct
| esea6scomment = Week 1
<!--
| ozf6s =
| ozf6s2 =
| ozf6scomment =
| ugchl =
| ugchlcomment =
-->
| etf2lhl = Steel
| etf2lhl2 =
| etf2lhlcomment = Week 9
}}
Will yield:
| 4v4 | 6v6 | Highlander | |||||||
|---|---|---|---|---|---|---|---|---|---|
| 130px | 130px | 130px | |||||||
| Mojave | Offseason | Snakewater | Sunshine | Viaduct | Offseason | Offseason | Steel | ||
| Week 9 | Week 7 | Week 1 | Week 9 | ||||||