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...")
 
 
(2 intermediate revisions by the same user not shown)
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 {{lc:{{#regex:{{PAGENAME}}|%^(May)\d\d$%|$1}}}} 20{{#regex:{{PAGENAME}}|%^May(\d\d)$%|$1}}|ymd}}
 +
|{{#ifexpr:
 +
{{#regex:{{PAGENAME}}|%^May(\d\d)$%|$1}} > {{#regex:{{PAGENAME}}|%^Nov(\d\d)$%|$1}}
 +
|{{#dateformat:01 {{lc:{{#regex:{{PAGENAME}}|%^(Nov)\d\d$%|$1}}}} 20{{#regex:{{PAGENAME}}|%^May(\d\d)$%|$1}}|ymd}}
 +
|ERR
 +
}}
 +
}}
 +
</includeonly>

Latest revision as of 17:56, 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)