Difference between revisions of "Template:ISFL Year"

From Sim Football Wiki
Jump to navigation Jump to search
m (other draft param switched)
m (default season toggle to off for "nolink" -- do NOT revert this, it breaks draft pages if you do)
Line 50: Line 50:
 
|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" -->
 
|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}}}|yes|(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 11:11, 10 October 2022

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