Difference between revisions of "Template:Weekmaps"
Jump to navigation
Jump to search
m (testing playoffs implementation) |
m (updated entire template and usage instructions) |
||
Line 18: | Line 18: | ||
| [[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|125px]] | | [[Image:{{{ugc6s|offseason}}}.png{{#if:{{ugc6s|}}|{{!}}link={{{ugc6s|}}}|}}|125px]] | ||
|- class="top bold" | |- class="top bold" | ||
− | | class="col2" |{{#if:{{{ozfortress6s|}}}|[[{{{ozfortress6s}}}]]|Offseason}} | + | | class="col2" |{{#if:{{{ozfortress6s|}}}|{{#ifeq: {{{ozfortress6s}}}|Playoffs|Playoffs|[[{{{ozfortress6s}}}]]}}|Offseason}} |
− | | {{#if:{{{etf2lhl|}}}|[[{{{etf2lhl}}}]]|Offseason}} | + | | {{#if:{{{etf2lhl|}}}|{{#ifeq: {{{etf2lhl}}}|Playoffs|Playoffs|[[{{{etf2lhl}}}]]}} |Offseason}} |
| {{#if:{{{etf2lhl2|}}}|[[{{{etf2lhl2}}}]]}} | | {{#if:{{{etf2lhl2|}}}|[[{{{etf2lhl2}}}]]}} | ||
− | | class="col2" |{{#if:{{{etf2l6s|}}}|[[{{{etf2l6s}}}]]|Offseason}} | + | | class="col2" |{{#if:{{{etf2l6s|}}}|{{#ifeq: {{{etf2l6s}}}|Playoffs|Playoffs|[[{{{etf2l6s}}}]]}}|Offseason}} |
| class="col2" |{{#if:{{{etf2l6s2|}}}|[[{{{etf2l6s2}}}]]}} | | class="col2" |{{#if:{{{etf2l6s2|}}}|[[{{{etf2l6s2}}}]]}} | ||
| {{#if:{{{esea|}}}|{{#ifeq: {{{esea}}}|Playoffs|Playoffs|[[{{{esea}}}]]}}|Offseason}} | | {{#if:{{{esea|}}}|{{#ifeq: {{{esea}}}|Playoffs|Playoffs|[[{{{esea}}}]]}}|Offseason}} | ||
− | | class="col2" |{{#if:{{{ugchl|}}}|[[{{{ugchl}}}]]|Offseason}} | + | | class="col2" |{{#if:{{{ugchl|}}}|{{#ifeq: {{{ugchl}}}|Playoffs|Playoffs|[[{{{ugchl}}}]]}}|Offseason}} |
− | | {{#if:{{{ugc6s|}}}|[[{{{ugc6s}}}]]|Offseason}} | + | | {{#if:{{{ugc6s|}}}|{{#ifeq: {{{ugc6s}}}|Playoffs|Playoffs|[[{{{ugc6s}}}]]}}|Offseason}} |
|- class="top bold" | |- class="top bold" | ||
| class="col2" |{{#if:{{{ozfortress6scomment|}}}|<small>{{{ozfortress6scomment}}}</small>}} | | class="col2" |{{#if:{{{ozfortress6scomment|}}}|<small>{{{ozfortress6scomment}}}</small>}} | ||
Line 36: | Line 36: | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
− | The template displays the current maps in each | + | * 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: | Example: | ||
<pre> | <pre> | ||
− | {{ | + | {{Weekmaps |
− | | ozfortress6s = | + | <!-- |
− | + | | ozfortress6s = | |
− | | etf2lhl2 | + | --> |
− | | etf2l6s | + | | etf2lhl = Warmtic |
− | | etf2l6s2 --> | + | | etf2lhl2 = Process |
− | | esea = | + | | etf2lhlcomment = Week 2 |
− | | ugchl = | + | | etf2l6s = Playoffs |
− | | ugc6s = | + | | etf2l6s2 = |
+ | | etf2l6scomment = | ||
+ | <!-- | ||
+ | --> | ||
+ | | esea = Playoffs | ||
+ | | eseacomment = | ||
+ | <!-- | ||
+ | --> | ||
+ | | ugchl = Process | ||
+ | | ugchlcomment = Week 9 | ||
+ | | ugc6s = Snakewater | ||
+ | | ugc6scomment = Week 9 | ||
+ | <!-- | ||
+ | --> | ||
}} | }} | ||
</pre> | </pre> | ||
Line 54: | Line 69: | ||
{{Weekmaps | {{Weekmaps | ||
− | | ozfortress6s = | + | <!-- |
− | + | | ozfortress6s = | |
− | | etf2lhl2 | + | --> |
− | | etf2l6s | + | | etf2lhl = Warmtic |
− | | etf2l6s2 --> | + | | etf2lhl2 = Process |
− | | esea = | + | | etf2lhlcomment = Week 2 |
− | | ugchl = | + | | etf2l6s = Playoffs |
− | | ugc6s = | + | | etf2l6s2 = |
+ | | etf2l6scomment = | ||
+ | <!-- | ||
+ | --> | ||
+ | | esea = Playoffs | ||
+ | | eseacomment = | ||
+ | <!-- | ||
+ | --> | ||
+ | | ugchl = Process | ||
+ | | ugchlcomment = Week 9 | ||
+ | | ugc6s = Snakewater | ||
+ | | ugc6scomment = Week 9 | ||
+ | <!-- | ||
+ | --> | ||
}} | }} | ||
− | |||
[[Category:Main page templates]] | [[Category:Main page templates]] |
Revision as of 18:01, 30 March 2015
This Week's Match Maps | |||||||
---|---|---|---|---|---|---|---|
Ozfortress (6v6) | ETF2L (HL) | ETF2L (6v6) | ESEA (6v6) | UGC (HL) | UGC (6v6) | ||
Offseason | Offseason | Offseason | Offseason | Offseason | Offseason | ||
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
leaguenamecomment
field (e.g.ozfortress6scomment=week 7
).
Example:
{{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 <!-- --> }}
yields
This Week's Match Maps | |||||||
---|---|---|---|---|---|---|---|
Ozfortress (6v6) | ETF2L (HL) | ETF2L (6v6) | ESEA (6v6) | UGC (HL) | UGC (6v6) | ||
Offseason | Warmtic | Process | Playoffs | Playoffs | Process | Snakewater | |
Week 2 | Week 9 | Week 9 |