Template:Clean URL
This template cleans up the display of external URLs, to simplify how they are shown on the wiki.
Usage
The URL should be passed as the only parameter of template. While the link itself will remain unchanged, the protocol, subdomains of www, and trailing slashes will all be cut from the text displayed.
{{clean URL|https://www.riso.co.jp/}}
Pattern recognition
Certain domains are recognized by this template, with custom simplification.
{{clean URL|https://www.instagram.com/risokagaku/}}
Archive.org
{{clean URL|https://web.archive.org/web/19990508115212/http://www4.mediagalaxy.co.jp/riso/}}
This template can be edited to facilitate additional pattern matches as needed.
TemplateData
An external URL display simplifier.
Parameter | Description | Type | Status | |
---|---|---|---|---|
URL | 1 | The URL to clean | URL | required |