Skip to content
EntityQ16903852· pop 43

Template:Format link

Sign in to save

Also known as Template:Format hatnote link

Wikimedia template

In the Vinony graph

It is catalogued under topics including Internal link templates, Lua-based templates and Templates using TemplateData.

Vinony links it to 40 Wikipedia language editions.

Wikidata facts

via Wikidata · CC0

~3 min read

Encyclopedic overview

Template documentation view] [edit] [history] [purge]

This template formats a link for use in hatnote templates. It accepts up to three positional parameters, the link, an optional display value, and an optional target override (which if provided, makes the link parameter optional). These parameters may also be supplied by name, as link, display, and target respectively. Links to categories and files are automatically escaped with the colon trick, and links to sections are automatically formatted as page § section, rather than the MediaWiki default of page#section.

Excerpted from Wikipedia’s “Template:Format link” article, available under the CC BY-SA 4.0 licence.

Categories