(Nieuwe pagina aangemaakt met '<noinclude> Category:EMont core This is the "CleanURL" template. It should be called in the following format: <pre> {{CleanURL |URL= }} </pre> Edit the page to...')
|
|||
Regel 9: | Regel 9: | ||
</pre> |
</pre> |
||
Edit the page to see the template text. |
Edit the page to see the template text. |
||
− | </noinclude><includeonly> |
+ | </noinclude><includeonly>{{#vardefine:varHL1|{{{URL|}}}}}{{#vardefine:varPos|{{#rpos:{{#var:varHL1}}|//}}}}{{#vardefine:varHL2|{{#ifexpr:{{#var:varPos}}>=0|{{#sub:{{#var:varHL1}}|{{#expr:{{#var:varPos}}+2}}}}|{{#var:varHL1}}}}}}{{#ifexpr:{{#rpos:{{#var:varHL2}}|www}}=0|{{#sub:{{#var:varHL2}}|4}}{{#var:varHL2}}}} |
− | {{#vardefine:varHL1|{{{URL|}}}}}{{#vardefine:varPos|{{#rpos:{{#var:varHL1}}|//}}}}{{#vardefine:varHL2|{{#ifexpr:{{#var:varPos}}>=0|{{#sub:{{#var:varHL1}}|{{#expr:{{#var:varPos}}+2}}}}|{{#var:varHL1}}}}}}{{#ifexpr:{{#rpos:{{#var:varHL2}}|www}}=0|{{#sub:{{#var:varHL2}}|4}} |
||
</includeonly> |
</includeonly> |
This is the "CleanURL" template. It should be called in the following format:
{{CleanURL |URL= }}
Edit the page to see the template text.