Difference between revisions of "Template:ISFL Year"

From Sim Football Wiki
Jump to navigation Jump to search
m (added comments for later when i document this bollocks properly)
m
Line 1: Line 1:
 
{{#switch: {{{2}}}
 
{{#switch: {{{2}}}
 
<!-- Different output based on second argument passed -->
 
<!-- Different output based on second argument passed -->
|year      = [[NSFL season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]                <!-- displays as the corresponding year -->
+
|year      = [[NSFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                <!-- displays as the corresponding year -->
 
|full      = [[NSFL season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} NSFL season]]    <!-- displays as the corresponding year -->
 
|full      = [[NSFL season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} NSFL season]]    <!-- displays as the corresponding year -->
 
<!-- draft links -->
 
<!-- draft links -->

Revision as of 09:23, 6 November 2018

[[NSFL season {{{1}}}|2016]]