Difference between revisions of "Template:DSFL Year"

From Sim Football Wiki
Jump to navigation Jump to search
(Created page with "[[DSFL season {{{1}}}|{{{1}}}]]{{#if:{{{2|}}}|–{{#ifexpr:{{{2}}}<100|[[{{#expr:trunc({{{1}}}/100)}}DSFL season {{{2}}} |{{{2}}}]]|[[DSFL season {{{2}}}|{{{2}}}]]}}}}<noinclu...")
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[DSFL season {{{1}}}|{{{1}}}]]{{#if:{{{2|}}}|{{#ifexpr:{{{2}}}<100|[[{{#expr:trunc({{{1}}}/100)}}DSFL season {{{2}}} |{{{2}}}]]|[[DSFL season {{{2}}}|{{{2}}}]]}}}}<noinclude>
+
{{#switch: {{{2}}}
{{Documentation}}
+
<!-- Different output based on second argument passed -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
|year        = [[DSFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                <!-- displays as the corresponding year -->
</noinclude>
+
|full        = [[DSFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL season}}]]    <!-- displays as the corresponding year -->
 +
<!-- draft links -->
 +
|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|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} Draft}}]]        <!-- displays as "XXXX draft" -->
 +
|d          = [[Season {{{1}}} DSFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]              <!-- displays as corresponding year -->
 +
|draft-ny    = [[Season {{{1}}} DSFL Draft|{{#if:{{{3|}}}|{{{3}}}|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  = [[Year {{{1}}} Offseason|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} offseason}}]]
 +
|off        = [[Year {{{1}}} Offseason|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]
 +
|off-ny      = [[Year {{{1}}} Offseason|{{#if:{{{3|}}}|{{{3}}}|offseason}}]]
 +
<!-- postseason links -->
 +
|postseason  = [[DSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL post-season}}]]          <!-- displays like "2018 DSFL post-season -->
 +
|po          = [[DSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL playoffs}}]]              <!-- displays like "2018 DSFL playoffs -->
 +
|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 -->
 +
|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|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} NFC Championship}}]]  <!-- displays like "2018 NFC Championship" -->
 +
|sfc-y      = [[Season {{{1}}} SFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                   <!-- displays only the year -->
 +
|nfc-y      = [[Season {{{1}}} NFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]
 +
<!-- ultimini links -->
 +
|ultimini    = [[Ultimini {{#roman:{{#expr:{{{1}}}-2}}}}]]                                                                        <!-- e.g. 12 would display as "Ultimini X" -->
 +
|ultimini-ny = [[Ultimini {{#roman:{{#expr:{{{1}}}-2}}}}|{{#if:{{{3|}}}|{{{3}}}|Ultimini}}]]                                      <!-- just displays "Ultimini" -->
 +
|ult-y      = [[Ultimini {{#roman:{{#expr:{{{1}}}-2}}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2016+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]    <!-- displays year of the actual game only -->
 +
|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) -->
 +
<!-- combine links -->
 +
|combine    = [[DSFL season {{{1}}} Workout Day|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL Workout Day}}]]  <!-- displays like 2016 DSFL workout day -->
 +
|comb        = [[DSFL season {{{1}}} Workout Day|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                        <!-- displays only the year -->
 +
|combine-ny  = [[DSFL season {{{1}}} Workout Day|{{#if:{{{3|}}}|{{{3}}}|workout day}}]]                                                 <!-- just displays "scouting combine" -->
 +
|comb-ny    = [[DSFL season {{{1}}} Workout Day|{{#if:{{{3|}}}|{{{3}}}|workout day}}]]
 +
<!-- pro bowl links -->
 +
|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|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                 <!-- displays only the year -->
 +
|probowl-ny  = [[Season {{{1}}} DSFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|Pro Bowl}}]]                                                  <!-- just displays "Pro Bowl" -->
 +
|pb-ny      = [[Season {{{1}}} DSFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|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}}}}]]
 +
}}<noinclude>{{documentation}}
 +
[[Category:Date Shortcuts]]</noinclude>

Revision as of 11:41, 18 January 2021

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