Editing
Template:Relative link/doc
From Killing Floor wiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<noinclude> {{DEFAULTSORT:{{PAGENAME}}}} [[Category:Template documentation]] {{Documentation subpage|Relative link}} </noinclude> <!-- PLEASE ADD CATEGORIES FOR THE TEMPLATE AT THE BOTTOM OF THIS PAGE --> == Usage == 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 {{[[Template:rl|rl]]}}. === Syntax === <pre> {{rl|See also}} </pre>This appears as {{rl|See also}}. The code to do this without the template is as follows: <pre> [[#See also|See also]] </pre> 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: <pre> {{rl|Usage|The usage section}} </pre> With the outcome {{rl|Usage|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: <pre> [[#Usage|The usage section]] </pre> === See also === *[[Template:rl]] *[[Template:Anchor]] <includeonly> <!-- CATEGORIES FOR THE TEMPLATE HERE, THANKS --> {{DEFAULTSORT:{{PAGENAME}}}} [[Category:Formatting templates]] </includeonly>
Summary:
Please note that all contributions to Killing Floor wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
Project:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Documentation subpage
(
edit
)
Template:Relative link
(
edit
)
Template:Rl
(
edit
)
Navigation menu
Page actions
Template
Discussion
Read
Edit
History
Page actions
Template
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information