Template:Soft redirect: Difference between revisions
Jump to navigation
Jump to search
(Wikipedia:Templates for discussion/Log/2021 March 17#Template:Double soft redirect closed as keep (XFDcloser)) |
imported>Paine Ellsworth (remove "Add topic" and new talk page experience from soft redirects) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
[[File:Softredirarrow.svg|64px|Soft redirect to:|link=]]<span class="redirectText" id="softredirect">[[:{{#invoke:String|match|1={{{1}}}|2=^:*(.-)$}}|{{{2|{{#invoke:String|match|1={{{1}}}|2=^:*(.-)$}}}}}]]</span><br /><span style="font-size:85%; padding-left:48px;">This page is a [[Wikipedia:Soft redirect|soft redirect]].</span><includeonly>{{#ifeq:{{{category|¬}}}|¬|{{#switch: {{NAMESPACE}} | __NONEWSECTIONLINK__[[File:Softredirarrow.svg|64px|Soft redirect to:|link=]]<span class="redirectText" id="softredirect">[[:{{#invoke:String|match|1={{{1}}}|2=^:*(.-)$}}|{{{2|{{#invoke:String|match|1={{{1}}}|2=^:*(.-)$}}}}}]]</span><br /><span style="font-size:85%; padding-left:48px;">This page is a [[Wikipedia:Soft redirect|soft redirect]].</span><includeonly>{{#ifeq:{{{category|¬}}}|¬|{{#switch: {{NAMESPACE}} | ||
| {{ns:0}} = [[Category:Wikipedia soft redirects|{{PAGENAME}}]] | | {{ns:0}} = [[Category:Wikipedia soft redirects|{{PAGENAME}}]] | ||
| {{ns:Category}} = [[Category:Wikipedia soft redirected categories|{{PAGENAME}}]]<!-- | | {{ns:Category}} = [[Category:Wikipedia soft redirected categories|{{PAGENAME}}]]<!-- | ||
Line 10: | Line 10: | ||
| {{TALKSPACE}} = [[Category:Wikipedia soft redirected talk pages]] | | {{TALKSPACE}} = [[Category:Wikipedia soft redirected talk pages]] | ||
| #default = [[Category:Wikipedia soft redirects|{{PAGENAME}}]] | | #default = [[Category:Wikipedia soft redirects|{{PAGENAME}}]] | ||
}}{{#ifeq:{{Is interwiki link|{{{1}}}}}|yes|[[Category:Wikipedia interwiki soft redirects|{{PAGENAME}}]]|{{#ifexist:{{{1}}}||[[Category:Wikipedia soft redirects to nonexistent targets|{{PAGENAME}} | }}{{#ifeq:{{Is interwiki link|{{{1}}}}}|yes|[[Category:Wikipedia interwiki soft redirects|{{PAGENAME}}]]|{{#ifexist:{{{1}}}||[[Category:Wikipedia soft redirects to nonexistent targets|{{PAGENAME}}]]}}}} | ||
}}{{Soft redirect protection}}</includeonly><noinclude> | }}{{Soft redirect protection}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 20:21, 27 August 2022
[[:{{{1}}}|{{{1}}}]]
This page is a soft redirect.
This template is used on approximately 6,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Summary
- 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]]
.
This places tagged pages in Category:Wikipedia soft redirects or Category:User soft redirects.
Usage
Single parameter
{{Soft redirect|target}}
Example
{{Soft redirect|Meta:Template:Interwiki redirect}}
will produce:
Meta:Template:Interwiki redirect
This page is a soft redirect.
Two parameters
{{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
See also
- Wikipedia:Soft redirect guideline
- {{Double soft redirect}}, a template for a "soft redirect with two targets".
- Wikipedia:Wikimedia sister projects § Specialized soft redirect templates