Template:Soft redirect: Difference between revisions
imported>Deadfire m updating |
Tungstenchan (talk | contribs) m Text replacement - "BattleTechWiki" to "BattleIntelligence" |
||
| 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><br /><span style="font-size:85%; padding-left:48px;">This page is a [[ | __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 [[BattleIntelligence:Soft redirect|soft redirect]].</span><includeonly>{{#ifeq:{{{category|¬}}}|¬|{{#switch: {{NAMESPACE}} | ||
| {{ns:0}} = [[Category:Soft redirects|{{PAGENAME}}]] | | {{ns:0}} = [[Category:Soft redirects|{{PAGENAME}}]] | ||
| {{ns:Category}} = [[Category:Soft redirected categories|{{PAGENAME}}]]<!-- | | {{ns:Category}} = [[Category:Soft redirected categories|{{PAGENAME}}]]<!-- | ||
| Line 5: | Line 5: | ||
| {{ns:User}} | | {{ns:User}} | ||
| {{ns:User talk}} = [[Category:User soft redirects|{{PAGENAME}}]] | | {{ns:User talk}} = [[Category:User soft redirects|{{PAGENAME}}]] | ||
| {{ns: | | {{ns:BattleIntelligence}} | ||
| {{ns:Help}} = [[Category:Soft redirected project pages|{{PAGENAME}}]] | | {{ns:Help}} = [[Category:Soft redirected project pages|{{PAGENAME}}]] | ||
| {{ns:Template}} = [[Category:Soft redirected templates|{{PAGENAME}}]][[Category:Transclusionless templates]] | | {{ns:Template}} = [[Category:Soft redirected templates|{{PAGENAME}}]][[Category:Transclusionless templates]] | ||
Latest revision as of 01:18, 1 May 2025
Soft redirect to:[[:{{{1}}}|{{{1}}}]]
This page is a soft redirect.
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 |