Regel 7: | Regel 7: | ||
{{Convert Link |
{{Convert Link |
||
|Link name VN= |
|Link name VN= |
||
− | |||
}} |
}} |
||
</pre> |
</pre> |
||
Edit the page to see the template text. |
Edit the page to see the template text. |
||
− | </noinclude><includeonly> |
+ | </noinclude><includeonly>{{#ifeq: {{#sub:{{{Link name VN|}}}|-2}} | VN | [[{{{Link name VN|}}}|{{#sub: {{{Link name VN|}}}|0|-3}}]] | [[{{{Link name VN|}}}]]}} |
</includeonly> |
</includeonly> |
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= }}
Edit the page to see the template text.