Difference between revisions of "Template:DSFL Year/Test"
Jump to navigation
Jump to search
37thchamber (talk | contribs) m |
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:{{{linktext|}}}|{{{linktext}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#if:{{{s|}}} = yes|(S{{{1}}})}}]] <!-- displays as the corresponding year --> | + | |year = [[DSFL season {{{1}}}|{{#if:{{{linktext|}}}|{{{linktext}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#if:{{{s|}}} = yes| (S{{{1}}})}}]] <!-- displays as the corresponding year --> |
− | |full = [[DSFL season {{{1}}}|{{#if:{{{linktext|}}}|{{{linktext}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} DSFL season}}]] <!-- displays as the corresponding year --> | + | |full = [[DSFL season {{{1}}}|{{#if:{{{linktext|}}}|{{{linktext}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#if:{{{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}}]] <!-- displays as "XXXX DSFL draft" --> | + | |draft-full = [[Season {{{1}}} DSFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#if:{{{s|}}} = yes| (S{{{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" --> | + | |draft = [[Season {{{1}}} DSFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#if:{{{s|}}} = yes| (S{{{1}}})}} Draft}}]] <!-- displays as "XXXX draft" --> |
− | |d = [[Season {{{1}}} DSFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]] <!-- displays as corresponding year --> | + | |d = [[Season {{{1}}} DSFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#if:{{{s|}}} = yes| (S{{{1}}})}}]] <!-- displays as corresponding year --> |
|draft-ny = [[Season {{{1}}} DSFL Draft|{{#if:{{{3|}}}|{{{3}}}|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|{{#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 links --> | ||
− | |offseason = [[Year {{{1}}} Offseason|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} offseason}}]] | + | |offseason = [[Year {{{1}}} Offseason|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#if:{{{s|}}} = yes| (S{{{1}}})}} offseason}}]] |
− | |off = [[Year {{{1}}} Offseason|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]] | + | |off = [[Year {{{1}}} Offseason|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#if:{{{s|}}} = yes| (S{{{1}}})}}]] |
|off-ny = [[Year {{{1}}} Offseason|{{#if:{{{3|}}}|{{{3}}}|offseason}}]] | |off-ny = [[Year {{{1}}} Offseason|{{#if:{{{3|}}}|{{{3}}}|offseason}}]] | ||
<!-- postseason links --> | <!-- 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 --> | + | |postseason = [[DSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#if:{{{s|}}} = yes| (S{{{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 --> | + | |po = [[DSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#if:{{{s|}}} = yes| (S{{{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 = [[DSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#if:{{{s|}}} = yes| (S{{{1}}})}}]] <!-- displays only the year --> |
|post-ny = [[DSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|post-season}}]] <!-- displays just "post-season" --> | |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" --> | |po-ny = [[DSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|playoffs}}]] <!-- displays just "playoffs" --> | ||
<!-- conf champs links --> | <!-- conf champs links --> | ||
− | |sfc = [[Season {{{1}}} SFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} SFC Championship}}]] <!-- displays like "2018 SFC Championship" --> | + | |sfc = [[Season {{{1}}} SFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#if:{{{s|}}} = yes| (S{{{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" --> | + | |nfc = [[Season {{{1}}} NFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#if:{{{s|}}} = yes| (S{{{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 --> | + | |sfc-y = [[Season {{{1}}} SFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#if:{{{s|}}} = yes| (S{{{1}}})}}]] <!-- displays only the year --> |
− | |nfc-y = [[Season {{{1}}} NFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]] | + | |nfc-y = [[Season {{{1}}} NFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#if:{{{s|}}} = yes| (S{{{1}}})}}]] |
<!-- ultimini links --> | <!-- ultimini links --> | ||
|ultimini = [[Ultimini {{#roman:{{#expr:{{{1}}}-2}}}}]] <!-- e.g. 12 would display as "Ultimini X" --> | |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" --> | |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-y = [[Ultimini {{#roman:{{#expr:{{{1}}}-2}}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2016+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#if:{{{s|}}} = yes| (S{{{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) --> | |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 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 --> | + | |combine = [[DSFL season {{{1}}} Workout Day|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#if:{{{s|}}} = yes| (S{{{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 --> | + | |comb = [[DSFL season {{{1}}} Workout Day|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#if:{{{s|}}} = yes| (S{{{1}}})}}]] <!-- displays only the year --> |
− | |combine-ny = [[DSFL season {{{1}}} Workout Day|{{#if:{{{3|}}}|{{{3}}}|workout day}}]] <!-- just displays " | + | |combine-ny = [[DSFL season {{{1}}} Workout Day|{{#if:{{{3|}}}|{{{3}}}|workout day}}]] <!-- just displays "workout day" --> |
|comb-ny = [[DSFL season {{{1}}} Workout Day|{{#if:{{{3|}}}|{{{3}}}|workout day}}]] | |comb-ny = [[DSFL season {{{1}}} Workout Day|{{#if:{{{3|}}}|{{{3}}}|workout day}}]] | ||
<!-- pro bowl links --> | <!-- 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" --> | + | |probowl = [[Season {{{1}}} DSFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#if:{{{s|}}} = yes| (S{{{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 --> | + | |pb = [[Season {{{1}}} DSFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#if:{{{s|}}} = yes| (S{{{1}}})}}]] <!-- displays only the year --> |
|probowl-ny = [[Season {{{1}}} DSFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|Pro Bowl}}]] <!-- just displays "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|{{#if:{{{3|}}}|{{{3}}}|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}}}} {{#if:{{{s|}}} = yes| (S{{{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}}}} {{#if:{{{s|}}} = yes| (S{{{1}}})}}]] | |#default = [[DSFL season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#if:{{{s|}}} = yes| (S{{{1}}})}}]] |