Difference between revisions of "Template:ISFL Year"

From Sim Football Wiki
Jump to navigation Jump to search
m
Line 2: Line 2:
 
<!-- Different output based on second argument passed -->
 
<!-- Different output based on second argument passed -->
 
|year      = [[ISFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]                <!-- displays as the corresponding year -->
 
|year      = [[ISFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]                <!-- 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 -->
+
|full      = [[ISFL season {{{1}}}|{{#if:{{{3|}}}|{{{3}}}| {{#ifeq:{{{s}}}|yes|Season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL season}}}}]]    <!-- displays as the corresponding year -->
 
<!-- draft links -->
 
<!-- draft links -->
 
|draft-full = [[Season {{{1}}} ISFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL Draft}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]    <!-- displays as "XXXX NSFL draft" -->
 
|draft-full = [[Season {{{1}}} ISFL Draft|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL Draft}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]    <!-- displays as "XXXX NSFL draft" -->
Line 27: Line 27:
 
|ultimus    = [[Ultimus Bowl {{#roman:{{{1}}}}}]]        <!-- displays as "Ultimus Bowl #" -->
 
|ultimus    = [[Ultimus Bowl {{#roman:{{{1}}}}}]]        <!-- displays as "Ultimus Bowl #" -->
 
|ultimus-ny = [[Ultimus Bowl {{#roman:{{{1}}}}}|{{#if:{{{3|}}}|{{{3}}}|Ultimus}}]] <!-- just displays "Ultimus" -->
 
|ultimus-ny = [[Ultimus Bowl {{#roman:{{{1}}}}}|{{#if:{{{3|}}}|{{{3}}}|Ultimus}}]] <!-- just displays "Ultimus" -->
|ult-y      = [[Ultimus Bowl {{#roman:{{{1}}}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2016+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]] <!-- displays year of the actual game only -->
+
|ult-y      = [[Ultimus Bowl {{#roman:{{{1}}}}}|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2016+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#ifeq:{{{s}}}|yes|(S{{{1}}})}}]] <!-- displays year of the actual game only -->
 
|ult-r      = [[Ultimus Bowl {{#roman:{{{1}}}}}|{{#roman:{{{1}}}}}]]        <!-- displays as roman numeral only -->
 
|ult-r      = [[Ultimus Bowl {{#roman:{{{1}}}}}|{{#roman:{{{1}}}}}]]        <!-- displays as roman numeral only -->
 
|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    = [[ISFL season {{{1}}} Scouting Combine|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL scouting combine}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]  <!-- displays like 2016 NSFL scouting combine -->
 
|combine    = [[ISFL season {{{1}}} Scouting Combine|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL scouting combine}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]  <!-- displays like 2016 NSFL scouting combine -->
|comb      = [[ISFL 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}}}}}} {{#ifeq:{{{s}}}|yes|(S{{{1}}})}}]]                        <!-- displays only the year -->
 
|combine-ny = [[ISFL 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    = [[ISFL 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}}} ISFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL Pro Bowl}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]    <!-- displays like "2016 NSFL Pro Bowl" -->
 
|probowl    = [[Season {{{1}}} ISFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL Pro Bowl}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]    <!-- displays like "2016 NSFL Pro Bowl" -->
|pb        = [[Season {{{1}}} ISFL 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}}}}}} {{#ifeq:{{{s}}}|yes|(S{{{1}}})}}]]                  <!-- displays only the year -->
 
|probowl-ny = [[Season {{{1}}} ISFL 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}}} ISFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|Pro Bowl}}]]
 
|pb-ny      = [[Season {{{1}}} ISFL Pro Bowl|{{#if:{{{3|}}}|{{{3}}}|Pro Bowl}}]]
 
<!-- all-pro links -->
 
<!-- all-pro links -->
 
|allpro    = [[Season {{{1}}} ISFL All-Pro selection|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL All-Pro selection}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]    <!-- displays like "2016 ISFL All-Pro selection" -->
 
|allpro    = [[Season {{{1}}} ISFL All-Pro selection|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} ISFL All-Pro selection}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]    <!-- displays like "2016 ISFL All-Pro selection" -->
|ap        = [[Season {{{1}}} ISFL All-Pro selection|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]                  <!-- displays only the year -->
+
|ap        = [[Season {{{1}}} ISFL All-Pro selection|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#ifeq:{{{s}}}|yes|(S{{{1}}})}}]]                  <!-- displays only the year -->
 
|allpro-ny  = [[Season {{{1}}} ISFL All-Pro selection|{{#if:{{{3|}}}|{{{3}}}|All-Pro}}]]                                                  <!-- just displays "All-Pro" -->
 
|allpro-ny  = [[Season {{{1}}} ISFL All-Pro selection|{{#if:{{{3|}}}|{{{3}}}|All-Pro}}]]                                                  <!-- just displays "All-Pro" -->
 
|ap-ny      = [[Season {{{1}}} ISFL All-Pro selection|{{#if:{{{3|}}}|{{{3}}}|All-Pro}}]]
 
|ap-ny      = [[Season {{{1}}} ISFL All-Pro selection|{{#if:{{{3|}}}|{{{3}}}|All-Pro}}]]
Line 48: Line 48:
 
<!-- displays like "2045 World Football Championship", or third argument passed -->
 
<!-- displays like "2045 World Football Championship", or third argument passed -->
 
|wfc    = [[{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} World Football Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} World Football Championship}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]  
 
|wfc    = [[{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} World Football Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} World Football Championship}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]  
|wfc-y  = [[{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} World Football Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}]]        <!-- displays year only but links to "2045 World Football Championship" -->
+
|wfc-y  = [[{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} World Football Championship|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#ifeq:{{{s}}}|yes|(S{{{1}}})}}]]        <!-- displays year only but links to "2045 World Football Championship" -->
 
<!-- just show the year, no link -->
 
<!-- just show the year, no link -->
 
|nolink    = {{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}
 
|nolink    = {{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}

Revision as of 09:59, 7 October 2022

[[ISFL season {{{1}}}|2016 (S{{{1}}})]]