Difference between revisions of "Template:ISFL Year"

From Sim Football Wiki
Jump to navigation Jump to search
(updated to automatically include the season number)
m
Line 23: Line 23:
 
|nsfc      = [[Season {{{1}}} NSFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} NSFC Championship}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]  <!-- displays like "2018 NSFC Championship" -->
 
|nsfc      = [[Season {{{1}}} NSFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} NSFC Championship}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]  <!-- displays like "2018 NSFC Championship" -->
 
|asfc-y    = [[Season {{{1}}} ASFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]                    <!-- displays only the year -->
 
|asfc-y    = [[Season {{{1}}} ASFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]                    <!-- displays only the year -->
|nsfc-y    = [[Season {{{1}}} NSFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}}]]
+
|nsfc-y    = [[Season {{{1}}} NSFC Championship|{{#if:{{{3|}}}|{{{3}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}}}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}]]
 
<!-- ultimus links -->
 
<!-- ultimus links -->
 
|ultimus    = [[Ultimus Bowl {{#roman:{{{1}}}}}]]        <!-- displays as "Ultimus Bowl #" -->
 
|ultimus    = [[Ultimus Bowl {{#roman:{{{1}}}}}]]        <!-- displays as "Ultimus Bowl #" -->
Line 50: Line 50:
 
|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}}}}]]        <!-- 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}}}}
+
|nolink    = {{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} {{#ifeq:{{{s}}}|no||(S{{{1}}})}}
 
<!-- default value goes to ISFL season page, link displays as year -->
 
<!-- default value goes to ISFL season page, link displays as year -->
 
|#default  = [[ISFL season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} (S{{{1}}})]]
 
|#default  = [[ISFL season {{{1}}}|{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} (S{{{1}}})]]
 
}}<noinclude>{{documentation}}
 
}}<noinclude>{{documentation}}
 
[[Category:Date Shortcuts]]</noinclude>
 
[[Category:Date Shortcuts]]</noinclude>

Revision as of 09:35, 7 October 2022

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