Template:Format link/doc

From Koha Wiki
Jump to navigation Jump to search

This template formats a link for use in hatnote templates. It accepts two positional parameters, the link, and an optional display value. 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.

This template doesn't work with subst.

Usage

Link only:

Template:Tlc

Link plus display:

Template:Tlc

Link with an italicized page name:

Template:Tlc

Link with an italicized section name:

Template:Tlc

If the link or display values contain an equals sign, you will need to specify the parameter names like this:

Template:Tlc

Examples

See also