Template:Soft redirect/doc: Difference between revisions
Appearance
imported>Deadfire creation |
Tungstenchan (talk | contribs) m Text replacement - "BattleTechWiki" to "BattleIntelligence" |
||
| Line 2: | Line 2: | ||
== Summary == | == Summary == | ||
* This template is for creating [[ | * 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 | * 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 == | ||
* [[ | * [[BattleIntelligence:Soft redirect]] guideline | ||
<templatedata> | <templatedata> | ||
Latest revision as of 01:09, 1 May 2025
| This is a documentation subpage for Template:Soft redirect. It may contain usage information, categories and other content that is not part of the original template page. |
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
- BattleIntelligence:Soft redirect guideline
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 |