틀:Soft redirect: 두 판 사이의 차이

Revi HQ
내용 추가됨 내용 삭제됨
(Undoing category add of Category:Wikipedia interwiki soft redirects - unless this template can be updated to check the target to see if it's on the English Wikipedia (can't figure that out right now), this throws most pages into category erroneously)
(+)
 
(사용자 3명의 중간 판 4개는 보이지 않습니다)
1번째 줄: 1번째 줄:
[[File:Softredirarrow.svg|64px|Soft redirect to:|link=]]<span class="redirectText" id="softredirect">[[:{{{1}}}|{{{2|{{{1}}}}}}]]</span><br /><span style="font-size:85%; padding-left:48px;">This page is a [[Wikipedia:Soft redirect|soft redirect]].</span><includeonly>{{#ifeq:{{{category|¬}}}|¬|{{#switch: {{NAMESPACE}}
[[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;">{{LangSwitch|en=This page is a [[:w:Wikipedia:Soft redirect|soft redirect]]|ko=이 문서는 [[:ko:백:넘나들기|넘나들기]]입니다.|default=이 문서는 [[:ko:백:넘나들기|넘나들기]]입니다.}}</span><noinclude>
| {{ns:0}} = [[Category:Wikipedia soft redirects|{{PAGENAME}}]]
| {{ns:Category}} = [[Category:Wikipedia soft redirected categories|{{PAGENAME}}]]<!--
-->{{#ifeq:{{PAGESINCATEGORY:{{PAGENAME}}}}|0||[[Category:Wikipedia non-empty soft redirected categories|{{PAGENAME}}]]}}
| {{ns:User}}
| {{ns:User talk}} = [[Category:User soft redirects|{{PAGENAME}}]]
| {{ns:Wikipedia}}
| {{ns:Help}} = [[Category:Wikipedia soft redirected project pages|{{PAGENAME}}]]
| {{ns:Template}} = [[Category:Wikipedia soft redirected templates|{{PAGENAME}}]]
| {{TALKSPACE}} = [[Category:Wikipedia soft redirected talk pages]]
| #default = [[Category:Wikipedia soft redirects|{{PAGENAME}}]]
}}
}}{{Soft redirect protection}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

2021년 1월 6일 (수) 07:18 기준 최신판

Soft redirect to:[[:{{{1}}}|{{{1}}}]]
이 문서는 넘나들기입니다.

Template documentation[view] [edit] [history] [purge]

틀:High-use

Summary

  • This template is for creating soft redirects, that is to say, short pages inviting readers to visit another page on a different Wikimedia 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, e.g. WP:DIVA, in which case {{Historical}} is usually also used, above the soft redirect template.
  • For redirecting categories, use 틀:Tlx instead.
  • For all other redirects within the English Wikipedia, please continue to use #REDIRECT [[Other article]].

This places tagged pages in Category:Wikipedia 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
이 문서는 넘나들기입니다.

Two parameters

{{Soft redirect|target|label}}

Example

{{Soft redirect|Lawn mower|grasscutter}} will produce:

Soft redirect to:grasscutter
이 문서는 넘나들기입니다.

Please remember that this is just to illustrate the second "label" parameter. Template:Soft redirect should not be used when #REDIRECT [[Lawn mower]] should be used.

Other examples

See also