Jump to content

Template:Soft redirect: Difference between revisions

From Elite Dangerous Wiki
Content deleted Content added
magic word has been implemented as of today
 
m Localise imported template guidance and policy links; preserve index layout and licence information
 
Line 1: Line 1:
__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><div style="font-size:85%; margin:-0.5em 0 0 48px;">This page is a [[Wikipedia:Soft redirect|soft redirect]].</div><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><div style="font-size:85%; margin:-0.5em 0 0 48px;">This page is a [[Project:Redirect|soft redirect]].</div><includeonly>{{#ifeq:{{{category|¬}}}|¬|{{#switch: {{NAMESPACE}}
| {{ns:0}} = [[Category:Wikipedia soft redirects|{{PAGENAME}}]]
| {{ns:0}} = [[Category:Wikipedia soft redirects|{{PAGENAME}}]]
| {{ns:Category}} = [[Category:Pages with templates in the wrong namespace]] {{error|Error! Please use {{t|category redirect}} instead of this template in Category: space.}}
| {{ns:Category}} = [[Category:Pages with templates in the wrong namespace]] {{error|Error! Please use {{t|category redirect}} instead of this template in Category: space.}}

Latest revision as of 09:56, 31 October 2026

Soft redirect to:[[:{{{1}}}|{{{1}}}]]

This page is a soft redirect.
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:Soft redirect/doc" to edit its documentation if it is available. (How does this work?)

Summary

This template 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:

Soft redirect to: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:

Soft redirect to:"Template:Interwiki redirect" on Meta

This page is a soft redirect.

Other examples

See also

This template is for creating soft redirects for targets that cannot by redirected using a classical redirect due to technical restrictions.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Target1

Interwiki location (without brackets)

Example
Meta:Template:Interwiki redirect
Stringrequired
Label2

Text that will be linked to the target

Example
"Template:Interwiki redirect" on Meta
Stringoptional
categorycategory

no description

Unknownoptional