Template:Relative link

From Killing Floor Wiki
Jump to: navigation, search
[edit] [purge] Template-info.svg Template documentation


This template is designed as a quick way to create relative links to section headers and anchors within a page with use of the redirect {{rl}}.


{{rl|See also}}
This appears as See also. The code to do this without the template is as follows:
[[#See also|See also]]

Using this template for links that are one character long uses the same amount of characters as the code to do so without the template.

There also is an option to change the text in the link like so:

{{rl|Usage|The usage section}}

With the outcome The usage section. However this way of using the template actually uses more characters than it would take to type it out without use of the template. In this case the quickest way to create the link is like so:

[[#Usage|The usage section]]

See also[edit]