Difference between revisions of "Template:TeamYear"

From Sim Football Wiki
Jump to navigation Jump to search
(Created page with "{{#switch: {{{1}}} <!-- START NSFL teams --> |BAL = Baltimore Hawks |#default = NSFL }} season {{{2}}}|{{#expr:2015+{{#if:{{{2|}}}|{{{2}}}|2}}}} {{#switch: {{{1}}} <!-- STA...")
 
m (added CTC)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[{{#switch: {{{1}}}
 
[[{{#switch: {{{1}}}
 
<!-- START NSFL teams -->
 
<!-- START NSFL teams -->
|BAL = Baltimore Hawks
+
|BAL = Baltimore Hawks
|#default = NSFL
+
|ARI  = Arizona Outlaws
}} season {{{2}}}|{{#expr:2015+{{#if:{{{2|}}}|{{{2}}}|2}}}}  
+
|COL  = Colorado Yeti
{{#switch: {{{1}}}
+
|CTC  = Cape Town Crash
 +
|YKW  = Yellowknife Wraiths
 +
|LVL  = Las Vegas Legion
 +
|NO  = New Orleans Second Line
 +
|NOLA = New Orleans Second Line
 +
|SJS  = San Jose Sabercats
 +
|OCO  = Orange County Otters
 +
|PHI  = Philadelphia Liberty
 +
|AUS  = Austin Copperheads
 +
|CHI  = Chicago Butchers
 +
|HON  = Honolulu Hahalua
 +
|SAR  = Sarasota Sailfish
 +
|NYS  = New York Silverbacks
 +
|BER
 +
|BRL  = Berlin Fire Salamanders
 +
<!-- START DSFL teams -->
 +
|DBD  = Dallas Birddogs
 +
|LON  = London Royals
 +
|TIJ  = Tijuana Luchadores
 +
|POR  = Portland Pythons
 +
|NOR  = Norfolk Seawolves
 +
|CHB  = Chicago Blues
 +
|CHG  = Chicago Blues
 +
|SA  = San Antonio Marshals
 +
|SAM  = San Antonio Marshals
 +
|MIN  = Minnesota Grey Ducks
 +
|PB  = Palm Beach Solar Bears
 +
|MBB  = Myrtle Beach Buccaneers
 +
|BBB  = Bondi Beach Buccaneers
 +
<!-- DEFAULT -->
 +
|#default = ISFL
 +
}} season {{{2}}}|{{#expr:2015+{{#if:{{{2|}}}|{{{2}}}|2}}}} {{#switch: {{{1}}}
 
<!-- START NSFL teams -->
 
<!-- START NSFL teams -->
|BAL = Baltimore Hawks
+
|BAL = Baltimore Hawks
|#default = NSFL
+
|ARI  = Arizona Outlaws
}} season]]<noinclude>
+
|COL  = Colorado Yeti
 
+
|CTC  = Cape Town Crash
==Documentation==
+
|YKW  = Yellowknife Wraiths
Converts season number to an actual year when linking to a team season page
+
|LVL  = Las Vegas Legion
 
+
|NO  = New Orleans Second Line
Use as follows:
+
|NOLA = New Orleans Second Line
<nowiki>{{TeamYear|Team abbreviation|Season number}}</nowiki>
+
|SJS  = San Jose Sabercats
 
+
|OCO  = Orange County Otters
For example, <nowiki>{{TeamYear|BAL|2}}</nowiki> will return {{TeamYear|BAL|2}}
+
|PHI  = Philadelphia Liberty
</noinclude>
+
|AUS  = Austin Copperheads
 +
|CHI  = Chicago Butchers
 +
|HON  = Honolulu Hahalua
 +
|SAR  = Sarasota Sailfish
 +
|NYS  = New York Silverbacks
 +
|BER
 +
|BRL  = Berlin Fire Salamanders
 +
<!-- START DSFL teams -->
 +
|DBD  = Dallas Birddogs
 +
|LON  = London Royals
 +
|TIJ  = Tijuana Luchadores
 +
|POR  = Portland Pythons
 +
|NOR  = Norfolk Seawolves
 +
|CHB  = Chicago Blues
 +
|CHG  = Chicago Blues
 +
|SA  = San Antonio Marshals
 +
|SAM  = San Antonio Marshals
 +
|MIN  = Minnesota Grey Ducks
 +
|PB  = Palm Beach Solar Bears
 +
|MBB  = Myrtle Beach Buccaneers
 +
|BBB  = Bondi Beach Buccaneers
 +
<!-- DEFAULT -->
 +
|#default = ISFL
 +
}} season]]<noinclude>{{documentation}}
 +
[[Category:Team Shortcuts]]</noinclude>

Latest revision as of 03:33, 13 June 2023

[[ISFL season {{{2}}}|2017 ISFL season]]