Jump to content

Template:Soft redirect/doc: Difference between revisions

From BattleIntelligence
imported>Deadfire
creation
 
m Text replacement - "BattleTechWiki" to "BattleIntelligence"
 
Line 2: Line 2:


== Summary ==
== Summary ==
* This template is for creating [[BattleTechWiki:Soft redirect|soft redirects]], that is to say, short pages inviting readers to visit another page on a different Mediawiki project. This cannot be performed with a classical redirect due to technical restrictions.
* This template is for creating [[BattleIntelligence:Soft redirect|soft redirects]], that is to say, short pages inviting readers to visit another page on a different Mediawiki project. This cannot be performed with a classical redirect due to technical restrictions.
* This template is also used to redirect an entry to a [[Help:Special page|special page]], in which case hard redirects have been disabled.
* This template is also used to redirect an entry to a [[Help:Special page|special page]], in which case hard redirects have been disabled.
* Occasionally, it is used to effectively disable a redirect that has been deprecated
* Occasionally, it is used to effectively disable a redirect that has been deprecated
* For redirecting [[BTW:CAT|categories]], use {{Tlx|Category redirect}} instead.
* For redirecting [[BTW:CAT|categories]], use {{Tlx|Category redirect}} instead.
* For all other redirects within the BattleTechWiki, please continue to use <strong><code><nowiki>#REDIRECT [[Other article]]</nowiki></code></strong>.
* For all other redirects within the BattleIntelligence, please continue to use <strong><code><nowiki>#REDIRECT [[Other article]]</nowiki></code></strong>.


This template places tagged pages in [[:Category:Soft redirects]] or [[:Category:User soft redirects]].
This template places tagged pages in [[:Category:Soft redirects]] or [[:Category:User soft redirects]].
Line 29: Line 29:


== See also ==
== See also ==
* [[BattleTechWiki:Soft redirect]] guideline
* [[BattleIntelligence:Soft redirect]] guideline


<templatedata>
<templatedata>

Latest revision as of 01:09, 1 May 2025

Summary

  • This template is for creating soft redirects, that is to say, short pages inviting readers to visit another page on a different Mediawiki 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
  • For redirecting categories, use {{Category redirect}} instead.
  • For all other redirects within the BattleIntelligence, please continue to use #REDIRECT [[Other article]].

This template places tagged pages in Category: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.

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

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