Difference between revisions of "Template:Soft redirect/doc"

From Pin Eight
Jump to: navigation, search
(Documentation: A bit of guideline on how to salt a page)
(Documentation: Expanding scope to cover unprotected soft redirects)
Line 1: Line 1:
 
== Documentation ==
 
== Documentation ==
{{tl|Protected soft redirect}} is used to create a [[wikipedia:wikipedia:Soft redirect|soft redirect]] to an informative page on another web site, as an alternative to [[wikipedia:wikipedia:SALT|protecting the title of a deleted page]].
+
{{tl|Soft redirect}} (aka {{tl|Protected soft redirect}}) is used to create a [[wikipedia:wikipedia:Soft redirect|soft redirect]] to an informative page on another web site, as an alternative to [[wikipedia:wikipedia:SALT|protecting the title of a deleted page]].
Adding this template does not by itself protect the page; only an administrator can do that.
 
 
The talk page for a salted page should be either unprotected or redirected to another unprotected talk page.
 
The talk page for a salted page should be either unprotected or redirected to another unprotected talk page.
 +
If a page is salted because of heavy vandalism, ask an administrator to protect it.
  
The only required argument is <code>link</code>, whose value should be a double-bracketed [[special:interwiki|interwiki link]] or a single-bracketed external link. <code>site</code> is the name of the site with the linked page, and <code>because</code> is a reason for salting the page.
+
The only required argument is <code>link</code>, whose value should be a double-bracketed [[special:interwiki|interwiki link]] or a single-bracketed external link. <code>site</code> is the name of the site with the linked page, and <code>because</code> is a reason for salting the page, displayed only if the page is in fact protected.
  
 
Examples of use:
 
Examples of use:
*<code><nowiki>{{Protected soft redirect|because=it is a spam magnet|site=Wikipedia|link=[[wikipedia:Sildenafil]]}}</nowiki></code>
+
*<code><nowiki>{{Soft redirect|because=it is a spam magnet|site=Wikipedia|link=[[wikipedia:Sildenafil]]}}</nowiki></code>

Revision as of 16:15, 17 May 2011

Documentation

{{Soft redirect}} (aka {{Protected soft redirect}}) is used to create a soft redirect to an informative page on another web site, as an alternative to protecting the title of a deleted page. The talk page for a salted page should be either unprotected or redirected to another unprotected talk page. If a page is salted because of heavy vandalism, ask an administrator to protect it.

The only required argument is link, whose value should be a double-bracketed interwiki link or a single-bracketed external link. site is the name of the site with the linked page, and because is a reason for salting the page, displayed only if the page is in fact protected.

Examples of use:

  • {{Soft redirect|because=it is a spam magnet|site=Wikipedia|link=[[wikipedia:Sildenafil]]}}