Template:Pagetype: Difference between revisions
Template page
More actions
Created page with "{{<includeonly>safesubst:</includeonly>#invoke:pagetype|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
{{< | <noinclude> | ||
{{ | <languages/> | ||
<!-- | </noinclude>{{#switch:<translate></translate> | ||
| = | |||
[[File:Redirect arrow without text.svg|link=|class=skin-invert|#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 categorised under <tvar name=cat>{{ll|Category:Soft redirected pages}}</tvar>.</translate> | |||
<translate> | |||
== Examples == <!--T:4--> | |||
</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> | |||
{ | |||
"description": "Create a soft redirect to another wiki.", | |||
"format": "inline", | |||
"params": { | |||
"1": { | |||
"label": "Target", | |||
"description": "The external page name to link to, including interwiki prefix.", | |||
"required": true, | |||
"type": "string" | |||
}, | |||
"2": { | |||
"label": "Label", | |||
"description": "The displayed text.", | |||
"default": "{{{1}}}", | |||
"type": "line" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
}} | |||
[[Category:Redirect templates{{#translation:}}]] | |||
</noinclude> | </noinclude> |
Revision as of 23:15, 14 February 2025
[[:{{{1}}}|{{{1}}}]]
This page is a soft redirect.
This template is for redirecting to a different wiki, which is currently not possible due to technical restrictions. The subject page is categorised under Template:Ll.
Examples
- {{Soft redirect|meta:Special:MyLanguage/Help:Edit summary}}
meta:Special:MyLanguage/Help:Edit summary
This page is a soft redirect.
- {{Soft redirect|meta:Special:MyLanguage/Help:Edit summary|Meta-Wiki}}
Meta-Wiki
This page is a soft redirect.
TemplateData
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 |