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

From comp.tf
Jump to navigation Jump to search
m
m
Line 6: Line 6:
 
* '''Class''' - in this case use the <code>Current Seasons</code> class
 
* '''Class''' - in this case use the <code>Current Seasons</code> class
 
* '''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]]
 
===Example===
 
===Example===
 
{| class="wikitable" style="width:50%; padding:5px"
 
{| class="wikitable" style="width:50%; padding:5px"
Line 21: Line 22:
 
''Parameters:'' <code>|ugc6s</code>
 
''Parameters:'' <code>|ugc6s</code>
 
=== UGC Highlander ===
 
=== UGC Highlander ===
''Parameters:'' <code>|ugc</code>, <code>|ugchl</code>
+
''Parameters:'' <code>|ugchl</code>
 
=== ESEA ===
 
=== ESEA ===
''Parameters:'' <code>|esea</code>, <code>|esea6s</code>
+
''Parameters:'' <code>|esea6s</code>
 
=== ETF2L 6v6 ===
 
=== ETF2L 6v6 ===
 
''Parameters:'' <code>|etf2l</code>, <code>|etf2l6s</code>
 
''Parameters:'' <code>|etf2l</code>, <code>|etf2l6s</code>
Line 29: Line 30:
 
''Parameters:'' <code>|etf2lhl</code>
 
''Parameters:'' <code>|etf2lhl</code>
 
=== ozfortress ===
 
=== ozfortress ===
''Parameters:'' <code>|ozf</code>, <code>|ozf6s</code>, <code>|ozfortress</code>
+
''Parameters:'' <code>|ozf6s</code>, <code>|ozfortress</code>
 
=== AsiaFortress ===
 
=== AsiaFortress ===
''Parameters:'' <code>|af</code>, <code>|af6s</code>, <code>|asiafortress</code>, <code>|afc</code>, <code>|asiafortress cup</code>,  
+
''Parameters:'' <code>|af6s</code>, <code>|asiafortress</code>, <code>|afc</code>,
*''Sub-parameters:'' <code>|afmc</code>, <code>|asiafortress mercenaries cup</code> (used for the AsiaFortress Mercenaries Cup only)
+
*''Sub-parameters:'' <code>|afmc</code> (used for the AsiaFortress Mercenaries Cup only)
 
=== Insomnia LAN Series ===
 
=== Insomnia LAN Series ===
 
''Parameters:'' <code>|insomnia</code>, <code>|multiplay</code>, <code>|i</code>
 
''Parameters:'' <code>|insomnia</code>, <code>|multiplay</code>, <code>|i</code>

Revision as of 17:52, 25 April 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

Example

You Type You Get
{{Current Seasons|esea6s}} 31

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