Difference between revisions of "Template:DSFL Year"

From Sim Football Wiki
Jump to navigation Jump to search
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#switch: {{{2}}}
 
{{#switch: {{{2}}}
 
<!-- Different output based on second argument passed -->
 
<!-- Different output based on second argument passed -->
|year        = [[DSFL season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]                     <!-- displays as the corresponding year -->
+
|year        = [[DSFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#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 -->
+
|full        = [[DSFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL season}}]]   <!-- displays as the corresponding year -->
 
<!-- draft links -->
 
<!-- draft links -->
|draft-full  = [[Season {{{1}}} DSFL Draft|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL Draft]]    <!-- displays as "XXXX DSFL draft" -->
+
|draft-full  = [[Season {{{1}}} DSFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL Draft}}]]    <!-- displays as "XXXX DSFL draft" -->
|draft      = [[Season {{{1}}} DSFL Draft|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL Draft]]   <!-- displays as "XXXX draft" -->
+
|draft      = [[Season {{{1}}} DSFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} Draft}}]]         <!-- displays as "XXXX draft" -->
|d          = [[Season {{{1}}} DSFL Draft|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]              <!-- displays as corresponding year -->
+
|d          = [[Season {{{1}}} DSFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]              <!-- displays as corresponding year -->
|draft-ny    = [[Season {{{1}}} DSFL Draft|DSFL Draft]]                                             <!-- displays as "draft" with no year -->
+
|draft-ny    = [[Season {{{1}}} DSFL Draft|{{#if:{{{3|}}}|{{{3}}}|draft}}]]                                                   <!-- displays as "draft" with no year -->
|d-ny        = [[Season {{{1}}} DSFL Draft|draft]]                                                  <!-- displays as "draft" with no year -->
+
|d-ny        = [[Season {{{1}}} DSFL Draft|{{#if:{{{3|}}}|{{{3}}}|draft}}]]                                                  <!-- displays as "draft" with no year -->
 
<!-- offseason links -->
 
<!-- offseason links -->
|offseason  = [[Year {{{1}}} Offseason|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} offseason]]
+
|offseason  = [[Year {{{1}}} Offseason|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} offseason}}]]
|off        = [[Year {{{1}}} Offseason|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
+
|off        = [[Year {{{1}}} Offseason|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]
|off-ny      = [[Year {{{1}}} Offseason|offseason]]
+
|off-ny      = [[Year {{{1}}} Offseason|{{#if:{{{3|}}}|{{{3}}}|offseason}}]]
 
<!-- postseason links -->
 
<!-- postseason links -->
|postseason  = [[DSFL season {{{1}}} playoffs|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} post-season]]
+
|postseason  = [[DSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL post-season}}]]          <!-- displays like "2018 DSFL post-season -->
|post        = [[DSFL season {{{1}}} playoffs|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
+
|po          = [[DSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL playoffs}}]]             <!-- displays like "2018 DSFL playoffs -->
|post-ny    = [[DSFL season {{{1}}} playoffs|post-season]]
+
|post        = [[DSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                           <!-- displays only the year -->
 +
|post-ny    = [[DSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|post-season}}]]                                                          <!-- displays just "post-season" -->
 +
|po-ny      = [[DSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|playoffs}}]]                                                             <!-- displays just "playoffs" -->
 
<!-- conf champs links -->
 
<!-- conf champs links -->
|sfc        = [[Season {{{1}}} SFC Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} SFC Championship]]
+
|sfc        = [[Season {{{1}}} SFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} SFC Championship}}]] <!-- displays like "2018 SFC Championship" -->
|nfc        = [[Season {{{1}}} NFC Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} NFC Championship]]
+
|nfc        = [[Season {{{1}}} NFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} NFC Championship}}]] <!-- displays like "2018 NFC Championship" -->
|south       = [[Season {{{1}}} SFC Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} SFC Championship]]
+
|sfc-y       = [[Season {{{1}}} SFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                   <!-- displays only the year -->
|north       = [[Season {{{1}}} NFC Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} NFC Championship]]
+
|nfc-y       = [[Season {{{1}}} NFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]
|east        = [[Season {{{1}}} DSFL East Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL East Championship]]
+
<!-- ultimini links -->
|west        = [[Season {{{1}}} DSFL West Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL West Championship]]
+
|ultimini    = [[Ultimini {{#roman:{{#expr:{{{1}}}-2}}}}]]                                                                       <!-- e.g. 12 would display as "Ultimini X" -->
|sfc-y      = [[Season {{{1}}} SFC Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
+
|ultimini-ny = [[Ultimini {{#roman:{{#expr:{{{1}}}-2}}}}|{{#if:{{{3|}}}|{{{3}}}|Ultimini}}]]                                     <!-- just displays "Ultimini" -->
|nfc-y      = [[Season {{{1}}} NFC Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
+
|ult-y      = [[Ultimini {{#roman:{{#expr:{{{1}}}-2}}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2016+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]     <!-- displays year of the actual game only -->
|south-y    = [[Season {{{1}}} SFC Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
+
|ult        = [[Ultimini {{#roman:{{#expr:{{{1}}}-2}}}}|{{#roman:{{#expr:{{{1}}}-2}}}} ({{#expr:2016+{{#if:{{{1|}}}|{{{1}}}|1}}}})]]         <!-- displays as roman numeral and year in brackets; e.g. I (2017) -->
|north-y     = [[Season {{{1}}} NFC Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
+
<!-- combine links -->
|east-y      = [[Season {{{1}}} DSFL East Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
+
|combine     = [[DSFL season {{{1}}} Workout Day|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL Workout Day}}]]   <!-- displays like 2016 DSFL workout day -->
|west-y      = [[Season {{{1}}} DSFL West Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
+
|comb        = [[DSFL season {{{1}}} Workout Day|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                         <!-- displays only the year -->
<!-- ultimus links -->
+
|combine-ny  = [[DSFL season {{{1}}} Workout Day|{{#if:{{{3|}}}|{{{3}}}|workout day}}]]                                                 <!-- just displays "scouting combine" -->
|ultimini    = [[Ultimini {{{1}}}]]
+
|comb-ny    = [[DSFL season {{{1}}} Workout Day|{{#if:{{{3|}}}|{{{3}}}|workout day}}]]
|ultimini-ny = [[Ultimini {{{1}}}|Ultimini]]
 
 
<!-- pro bowl links -->
 
<!-- pro bowl links -->
|probowl    = [[Season {{{1}}} DSFL Pro Bowl|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL Pro Bowl]]
+
|probowl    = [[Season {{{1}}} DSFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL Pro Bowl}}]]   <!-- displays like "2016 DSFL Pro Bowl" -->
|pb          = [[Season {{{1}}} DSFL Pro Bowl|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
+
|pb          = [[Season {{{1}}} DSFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                 <!-- displays only the year -->
|probowl-ny  = [[Season {{{1}}} DSFL Pro Bowl|Pro Bowl]]
+
|probowl-ny  = [[Season {{{1}}} DSFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|Pro Bowl}}]]                                                   <!-- just displays "Pro Bowl" -->
|pb-ny      = [[Season {{{1}}} DSFL Pro Bowl|Pro Bowl]]
+
|pb-ny      = [[Season {{{1}}} DSFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|Pro Bowl}}]]
 
<!-- just show the year, no link -->
 
<!-- just show the year, no link -->
 
|nolink      = {{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}
 
|nolink      = {{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}
 
<!-- default value goes to DSFL season page, link displays as year -->
 
<!-- default value goes to DSFL season page, link displays as year -->
 
|#default    = [[DSFL season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
 
|#default    = [[DSFL season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
}}
+
}}<noinclude>{{documentation}}
 +
[[Category:Date Shortcuts]]</noinclude>

Revision as of 11:41, 18 January 2021

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