Template:Soft redirect/sandbox
[[:{{{1}}}|{{{1}}}]]
This page is a soft redirect.
This is the template sandbox page for Template:Soft redirect (diff). See also the companion subpage for test cases. |
Summary
[edit]- This template is for creating soft redirects, that is to say, short pages inviting readers to visit another page on a different Wikimedia project. This cannot be performed with a classical redirect due to technical restrictions.
- This template is also used to redirect an entry to a special page, in which case hard redirects have been disabled.
- Occasionally, it is used to effectively disable a redirect that has been deprecated, e.g. WP:DIVA, in which case {{Historical}} is usually also used, above the soft redirect template.
- For redirecting categories, use
{{Category redirect}}
instead. - For all other redirects within the English Wikipedia, please continue to use
#REDIRECT [[Other article]]
. - Per WP:SOFTSIS, the plain {{soft redirect}} template should not be used in the mainspace. Instead, use one of the specialized soft redirect templates.
This template places tagged pages in Category:Wikipedia soft redirects or Category:User soft redirects.
Usage
[edit]Single parameter
[edit]{{Soft redirect|target}}
Example
{{Soft redirect|Meta:Template:Interwiki redirect}}
will produce:
Meta:Template:Interwiki redirect
This page is a soft redirect.
Two parameters
[edit]{{Soft redirect|target|label}}
Example
{{Soft redirect|Meta:Template:Interwiki redirect|"Template:Interwiki redirect" on Meta}}
will produce:
"Template:Interwiki redirect" on Meta
This page is a soft redirect.
Other examples
[edit]See also
[edit]- Wikipedia:Soft redirect guideline
- Wikipedia:Wikimedia sister projects § Specialized soft redirect templates
This template is for creating soft redirects for targets that cannot by redirected using a classical redirect due to technical restrictions.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Target | 1 | Interwiki location (without brackets)
| String | required |
Label | 2 | Text that will be linked to the target
| String | optional |
category | category | no description | Unknown | optional |