|
|||
(Een tussenliggende versie door dezelfde gebruiker niet weergegeven) | |||
Regel 9: | Regel 9: | ||
</pre> |
</pre> |
||
Edit the page to see the template text. |
Edit the page to see the template text. |
||
− | </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}}}} |
+ | </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}}}}</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.