Template:Soft redirect: Difference between revisions
Template page
More actions
Content deleted Content added
MediaWiki>Shirayuki m new tvar syntax |
Tesinormed (talk | contribs) No edit summary Tag: 2017 source edit |
||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[File:Redirect arrow without text.svg|link=|alt=redirect icon|class=skin-invert-image]]<span class="redirectText" id="softredirect">[[:{{{1}}}|{{#ifeq:{{{2|}}}||{{{1}}}|{{{2}}}}}]]</span> |
|||
<noinclude> |
|||
{{NoteInfo|This page is a soft redirect.}}<noinclude> |
|||
<languages/> |
|||
</noinclude>{{#switch:<translate></translate> |
|||
| = |
|||
[[File:Redirect arrow without text.svg|link=|#REDIRECT]]<span class="redirectText" id="softredirect">[[:{{{1}}}|{{#ifeq:{{{2|}}}||{{{1}}}|{{{2}}}}}]]</span><br /><span style="font-size:85%; padding-{{dir|{{pagelang}}|right|left}}:48px;"><translate><!--T:2--> This page is a [[<tvar name=meta>m:Special:MyLanguage/Soft redirect</tvar>|soft redirect]].</translate></span>{{#ifeq:{{{nocat|}}}| |
|||
|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Soft redirected pages]]|}} |
|||
}} |
|||
| #default= |
|||
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Soft redirect|noshift=1|uselang={{int:lang}}}} |
|||
}}<noinclude> |
|||
{{Documentation|content= |
|||
<translate><!--T:3--> This template is for redirecting to a different [[w:wiki|wiki]], which is currently not possible due to technical restrictions. The subject page is categorized under <tvar name=cat>{{ll|Category:Soft redirected pages}}</tvar>.</translate> |
|||
| ⚫ | |||
* <nowiki>{{Soft redirect|meta:Special:MyLanguage/Help:Edit summary}}</nowiki> |
|||
{{Soft redirect|meta:Special:MyLanguage/Help:Edit summary|nocat=1}} |
|||
* <nowiki>{{Soft redirect|meta:Special:MyLanguage/Help:Edit summary|Meta-Wiki}}</nowiki> |
|||
{{Soft redirect|meta:Special:MyLanguage/Help:Edit summary|Meta-Wiki|nocat=1}} |
|||
== TemplateData == |
|||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
| Line 42: | Line 22: | ||
</templatedata> |
</templatedata> |
||
| ⚫ | |||
}} |
|||
<pre>{{Soft redirect|wikipedia:Amaranth|Amaranth}}</pre> |
|||
[[Category:Redirect templates{{#translation:}}]] |
|||
{{Soft redirect|wikipedia:Amaranth|Amaranth}} |
|||
[[Category:META: Templates]] |
|||
</noinclude> |
</noinclude> |
||
Latest revision as of 16:41, March 3, 2025
[[:{{{1}}}|{{{1}}}]]
Create a soft redirect to another wiki.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Target | 1 | The external page name to link to, including interwiki prefix. | String | required |
| Label | 2 | The displayed text.
| Line | optional |
Examples
{{Soft redirect|wikipedia:Amaranth|Amaranth}}