Difference between revisions of "Template:Current Seasons/doc"

From comp.tf
Jump to navigation Jump to search
m
m
Line 7: Line 7:
 
* '''League''' - the selected league's current season
 
* '''League''' - the selected league's current season
 
If no league parameter is entered or the league parameter is invalid, the template will link the page to [[:Category:Unknown Current Season]]
 
If no league parameter is entered or the league parameter is invalid, the template will link the page to [[:Category:Unknown Current Season]]
===Example===
+
===Current settings===
 
{| class="wikitable" style="width:50%; padding:5px"
 
{| class="wikitable" style="width:50%; padding:5px"
 
!You Type
 
!You Type
 
!You Get
 
!You Get
 +
|-
 +
|style="text-align:center" | <code><nowiki>{{Current Seasons|ugc4s}}</nowiki></code>
 +
|style="text-align:center" | {{Current Seasons|ugc4s}}
 +
|-
 +
|style="text-align:center" | <code><nowiki>{{Current Seasons|ugc6s}}</nowiki></code>
 +
|style="text-align:center" | {{Current Seasons|ugc6s}}
 +
|-
 +
|style="text-align:center" | <code><nowiki>{{Current Seasons|etf2l6s}}</nowiki></code>
 +
|style="text-align:center" | {{Current Seasons|etf2l6s}}
 
|-
 
|-
 
|style="text-align:center" | <code><nowiki>{{Current Seasons|esea6s}}</nowiki></code>
 
|style="text-align:center" | <code><nowiki>{{Current Seasons|esea6s}}</nowiki></code>
 
|style="text-align:center" | {{Current Seasons|esea6s}}
 
|style="text-align:center" | {{Current Seasons|esea6s}}
 +
|-
 +
|style="text-align:center" | <code><nowiki>{{Current Seasons|ozf6s}}</nowiki></code>
 +
|style="text-align:center" | {{Current Seasons|ozf6s}}
 +
|-
 +
|style="text-align:center" | <code><nowiki>{{Current Seasons|af6s}}</nowiki></code>
 +
|style="text-align:center" | {{Current Seasons|af6s}}
 +
|-
 +
|style="text-align:center" | <code><nowiki>{{Current Seasons|ugchl}}</nowiki></code>
 +
|style="text-align:center" | {{Current Seasons|ugchl}}
 +
|-
 +
|style="text-align:center" | <code><nowiki>{{Current Seasons|etf2lhl}}</nowiki></code>
 +
|style="text-align:center" | {{Current Seasons|etf2lhl}}
 
|}
 
|}
 
== Supported leagues ==
 
== Supported leagues ==

Revision as of 03:41, 13 October 2016

This template displays the current or latest season of various leagues as numerical text.
Note: A season's value should only be updated once the new season starts, in an offseason please keep the value as the latest season.

Usage

Parameters

  • Class - in this case use the Current Seasons class
  • League - the selected league's current season

If no league parameter is entered or the league parameter is invalid, the template will link the page to Category:Unknown Current Season

Current settings

You Type You Get
{{Current Seasons|ugc4s}} 28
{{Current Seasons|ugc6s}} 41
{{Current Seasons|etf2l6s}} 46
{{Current Seasons|esea6s}} 31
{{Current Seasons|ozf6s}} 38
{{Current Seasons|af6s}} 21
{{Current Seasons|ugchl}} 39
{{Current Seasons|etf2lhl}} 30

Supported leagues

Below is a list of all currently supported leagues for this template.

UGC 4v4

Parameters: |ugc4s

UGC 6v6

Parameters: |ugc6s

UGC Highlander

Parameters: |ugchl

ESEA

Parameters: |esea6s

ETF2L 6v6

Parameters: |etf2l, |etf2l6s

ETF2L Highlander

Parameters: |etf2lhl

ozfortress

Parameters: |ozf6s, |ozfortress

AsiaFortress

Parameters: |af6s, |asiafortress, |afc,

  • Sub-parameters: |afmc (used for the AsiaFortress Mercenaries Cup only)

Insomnia LAN Series

Parameters: |insomnia, |multiplay, |i