틀:Soft redirect: 두 판 사이의 차이
Revi HQ
내용 추가됨 내용 삭제됨
(update to categorize on namespace) |
(Use #switch: instead of #ifeq: to slash code.) |
||
1번째 줄: | 1번째 줄: | ||
[[Image:Redirectltr.png|#REDIRECT ]]<span class="redirectText" id="softredirect">[[{{{1}}}]]</span><br /><span style="font-size:85%; padding-left:52px;">This page is a [[Wikipedia:Soft redirect|soft redirect]].</span><includeonly>{{{category|{{# |
[[Image:Redirectltr.png|#REDIRECT ]]<span class="redirectText" id="softredirect">[[{{{1}}}]]</span><br /><span style="font-size:85%; padding-left:52px;">This page is a [[Wikipedia:Soft redirect|soft redirect]].</span><includeonly>{{{category|{{#switch: {{NAMESPACE}} |
||
| {{ns:2}} |
|||
| {{ns:3}} = [[Category:User soft redirects|{{PAGENAME}}]] |
|||
| {{ns:4}} |
|||
| {{ns:12}} = [[Category:Wikipedia soft redirected project pages|{{PAGENAME}}]] |
|||
| {{ns:10}} = [[Category:Wikipedia soft redirected templates|{{PAGENAME}}]] |
|||
| #default = {{talk other|[[Category:Wikipedia soft redirected talk pages]] | [[Category:Wikipedia soft redirects|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude> |
|||
{{Documentation}} |
{{Documentation}} |
||
{{pp-template|small=yes}} |
{{pp-template|small=yes}} |
2009년 1월 10일 (토) 05:20 판
[[{{{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 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:
Meta:Template:Interwiki redirect
This page is a soft redirect.
Two parameters
{{Soft redirect|target|label}}
Example
{{Soft redirect|Lawn mower|grasscutter}}
will produce:
Lawn mower
This page is a soft redirect.
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
- Wikipedia:Soft redirect guideline
- {{Double soft redirect}}, a template for a "soft redirect with two targets".
- {{Triple soft redirect}}, a template for a “soft redirect with three targets”.
- 틀:Section link