Difference between revisions of "Template:Board Title Start"

From EUSwiki
Jump to: navigation, search
(Created page with "<noinclude>This page is intended to be used to determine the first operative years in the title of a Board Homepage (e.g. 2017, 2018 etc)</noinclude><includeonly>{{#regex:May1...")
 
Line 1: Line 1:
<noinclude>This page is intended to be used to determine the first operative years in the title of a Board Homepage (e.g. 2017, 2018 etc)</noinclude><includeonly>{{#regex:May17|%^May(\d\d)$%|$1}}</includeonly>
+
<noinclude>This page is intended to be used to determine the first operative years in the title of a Board Homepage (e.g. 2017, 2018 etc)</noinclude><includeonly>
 +
{{#ifexpr:
 +
{{#regex:{{PAGENAME}}|%^May(\d\d)$%|$1}} = {{#regex:{{PAGENAME}}|%^Nov(\d\d)$%|$1}}
 +
|{{#dateformat:01 {{#regex:{{PAGENAME}}|%^(May)\d\d$%|$1}} 20{{#regex:{{PAGENAME}}|%^May(\d\d)$%|$1}}|ISO 8601}}
 +
|{{#ifexpr:
 +
{{#regex:{{PAGENAME}}|%^May(\d\d)$%|$1}} > {{#regex:{{PAGENAME}}|%^Nov(\d\d)$%|$1}}
 +
|{{#dateformat:01 {{#regex:{{PAGENAME}}|%^(Nov)\d\d$%|$1}} 20{{#regex:{{PAGENAME}}|%^May(\d\d)$%|$1}}|ISO 8601}}
 +
|ERR
 +
}}
 +
}}
 +
</includeonly>

Revision as of 17:53, 13 November 2018

This page is intended to be used to determine the first operative years in the title of a Board Homepage (e.g. 2017, 2018 etc)