Difference between revisions of "Template:ISFL Year"

From Sim Football Wiki
Jump to navigation Jump to search
(added wfc links to year template)
(allow custom link for wfc argument)
Line 46: Line 46:
 
|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}}]]
 
<!-- WFC links -->
 
<!-- WFC links -->
|wfc    = [[{{#expr:2015+{{#if:{{{1|}}}|{{{1}}}|1}}}} World Football Championship]]                                                  <!-- displays like "2045 World Football Championship" -->
+
<!-- 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}}]]
 
|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 -->

Revision as of 12:38, 17 May 2022

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