Difference between revisions of "Template:DSFL Year"

From Sim Football Wiki
Jump to navigation Jump to search
m (Owner moved page Template:Dsfly to Template:DSFL Year)
Line 1: Line 1:
[[DSFL season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
+
{{#switch: {{{2}}}
 +
<!-- Different output based on second argument passed -->
 +
|year        = [[DSFL season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]                <!-- displays as the corresponding year -->
 +
|full        = [[DSFL season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL season]]    <!-- displays as the corresponding year -->
 +
<!-- draft links -->
 +
|draft      = [[DSFL season {{{1}}} Draft|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} draft]]   <!-- displays as "XXXX draft" -->
 +
|d          = [[DSFL season {{{1}}} Draft|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]          <!-- displays as corresponding year -->
 +
|draft-ny    = [[DSFL season {{{1}}} Draft|draft]]                                              <!-- displays as "draft" with no year -->
 +
|d-ny        = [[DSFL season {{{1}}} Draft|draft]]                                              <!-- displays as "draft" with no year -->
 +
<!-- offseason links -->
 +
|offseason  = [[Year {{{1}}} Offseason|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} offseason]]
 +
|off        = [[Year {{{1}}} Offseason|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
 +
|off-ny      = [[Year {{{1}}} Offseason|offseason]]
 +
<!-- postseason links -->
 +
|postseason  = [[DSFL season {{{1}}} playoffs|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} post-season]]
 +
|post        = [[DSFL season {{{1}}} playoffs|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
 +
|post-ny    = [[DSFL season {{{1}}} playoffs|post-season]]
 +
<!-- conf champs links -->
 +
|sfc        = [[Season {{{1}}} ASFC Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ASFC Championship]]
 +
|nfc        = [[Season {{{1}}} NSFC Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} NSFC Championship]]
 +
|east        = [[Season {{{1}}} DSFL East Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL East Championship]]
 +
|west        = [[Season {{{1}}} DSFL West Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL West Championship]]
 +
|sfc-y      = [[Season {{{1}}} SFC Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
 +
|nfc-y      = [[Season {{{1}}} NFC Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
 +
|east-y      = [[Season {{{1}}} DSFL East Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
 +
|west-y      = [[Season {{{1}}} DSFL West Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
 +
<!-- ultimus links -->
 +
|ultimini    = [[Season {{{1}}} DSFL Pro Bowl|Ultimini {{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
 +
|ultimini-ny = [[Season {{{1}}} DSFL Pro Bowl|Ultimini]]
 +
<!-- combine links -->
 +
|combine    = [[NSFL season {{{1}}} Scouting Combine|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} scouting combine]]
 +
|comb        = [[NSFL season {{{1}}} Scouting Combine|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
 +
|combine-ny  = [[NSFL season {{{1}}} Scouting Combine|scouting combine]]
 +
|comb-ny    = [[NSFL season {{{1}}} Scouting Combine|scouting combine]]
 +
<!-- pro bowl links -->
 +
|probowl    = [[Season {{{1}}} DSFL Pro Bowl|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} Pro Bowl]]
 +
|pb          = [[Season {{{1}}} DSFL Pro Bowl|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
 +
|probowl-ny  = [[Season {{{1}}} DSFL Pro Bowl|Pro Bowl]]
 +
|pb-ny      = [[Season {{{1}}} DSFL Pro Bowl|Pro Bowl]]
 +
<!-- just show the year, no link -->
 +
|nolink      = {{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}
 +
<!-- default value goes to DSFL season page, link displays as year -->
 +
|#default    = [[DSFL season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
 +
}}

Revision as of 10:46, 11 June 2018

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