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

From comp.tf
Jump to navigation Jump to search
m
m
 
(9 intermediate revisions by 4 users not shown)
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"
 
!You Type
 
!You Type
 
!You Get
 
!You Get
 
|-
 
|-
|style="text-align:center" | <code><nowiki>{{Current Seasons|esea6s}}</nowiki></code>
+
|style="text-align:center" | <code><nowiki>{{Current Seasons|ugc4s}}</nowiki></code>
|style="text-align:center" | {{Current Seasons|esea6s}}
+
|style="text-align:center" | {{Current Seasons|ugc4s}}
 +
|-
 +
|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|rgl6s}}</nowiki></code>
 +
|style="text-align:center" | {{Current Seasons|rgl6s}}
 +
|-
 +
|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|ozhl}}</nowiki></code>
 +
|style="text-align:center" | {{Current Seasons|ozhl}}
 +
|-
 +
|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|rgl7s}}</nowiki></code>
 +
|style="text-align:center" | {{Current Seasons|rgl7s}}
 +
|-
 +
|style="text-align:center" | <code><nowiki>{{Current Seasons|etf2lhl}}</nowiki></code>
 +
|style="text-align:center" | {{Current Seasons|etf2lhl}}
 +
|-
 +
|style="text-align:center" | <code><nowiki>{{Current Seasons|rglhl}}</nowiki></code>
 +
|style="text-align:center" | {{Current Seasons|rglhl}}
 +
|-
 +
|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|i}}</nowiki></code>
 +
|style="text-align:center" | {{Current Seasons|i}}
 
|}
 
|}
 
== Supported leagues ==
 
== Supported leagues ==
Line 19: Line 49:
 
=== UGC 4v4 ===
 
=== UGC 4v4 ===
 
''Parameters:'' <code>|ugc4s</code>
 
''Parameters:'' <code>|ugc4s</code>
 +
=== ETF2L 6v6 ===
 +
''Parameters:'' <code>|etf2l</code>, <code>|etf2l6s</code>
 +
=== RGL 6v6 ===
 +
''Parameters:'' <code>|rgl6s</code>
 +
=== ozfortress ===
 +
''Parameters:'' <code>|ozf6s</code>, <code>|ozhl</code>, <code>|ozfortress</code>
 
=== UGC 6v6 ===
 
=== UGC 6v6 ===
 
''Parameters:'' <code>|ugc6s</code>
 
''Parameters:'' <code>|ugc6s</code>
 +
=== RGL Prolander===
 +
''Parameters:'' <code>|rgl7s</code>
 +
=== ETF2L Highlander ===
 +
''Parameters:'' <code>|etf2lhl</code>
 +
=== RGL Highlander ===
 +
''Parameters:'' <code>|rglhl</code>
 
=== UGC Highlander ===
 
=== UGC Highlander ===
 
''Parameters:'' <code>|ugchl</code>
 
''Parameters:'' <code>|ugchl</code>
=== ESEA ===
 
''Parameters:'' <code>|esea6s</code>
 
=== ETF2L 6v6 ===
 
''Parameters:'' <code>|etf2l</code>, <code>|etf2l6s</code>
 
=== ETF2L Highlander ===
 
''Parameters:'' <code>|etf2lhl</code>
 
=== ozfortress ===
 
''Parameters:'' <code>|ozf6s</code>, <code>|ozfortress</code>
 
=== AsiaFortress ===
 
''Parameters:'' <code>|af6s</code>, <code>|asiafortress</code>, <code>|afc</code>,
 
*''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>

Latest revision as of 09:49, 21 April 2023

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[edit]

Parameters[edit]

  • 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[edit]

You Type You Get
{{Current Seasons|ugc4s}} 28
{{Current Seasons|etf2l6s}} 46
{{Current Seasons|rgl6s}} 13
{{Current Seasons|ozf6s}} 38
{{Current Seasons|ozhl}} 5
{{Current Seasons|ugc6s}} 41
{{Current Seasons|rgl7s}} 10
{{Current Seasons|etf2lhl}} 30
{{Current Seasons|rglhl}} 16
{{Current Seasons|ugchl}} 39
{{Current Seasons|i}} 71

Supported leagues[edit]

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

UGC 4v4[edit]

Parameters: |ugc4s

ETF2L 6v6[edit]

Parameters: |etf2l, |etf2l6s

RGL 6v6[edit]

Parameters: |rgl6s

ozfortress[edit]

Parameters: |ozf6s, |ozhl, |ozfortress

UGC 6v6[edit]

Parameters: |ugc6s

RGL Prolander[edit]

Parameters: |rgl7s

ETF2L Highlander[edit]

Parameters: |etf2lhl

RGL Highlander[edit]

Parameters: |rglhl

UGC Highlander[edit]

Parameters: |ugchl

Insomnia LAN Series[edit]

Parameters: |insomnia, |multiplay, |i