Template:Agnosticurl

//

Purpose
Generate a URL-agnostic HTTP link to a local article without hardcoding the server or path components.

Args

 * 1) Page name, including namespace if any
 * 2) Optional; action to perform, such as edit or purge.