Difference between revisions of "Template:Weekmaps"
Jump to navigation
Jump to search
m (Test, could be temporary adjustment) |
m (Fix) |
||
Line 18: | Line 18: | ||
| class="col2" style="border-left: 1px solid lightgray; border-right: 1px solid lightgray;" | [[Image:{{{ugc4s|offseason}}}.png{{#if:{{ugc4s|}}|{{!}}link={{{ugc4s|}}}|}}|130px]] | | class="col2" style="border-left: 1px solid lightgray; border-right: 1px solid lightgray;" | [[Image:{{{ugc4s|offseason}}}.png{{#if:{{ugc4s|}}|{{!}}link={{{ugc4s|}}}|}}|130px]] | ||
| style="border-left: 1px solid lightgray;" | [[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|130px]] | | style="border-left: 1px solid lightgray;" | [[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|130px]] | ||
− | | class="col2" | [[Image:{{{etf2l6s}}}, {{{etf2l6s2}}}.png{{#if:{{etf2l6s}}|{{!}}link={{#ifexist:{{{etf2lhl}}}|{{{etf2l6s|}}}}}|}}|130px]] | + | | class="col2" | [[Image:{{{etf2l6s}}}{{#if:{{{etf2l6s}}}|, {{{etf2l6s2}}}}}.png{{#if:{{etf2l6s}}|{{!}}link={{#ifexist:{{{etf2lhl}}}|{{{etf2l6s|}}}}}|}}|130px]] |
| [[Image:{{{esea6s|offseason}}}.png{{#if:{{esea6s|}}|{{!}}link={{{esea6s|}}}|}}|130px]] | | [[Image:{{{esea6s|offseason}}}.png{{#if:{{esea6s|}}|{{!}}link={{{esea6s|}}}|}}|130px]] | ||
− | | class="col2" | [[Image:{{{ozf6s}}}, {{{ozf6s2}}}.png{{#if:{{ozf6s|}}|{{!}}link={{#ifexist:{{{etf2lhl}}}|{{{ozf6s|}}}}}|}}|130px]] | + | | class="col2" | [[Image:{{{ozf6s}}}{{#if:{{{etf2l6s}}}|, {{{ozf6s2}}}}}.png{{#if:{{ozf6s|}}|{{!}}link={{#ifexist:{{{etf2lhl}}}|{{{ozf6s|}}}}}|}}|130px]] |
| style="border-left: 1px solid lightgray;" | [[Image:{{{ugchl|offseason}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl|}}}|}}|130px]] | | style="border-left: 1px solid lightgray;" | [[Image:{{{ugchl|offseason}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl|}}}|}}|130px]] | ||
− | | class="col2" style="border-right: 1px solid lightgray;" | [[Image:{{{etf2lhl}}}, {{{etf2lhl2}}}.png{{#if:{{etf2lhl}}|{{!}}link={{#ifexist:{{{etf2lhl}}}|{{{etf2lhl|}}}}}|}}|130px]] | + | | class="col2" style="border-right: 1px solid lightgray;" | [[Image:{{{etf2lhl}}}{{#if:{{{etf2l6s}}}|, {{{etf2lhl2}}}}}.png{{#if:{{etf2lhl}}|{{!}}link={{#ifexist:{{{etf2lhl}}}|{{{etf2lhl|}}}}}|}}|130px]] |
|- class="top bold" | |- class="top bold" | ||
| class="col2" style="border-left: 1px solid lightgray; border-right: 1px solid lightgray;" | {{#if:{{{ugc4s|}}}|{{#ifeq: {{{ugc4s}}}|Playoffs|Playoffs|[[{{{ugc4s}}}]]}}|Offseason}} | | class="col2" style="border-left: 1px solid lightgray; border-right: 1px solid lightgray;" | {{#if:{{{ugc4s|}}}|{{#ifeq: {{{ugc4s}}}|Playoffs|Playoffs|[[{{{ugc4s}}}]]}}|Offseason}} |
Revision as of 06:29, 26 March 2016
[edit] | This Week's League Maps | |||||||
---|---|---|---|---|---|---|---|---|
4v4 | 6v6 | Highlander | ||||||
UGC | UGC | ETF2L | ESEA | ozfortress | UGC | ETF2L | ||
[[Image:{{{etf2l6s}}}, {{{etf2l6s2}}}.png|link=|130px]] | [[Image:{{{ozf6s}}}, {{{ozf6s2}}}.png|link=|130px]] | [[Image:{{{etf2lhl}}}, {{{etf2lhl2}}}.png|link=|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
leaguenamecomment
field (e.g.ozf6scomment=week 7
).
Example:
{{Weekmaps | ugc4s = Mojave | ugc4scomment = Week 9 <!-- | ugc6s = | ugc6scomment = --> | etf2l6s = Snakewater | etf2l6s2 = Sunshine | etf2l6scomment = Week 7 | esea6s = Playoffs | esea6scomment = <!-- | ozf6s = | ozf6s2 = | ozf6scomment = | ugchl = | ugchlcomment = --> | etf2lhl = Steel | etf2lhl2 = | etf2lhlcomment = Week 9 }}
Will yield:
[edit] | This Week's League Maps | |||||||
---|---|---|---|---|---|---|---|---|
4v4 | 6v6 | Highlander | ||||||
UGC | UGC | ETF2L | ESEA | ozfortress | UGC | ETF2L | ||
[[Image:{{{ozf6s}}}, {{{ozf6s2}}}.png|link=|130px]] | 130px | |||||||
Mojave | Offseason | Snakewater, Sunshine | Playoffs | Offseason | Offseason | Steel | ||
Week 9 | Week 7 | Week 9 |