Difference between revisions of "Template:DSFL Year/Test"
Jump to navigation
Jump to search
37thchamber (talk | contribs) (testing a toggle for showing the season number as well) |
37thchamber (talk | contribs) |
||
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}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}{{#if:{{{s}}} = yes| (S{{{1}}})}}]] <!-- displays as the corresponding year --> | + | |year = [[DSFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}{{#if:{{{s|}}} = yes| (S{{{1}}})}}]] <!-- 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 --> | |full = [[DSFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL season}}]] <!-- displays as the corresponding year --> | ||
<!-- draft links --> | <!-- draft links --> | ||
Line 43: | Line 43: | ||
<!-- 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>{{ | + | }}<noinclude> |
+ | <nowiki>{{DSFL Year/Test|4|s=yes}}</nowiki> results in {{DSFL Year/Test|4|s=yes}} | ||
[[Category:Date Shortcuts]]</noinclude> | [[Category:Date Shortcuts]]</noinclude> |
Revision as of 13:28, 5 August 2022
[[DSFL season {{{1}}}|2016]] {{DSFL Year/Test|4|s=yes}} results in 2019