Template:Soft redirect/doc

From K6ka's Wiki
Jump to navigation Jump to search

Description[edit]

This template is used to create soft redirects. Simply put, a short redirect does not automatically redirect users like a "hard" redirect would, but instead requires readers to click on another link in order to get to where they need to go.

It is useful for linking to wikis on other websites, where it is not technically possible to create a hard redirect for. It is also good for redirecting any page outside of K6ka's Wiki, in order to avoid confusion by readers when they are suddenly redirected to a page outside of this wiki.

Usage[edit]

{{Soft redirect|<Title of page you want to redirect to>|<Displayed text (optional)>}}

For example:

{{Soft redirect|K6ka's Wiki:Sandbox}}

Produces:

Soft redirect to:K6ka's Wiki:Sandbox
This page is a soft redirect.

The second parameter changes the displayed text. It is optional.

{{Soft redirect|K6ka's Wiki:Sandbox|A place to make mud pies}}

Produces:

Soft redirect to:A place to make mud pies
This page is a soft redirect.

This template will automatically add pages to Category:Soft redirects. You can disable this using the parameter |nocat = yes.

{{Soft redirect|K6ka's Wiki:Sandbox|nocat=yes}}

Credits[edit]

This template's code was taken from Template:Soft redirect on the English Wikipedia.