Editing Template:Weekmaps
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | {| class="mainpage" | |
|- | |- | ||
− | ! colspan=" | + | ! colspan="2" style="border: 1px solid #1c1c1c" |<span class="controls">[<span class="plainlinks">[{{fullurl:Main_Page|action=edit}} edit]</span>]</span> |
− | | | + | ! colspan="5" style="font-size: 14px; border: 1px solid #1c1c1c;" | '''This Week's League Maps''' |
− | | | + | ! {{#if:{{{etf2lhl2|}}}|colspan="2"|colspan="3"}} style="border: 1px solid #1c1c1c" | |
− | | style=" | + | |- |
− | | class="col2" style=" | + | | colspan="1" style="border: 1px solid #A3B1BF; background-color: #CEE0F2; font-size: 13px;" | '''4v4''' |
− | + | | colspan="6" style="border: 1px solid #A3BFB1; background-color: #CEF2E0; font-size: 13px;" | '''6v6''' | |
− | + | | colspan="3" style="border: 1px solid #BFA3B1; background-color: #F2CEE0; font-size: 13px;" | '''Highlander''' | |
− | + | |- class="maps bold" style="border-top: none;" | |
− | | | + | | class="col2" style="border-left: 1px solid lightgray; border-right: 1px solid lightgray;" |[[File:UGC-Icon.png | 20px | link=UGC]] [[UGC]] |
− | | | + | | style="border-left: 1px solid lightgray;" | [[File:UGC-Icon.png | 20px | link=UGC]] [[UGC]] |
− | + | | class="col2" colspan="2" |[[File:ETF2L-Icon.png | 20px | link=ETF2L]] [[ETF2L]] | |
− | | | + | | [[File:EseaLogo.png | 20px | link=ESEA]] [[ESEA]] |
− | + | | class="col2" colspan="2" style="border-right: 1px solid lightgray;" | [[File:Ozfortress icon.png | 20px | link=Ozfortress]] [[Ozfortress|ozFortress]] | |
− | | | + | | style="border-left: 1px solid lightgray;" | [[File:UGC-Icon.png | 20px | link=UGC]] [[UGC]] |
− | | class="col2" | + | | class="col2" colspan="2" style="border-right: 1px solid lightgray;" |[[File:ETF2L-Icon.png | 20px | link=ETF2L]] [[ETF2L]] |
− | | style=" | + | |- |
− | + | | class="col2" style="border-left: 1px solid lightgray; border-right: 1px solid lightgray;" | [[Image:{{{ugc4s|offseasonTemp}}}.png{{#if:{{ugc4s|}}|{{!}}link={{{ugc4s|}}}|}}|130px]] | |
− | + | | style="border-left: 1px solid lightgray;" | [[Image:{{{ugc6s|offseasonTemp}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|130px]] | |
− | + | | class="col2" | [[Image:{{{etf2l6s|offseasonTemp}}}.png{{#if:{{etf2l6s}}|{{!}}link={{{etf2l6s|}}}|}}|130px]] | |
− | + | | class="col2" | {{#if:{{{etf2l6s2|}}}|[[Image:{{{etf2l6s2|offseasonTemp}}}.png{{#if:{{etf2l6s2}}|{{!}}link={{{etf2l6s2|}}}|}}|130px]]}} | |
− | + | | [[Image:{{{esea6s|offseasonTemp}}}.png{{#if:{{esea6s|}}|{{!}}link={{{esea6s|}}}|}}|130px]] | |
− | + | | class="col2" | [[Image:{{{ozf6s|offseasonTemp}}}.png{{#if:{{ozf6s|}}|{{!}}link={{{ozf6s|}}}|}}|130px]] | |
− | + | | class="col2" style="border-right: 1px solid lightgray;" | {{#if:{{{ozf6s2|}}}|[[Image:{{{ozf6s2|offseasonTemp}}}.png{{#if:{{ozf6s2}}|{{!}}link={{{ozf6s2|}}}|}}|130px]]}} | |
− | + | | style="border-left: 1px solid lightgray;" | [[Image:{{{ugchl|offseasonTemp}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl|}}}|}}|130px]] | |
− | + | | class="col2" | [[Image:{{{etf2lhl|offseasonTemp}}}.png{{#if:{{etf2lhl}}|{{!}}link={{{etf2lhl|}}}|}}|130px]] | |
− | + | | class="col2" style="border-right: 1px solid lightgray;" | {{#if:{{{etf2lhl2|}}}|[[Image:{{{etf2lhl2|offseasonTemp}}}.png{{#if:{{etf2lhl2}}|{{!}}link={{{etf2lhl2|}}}|}}|130px]]}} | |
− | + | |- class="top bold" | |
− | + | | class="col2" style="border-left: 1px solid lightgray; border-right: 1px solid lightgray;" | {{#if:{{{ugc4s|}}}|{{#ifeq: {{{ugc4s}}}|PlayoffsTemp|Playoffs|[[{{{ugc4s}}}]]}}|Offseason}} | |
− | + | | style="border-left: 1px solid lightgray;" | {{#if:{{{ugc6s|}}}|{{#ifeq: {{{ugc6s}}}|PlayoffsTemp|Playoffs|[[{{{ugc6s}}}]]}}|Offseason}} | |
− | + | | class="col2" | {{#if:{{{etf2l6s|}}}|{{#ifeq: {{{etf2l6s}}}|PlayoffsTemp|Playoffs|[[{{{etf2l6s}}}]]}}|Offseason}} | |
− | + | | class="col2" | {{#if:{{{etf2l6s2|}}}|[[{{{etf2l6s2}}}]]}} | |
− | + | | {{#if:{{{esea6s|}}}|{{#ifeq: {{{esea6s}}}|PlayoffsTemp|Playoffs|[[{{{esea6s}}}]]}}|Offseason}} | |
− | + | | class="col2" | {{#if:{{{ozf6s|}}}|{{#ifeq: {{{ozf6s}}}|PlayoffsTemp|Playoffs|[[{{{ozf6s}}}]]}}|Offseason}} | |
+ | | class="col2" style="border-right: 1px solid lightgray;" | {{#if:{{{ozf6s2|}}}|[[{{{ozf6s2}}}]]}} | ||
+ | | style="border-left: 1px solid lightgray;" | {{#if:{{{ugchl|}}}|{{#ifeq: {{{ugchl}}}|PlayoffsTemp|Playoffs|[[{{{ugchl}}}]]}}|Offseason}} | ||
+ | | class="col2" | {{#if:{{{etf2lhl|}}}|{{#ifeq: {{{etf2lhl}}}|PlayoffsTemp|Playoffs|[[{{{etf2lhl}}}]]}} |Offseason}} | ||
+ | | class="col2" style="border-right: 1px solid lightgray;" | {{#if:{{{etf2lhl2|}}}|[[{{{etf2lhl2}}}]]}} | ||
+ | |- class="top bold" | ||
+ | | class="col2" style="border-left: 1px solid lightgray; border-right: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{ugc4scomment|}}}|<small>{{{ugc4scomment}}}</small>}} | ||
+ | | style="border-left: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{ugc6scomment|}}}|<small>{{{ugc6scomment}}}</small>}} | ||
+ | | class="col2" colspan="2" style="border-bottom: 1px solid lightgray;" | {{#if:{{{etf2l6scomment|}}}|<small>{{{etf2l6scomment}}}</small>}} | ||
+ | | style="border-bottom: 1px solid lightgray;" | {{#if:{{{esea6scomment|}}}|<small>{{{esea6scomment}}}</small>}} | ||
+ | | class="col2" colspan="2" style="border-right: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{ozf6scomment|}}}|<small>{{{ozf6scomment}}}</small>}} | ||
+ | | style="border-left: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{ugchlcomment|}}}|<small>{{{ugchlcomment}}}</small>}} | ||
+ | | colspan="2" class="col2" style="border-right: 1px solid lightgray; border-bottom: 1px solid lightgray;" | {{#if:{{{etf2lhlcomment|}}}|<small>{{{etf2lhlcomment}}}</small>}} | ||
|} | |} | ||
− | </ | + | <noinclude> |
+ | == 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 <code><nowiki><!--</nowiki><em>league field</em>--></code> 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 <code><em>leaguename</em>comment</code> field (e.g. <code>ozf6scomment=week 7</code>). | ||
+ | |||
+ | Example: | ||
+ | <pre> | ||
+ | {{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 | ||
+ | }} | ||
+ | </pre> | ||
+ | '''Will yield:''' | ||
+ | |||
+ | {{Weekmaps | ||
+ | | ugc4s = Mojave | ||
+ | | ugc4scomment = Week 9 | ||
+ | <!-- | ||
+ | | ugc6s = | ||
+ | | ugc6scomment = | ||
+ | --> | ||
+ | | etf2l6s = Snakewater | ||
+ | | etf2l6s2 = Sunshine | ||
+ | | etf2l6scomment = Week 7 | ||
+ | |||
+ | | esea6s = PlayoffsTemp | ||
+ | | esea6scomment = | ||
+ | <!-- | ||
+ | | ozf6s = | ||
+ | | ozf6s2 = | ||
+ | | ozf6scomment = | ||
+ | |||
+ | | ugchl = | ||
+ | | ugchlcomment = | ||
+ | --> | ||
+ | | etf2lhl = Steel | ||
+ | | etf2lhl2 = | ||
+ | | etf2lhlcomment = Week 9 | ||
+ | }} | ||
+ | |||
+ | [[Category:Main page templates]] |