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="8" | This Week's Match Maps | ||
+ | |- class="maps bold" | ||
+ | | class="col2" |[[Ozfortress]] (6v6) | ||
+ | | colspan="2" | [[ETF2L]] (HL) | ||
+ | | colspan="2" class="col2" |[[ETF2L]] (6v6) | ||
+ | | [[ESEA]] (6v6) | ||
+ | | class="col2" |[[UGC]] (HL) | ||
+ | | [[UGC]] (6v6) | ||
|- | |- | ||
− | + | | class="col2" |[[Image:{{{ozfortress6s|offseason}}}.png{{#if:{{ozfortress6s|}}|{{!}}link={{{ozfortress6s|}}}|}}|125px]] | |
− | | | + | | [[Image:{{{etf2lhl|offseason}}}.png{{#if:{{etf2lhl}}|{{!}}link={{{etf2lhl|}}}|}}|125px]] |
− | + | | {{#if:{{{etf2lhl2|}}}|[[Image:{{{etf2lhl2|offseason}}}.png{{#if:{{etf2lhl2}}|{{!}}link={{{etf2lhl2|}}}|}}|125px]]}} | |
− | + | | class="col2" |[[Image:{{{etf2l6s|offseason}}}.png{{#if:{{etf2l6s}}|{{!}}link={{{etf2l6s|}}}|}}|125px]] | |
− | + | | class="col2" | {{#if:{{{etf2l6s2|}}}|[[Image:{{{etf2l6s2|offseason}}}.png{{#if:{{etf2l6s2}}|{{!}}link={{{etf2l6s2|}}}|}}|125px]]}} | |
− | + | | [[Image:{{{esea|offseason}}}.png{{#if:{{esea|}}|{{!}}link={{{esea|}}}|}}|125px]] | |
− | + | | class="col2" |[[Image:{{{ugchl|offseason}}}.png{{#if:{{ugchl|}}|{{!}}link={{{ugchl|}}}|}}|125px]] | |
− | + | | [[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|125px]] | |
− | + | |- class="top bold" | |
− | | | + | | class="col2" |{{#if:{{{ozfortress6s|}}}|{{#ifeq: {{{ozfortress6s}}}|Playoffs|Playoffs|[[{{{ozfortress6s}}}]]}}|Offseason}} |
− | + | | {{#if:{{{etf2lhl|}}}|{{#ifeq: {{{etf2lhl}}}|Playoffs|Playoffs|[[{{{etf2lhl}}}]]}} |Offseason}} | |
− | + | | {{#if:{{{etf2lhl2|}}}|[[{{{etf2lhl2}}}]]}} | |
− | + | | class="col2" |{{#if:{{{etf2l6s|}}}|{{#ifeq: {{{etf2l6s}}}|Playoffs|Playoffs|[[{{{etf2l6s}}}]]}}|Offseason}} | |
− | + | | class="col2" |{{#if:{{{etf2l6s2|}}}|[[{{{etf2l6s2}}}]]}} | |
− | + | | {{#if:{{{esea|}}}|{{#ifeq: {{{esea}}}|Playoffs|Playoffs|[[{{{esea}}}]]}}|Offseason}} | |
− | + | | class="col2" |{{#if:{{{ugchl|}}}|{{#ifeq: {{{ugchl}}}|Playoffs|Playoffs|[[{{{ugchl}}}]]}}|Offseason}} | |
− | + | | {{#if:{{{ugc6s|}}}|{{#ifeq: {{{ugc6s}}}|Playoffs|Playoffs|[[{{{ugc6s}}}]]}}|Offseason}} | |
− | + | |- class="top bold" | |
− | + | | class="col2" |{{#if:{{{ozfortress6scomment|}}}|<small>{{{ozfortress6scomment}}}</small>}} | |
− | + | | colspan="2" | {{#if:{{{etf2lhlcomment|}}}|<small>{{{etf2lhlcomment}}}</small>}} | |
− | + | | colspan="2" class="col2" |{{#if:{{{etf2l6scomment|}}}|<small>{{{etf2l6scomment}}}</small>}} | |
− | + | | {{#if:{{{eseacomment|}}}|<small>{{{eseacomment}}}</small>}} | |
− | + | | class="col2" |{{#if:{{{ugchlcomment|}}}|<small>{{{ugchlcomment}}}</small>}} | |
− | + | | {{#if:{{{ugc6scomment|}}}|<small>{{{ugc6scomment}}}</small>}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | </ | + | <noinclude> |
+ | == Usage == | ||
+ | * The template displays the current maps in each league automatically linked to the maps page, or displays '''Offseason''' if the league field is absent. | ||
+ | * 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>ozfortress6scomment=week 7</code>). | ||
+ | |||
+ | Example: | ||
+ | <pre> | ||
+ | {{Weekmaps | ||
+ | <!-- | ||
+ | | ozfortress6s = | ||
+ | --> | ||
+ | | etf2lhl = Warmtic | ||
+ | | etf2lhl2 = Process | ||
+ | | etf2lhlcomment = Week 2 | ||
+ | | etf2l6s = Playoffs | ||
+ | | etf2l6s2 = | ||
+ | | etf2l6scomment = | ||
+ | <!-- | ||
+ | --> | ||
+ | | esea = Playoffs | ||
+ | | eseacomment = | ||
+ | <!-- | ||
+ | --> | ||
+ | | ugchl = Process | ||
+ | | ugchlcomment = Week 9 | ||
+ | | ugc6s = Snakewater | ||
+ | | ugc6scomment = Week 9 | ||
+ | <!-- | ||
+ | --> | ||
+ | }} | ||
+ | </pre> | ||
+ | yields | ||
+ | |||
+ | {{Weekmaps | ||
+ | <!-- | ||
+ | | ozfortress6s = | ||
+ | --> | ||
+ | | etf2lhl = Warmtic | ||
+ | | etf2lhl2 = Process | ||
+ | | etf2lhlcomment = Week 2 | ||
+ | | etf2l6s = Playoffs | ||
+ | | etf2l6s2 = | ||
+ | | etf2l6scomment = | ||
+ | <!-- | ||
+ | --> | ||
+ | | esea = Playoffs | ||
+ | | eseacomment = | ||
+ | <!-- | ||
+ | --> | ||
+ | | ugchl = Process | ||
+ | | ugchlcomment = Week 9 | ||
+ | | ugc6s = Snakewater | ||
+ | | ugc6scomment = Week 9 | ||
+ | <!-- | ||
+ | --> | ||
+ | }} | ||
+ | |||
+ | [[Category:Main page templates]] |