Difference between revisions of "Template:DSFL Year"

From Sim Football Wiki
Jump to navigation Jump to search
m (added DSFL all pro 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        = [[DSFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]                <!-- displays as the corresponding year -->
 
|year        = [[DSFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]                <!-- displays as the corresponding year -->
|full        = [[DSFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}| {{#ifeq:{{{s}}}|yes|Season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL season}}}}]]    <!-- displays as the corresponding year -->
+
|full        = [[DSFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#ifeq:{{{s}}}|yes|(S{{{1}}})}} DSFL season}}]]    <!-- displays as the corresponding year -->
 
<!-- draft links -->
 
<!-- draft links -->
 
|draft-full  = [[Season {{{1}}} DSFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL Draft}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]    <!-- displays as "XXXX DSFL draft" -->
 
|draft-full  = [[Season {{{1}}} DSFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL Draft}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]    <!-- displays as "XXXX DSFL draft" -->

Latest revision as of 11:21, 9 February 2023

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