Difference between revisions of "Template:ISFL Year"

From Sim Football Wiki
Jump to navigation Jump to search
m (updated wfc links)
m (fixed season number in full link)
Line 2: Line 2:
 
<!-- Different output based on second argument passed -->
 
<!-- Different output based on second argument passed -->
 
|year      = [[ISFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]                <!-- displays as the corresponding year -->
 
|year      = [[ISFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]                <!-- displays as the corresponding year -->
|full      = [[ISFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}| {{#ifeq:{{{s}}}|yes|Season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL season}}}}]]    <!-- displays as the corresponding year -->
+
|full      = [[ISFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#ifeq:{{{s}}}|yes|(S{{{1}}})}} ISFL season}}]]    <!-- displays as the corresponding year -->
 
<!-- draft links -->
 
<!-- draft links -->
 
|draft-full = [[Season {{{1}}} ISFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL Draft}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]    <!-- displays as "XXXX NSFL draft" -->
 
|draft-full = [[Season {{{1}}} ISFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL Draft}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]    <!-- displays as "XXXX NSFL draft" -->

Revision as of 11:21, 9 February 2023

[[ISFL season {{{1}}}|2016 (S{{{1}}})]]