Sjabloon:Convert link: verschil tussen versies

Regel 11: Regel 11:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{{#var:varDisplayName|{{#if:{{{Alt name|}}}|{{{Alt name}}}|{{{Link name VN}}}}}{{#ifeq: {{#sub:{{{Link name VN|}}}|-2}} | VN | [[{{{Link name VN|}}}|{{#sub: {{{Link name VN|}}}|0|-3}}]] | [[{{#var:varDisplayName}}]]}}
+
</noinclude><includeonly>{{#var:varDisplayName|{{#if:{{{Alt name|}}}|{{{Alt name}}}|{{#sub: {{{Link name VN|}}}|0|-3}}}}{{#ifeq: {{#sub:{{{Link name VN|}}}|-2}} | VN | [[{{{Link name VN|}}}|{{#sub: {{{Link name VN|}}}|0|-3}}]] | [[{{#var:varDisplayName}}]]}}
 
</includeonly>
 
</includeonly>

Versie van 10 apr 2014 om 10:15

This is the "Convert Link" template. Its purpose is to remove the last 3 characters (" VN") of the given string (Link name VN)and turn the remaining string into a link.

The template should be called in the following format:

{{Convert Link
|Link name VN=
|Alt name=
}}

Edit the page to see the template text.

HZ University of Applied Sciences
Rijkswaterstaat, Ministerie van Infrastructuur en Milieu
Projectbureau Zeeweringen
Waterschap Scheldestromen
Provincie Zeeland
Deltares