Toggle menu
15
236
75
27.7K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Short URL/doc: Difference between revisions

Template page
Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Usage == This template is used in conjunction with m:Special:UrlShortener, which creates short urls that can redirect to any page hosted by the Wikimedia Foundation. == Example == Assume the url <code>https://w.wiki/tR</code> redirects to Template:Short URL/doc. Now <code><nowiki>{{short URL|tR}}</nowik..."
 
(No difference)

Latest revision as of 19:36, 23 February 2025

Usage

This template is used in conjunction with m:Special:UrlShortener, which creates short urls that can redirect to any page hosted by the Wikimedia Foundation.

Example

Assume the url https://w.wiki/tR redirects to Template:Short URL/doc. Now {{short URL|tR}} creates tR, which links to the same place: here, the template's documentation page (not the template page where you likely are viewing the documentation from)

A second, optional parameter can be included to specify the display text; otherwise, it defaults to the redirect's code, in this case tR. Example:

{{short URL|tR|documentation}}

creates

documentation

See also