Difference between revisions of "Template:ISFL Year"

From Sim Football Wiki
Jump to navigation Jump to search
m (37thchamber moved page Template:NSFL Year to Template:ISFL Year)
Line 1: Line 1:
 
{{#switch: {{{2}}}
 
{{#switch: {{{2}}}
 
<!-- Different output based on second argument passed -->
 
<!-- Different output based on second argument passed -->
|year      = [[NSFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                <!-- displays as the corresponding year -->
+
|year      = [[ISFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                <!-- displays as the corresponding year -->
|full      = [[NSFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} NSFL season}}]]    <!-- displays as the corresponding year -->
+
|full      = [[ISFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL season}}]]    <!-- displays as the corresponding year -->
 
<!-- draft links -->
 
<!-- draft links -->
|draft-full = [[Season {{{1}}} NSFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} NSFL Draft}}]]    <!-- displays as "XXXX NSFL draft" -->
+
|draft-full = [[Season {{{1}}} ISFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL Draft}}]]    <!-- displays as "XXXX NSFL draft" -->
|draft      = [[Season {{{1}}} NSFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} Draft}}]]        <!-- displays as "XXXX draft" -->
+
|draft      = [[Season {{{1}}} ISFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} Draft}}]]        <!-- displays as "XXXX draft" -->
|d          = [[Season {{{1}}} NSFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]              <!-- displays as corresponding year -->
+
|d          = [[Season {{{1}}} ISFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]              <!-- displays as corresponding year -->
|draft-ny  = [[Season {{{1}}} NSFL Draft|{{#if:{{{3|}}}|{{{3}}}|draft}}]]                                                  <!-- displays as "draft" with no year -->
+
|draft-ny  = [[Season {{{1}}} ISFL Draft|{{#if:{{{3|}}}|{{{3}}}|draft}}]]                                                  <!-- displays as "draft" with no year -->
|d-ny      = [[Season {{{1}}} NSFL Draft|{{#if:{{{3|}}}|{{{3}}}|draft}}]]                                                  <!-- displays as "draft" with no year -->
+
|d-ny      = [[Season {{{1}}} ISFL 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}}}} offseason}}]]
Line 14: Line 14:
 
|off-ny    = [[Year {{{1}}} Offseason|{{#if:{{{3|}}}|{{{3}}}|offseason}}]]
 
|off-ny    = [[Year {{{1}}} Offseason|{{#if:{{{3|}}}|{{{3}}}|offseason}}]]
 
<!-- postseason links -->
 
<!-- postseason links -->
|postseason = [[NSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} NSFL post-season}}]]          <!-- displays like "2018 NSFL post-season -->
+
|postseason = [[ISFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL post-season}}]]          <!-- displays like "2018 NSFL post-season -->
|po        = [[NSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} NSFL playoffs}}]]              <!-- displays like "2018 NSFL playoffs -->
+
|po        = [[ISFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL playoffs}}]]              <!-- displays like "2018 NSFL playoffs -->
|post      = [[NSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                            <!-- displays only the year -->
+
|post      = [[ISFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                            <!-- displays only the year -->
|post-ny    = [[NSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|post-season}}]]                                                          <!-- displays just "post-season" -->
+
|post-ny    = [[ISFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|post-season}}]]                                                          <!-- displays just "post-season" -->
|po-ny      = [[NSFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|playoffs}}]]                                                            <!-- displays just "playoffs" -->
+
|po-ny      = [[ISFL season {{{1}}} playoffs|{{#if:{{{3|}}}|{{{3}}}|playoffs}}]]                                                            <!-- displays just "playoffs" -->
 
<!-- conf champs links -->
 
<!-- conf champs links -->
 
|asfc      = [[Season {{{1}}} ASFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ASFC Championship}}]]  <!-- displays like "2018 ASFC Championship" -->
 
|asfc      = [[Season {{{1}}} ASFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ASFC Championship}}]]  <!-- displays like "2018 ASFC Championship" -->
Line 30: Line 30:
 
|ult        = [[Ultimus Bowl {{#roman:{{{1}}}}}|{{#roman:{{{1}}}}} ({{#expr:2016+{{#if:{{{1|}}}|{{{1}}}|1}}}})]]        <!-- displays as roman numeral and year of the actual game in brackets; e.g. I (2017) -->
 
|ult        = [[Ultimus Bowl {{#roman:{{{1}}}}}|{{#roman:{{{1}}}}} ({{#expr:2016+{{#if:{{{1|}}}|{{{1}}}|1}}}})]]        <!-- displays as roman numeral and year of the actual game in brackets; e.g. I (2017) -->
 
<!-- combine links -->
 
<!-- combine links -->
|combine    = [[NSFL season {{{1}}} Scouting Combine|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} NSFL scouting combine}}]]  <!-- displays like 2016 NSFL scouting combine -->
+
|combine    = [[ISFL season {{{1}}} Scouting Combine|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL scouting combine}}]]  <!-- displays like 2016 NSFL scouting combine -->
|comb      = [[NSFL season {{{1}}} Scouting Combine|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                        <!-- displays only the year -->
+
|comb      = [[ISFL season {{{1}}} Scouting Combine|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                        <!-- displays only the year -->
|combine-ny = [[NSFL season {{{1}}} Scouting Combine|{{#if:{{{3|}}}|{{{3}}}|scouting combine}}]]                                                  <!-- just displays "scouting combine" -->
+
|combine-ny = [[ISFL season {{{1}}} Scouting Combine|{{#if:{{{3|}}}|{{{3}}}|scouting combine}}]]                                                  <!-- just displays "scouting combine" -->
|comb-ny    = [[NSFL season {{{1}}} Scouting Combine|{{#if:{{{3|}}}|{{{3}}}|scouting combine}}]]
+
|comb-ny    = [[ISFL season {{{1}}} Scouting Combine|{{#if:{{{3|}}}|{{{3}}}|scouting combine}}]]
 
<!-- pro bowl links -->
 
<!-- pro bowl links -->
|probowl    = [[Season {{{1}}} NSFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} NSFL Pro Bowl}}]]    <!-- displays like "2016 NSFL Pro Bowl" -->
+
|probowl    = [[Season {{{1}}} ISFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL Pro Bowl}}]]    <!-- displays like "2016 NSFL Pro Bowl" -->
|pb        = [[Season {{{1}}} NSFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                  <!-- displays only the year -->
+
|pb        = [[Season {{{1}}} ISFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                  <!-- displays only the year -->
|probowl-ny = [[Season {{{1}}} NSFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|Pro Bowl}}]]                                                  <!-- just displays "Pro Bowl" -->
+
|probowl-ny = [[Season {{{1}}} ISFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|Pro Bowl}}]]                                                  <!-- just displays "Pro Bowl" -->
|pb-ny      = [[Season {{{1}}} NSFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|Pro Bowl}}]]
+
|pb-ny      = [[Season {{{1}}} ISFL 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 NSFL season page, link displays as year -->
+
<!-- default value goes to ISFL season page, link displays as year -->
|#default  = [[NSFL season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
+
|#default  = [[ISFL season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]
 
}}<noinclude>{{documentation}}
 
}}<noinclude>{{documentation}}
 
[[Category:Shortcut Templates]]</noinclude>
 
[[Category:Shortcut Templates]]</noinclude>

Revision as of 10:07, 16 July 2020

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