Difference between revisions of "Template:Courtesy blanked/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
imported>Primefac
(update doc post-merge)
Line 12: Line 12:
 
This template must be substituted: use {{tlsx|Courtesy blanked}}. Wikipedia and search engines shouldn't index courtesy blanked pages, and substituting this template adds the <nowiki>__NOINDEX__</nowiki> [[Help:Magic words|magic word]] to the page being blanked.
 
This template must be substituted: use {{tlsx|Courtesy blanked}}. Wikipedia and search engines shouldn't index courtesy blanked pages, and substituting this template adds the <nowiki>__NOINDEX__</nowiki> [[Help:Magic words|magic word]] to the page being blanked.
  
If using this on the final decision page (main page) of an Arbitration case, type {{tlsx|courtesy blanked|<nowiki>arb=yes</nowiki>}} instead, so that people know the decision is still in effect, and how to find it.
+
Make sure ''not'' to blank categories the page may be included in.
  
If using the template for a section rather than a full page, use {{tlsx|Courtesy blanked|<nowiki>section=yes</nowiki>}}.
+
In some situations, {{tl|Afd-privacy}} may also be useful.
  
Make sure ''not'' to blank categories the page may be included in.
+
===Parameters===
 +
;<code>arb</code>:If using this on the final decision page (main page) of an Arbitration case, type {{tlsx|courtesy blanked|<nowiki>arb=yes</nowiki>}} instead, so that people know the decision is still in effect, and how to find it.
 +
;<code>index</code>: If anything is sent to this parameter, will give a notice about the page being blanked to avoid indexing.
 +
;<code>reason</code>: If a reason other than the default reason is desired, pass the reason to this parameter
 +
;<code>type</code>: Defines the type of blanking. Common usage is "section", "subpage", or "discussion". Defaults to "page".
  
In some situations, {{tl|Afd-privacy}} may also be useful.
+
==Examples==
 +
{{tlsx|courtesy blanked|arb{{=}}yes}}
 +
__NOINDEX__
 +
{{ombox
 +
|image=[[File:Wikipedia-logo-blank.svg|40px]]
 +
|text= This page has been [[Wikipedia:Deletion policy#Courtesy blanking|blanked as a courtesy]]. The [[Wikipedia:Arbitration Committee|Arbitration Committee]]'s decision is still in effect, and can be viewed in the [{{fullurl:Wikipedia:{{PAGENAME}}|action=history}} page history]. <!-- Template:Courtesy blanked -->
 +
}}
 +
{{tlsx|courtesy blanked|type{{=}}section}}
 +
__NOINDEX__
 +
{{ombox
 +
|image=[[File:Wikipedia-logo-blank.svg|40px]]
 +
|text= This section has been [[Wikipedia:Deletion policy#Courtesy blanking|blanked as a courtesy]].  <!-- Template:Courtesy blanked -->
 +
}}
 +
{{tlsx|courtesy blanked|type{{=}}discussion}}
 +
__NOINDEX__
 +
{{ombox
 +
|image=[[File:Wikipedia-logo-blank.svg|40px]]
 +
|text= This discussion has been [[Wikipedia:Deletion policy#Courtesy blanking|blanked as a courtesy]].  <!-- Template:Courtesy blanked -->
 +
}}
 +
{{tlsx|courtesy blanked|index{{=}}yes}}
 +
__NOINDEX__
 +
{{ombox
 +
|image=[[File:Wikipedia-logo-blank.svg|40px]]
 +
|text= This page has been blanked to prevent its contents being indexed by search engines.  <!-- Template:Courtesy blanked -->
 +
}}
 +
{{tlsx|courtesy blanked|reason{{=}}per OTRS ticket <insert ticket number here>}}
 +
__NOINDEX__
 +
{{ombox
 +
|image=[[File:Wikipedia-logo-blank.svg|40px]]
 +
|text= This page has been blanked per OTRS ticket <insert ticket number here>. <!-- Template:Courtesy blanked -->
 +
}}
  
 
{{Userspace Disclaimers}}
 
{{Userspace Disclaimers}}

Revision as of 00:28, 18 March 2020

Courtesy blanking

Courtesy blanking is undertaken on pages where content there is, for one reason or another, not appropriate to be displayed as the current page revision. In such cases, the page is replaced with this template, a process known as courtesy blanking.

Courtesy blanking does not entail any revision deletion (see, Wikipedia:Deletion policy and Wikipedia:Hiding revisions). The content previously on the page will be visible through the page history; to view it, simply click the "history" tab at the page top, and view an older revision.

Usage

This template must be substituted: use Template:Tlsx. Wikipedia and search engines shouldn't index courtesy blanked pages, and substituting this template adds the __NOINDEX__ magic word to the page being blanked.

Make sure not to blank categories the page may be included in.

In some situations, {{Afd-privacy}} may also be useful.

Parameters

arb
If using this on the final decision page (main page) of an Arbitration case, type Template:Tlsx instead, so that people know the decision is still in effect, and how to find it.
index
If anything is sent to this parameter, will give a notice about the page being blanked to avoid indexing.
reason
If a reason other than the default reason is desired, pass the reason to this parameter
type
Defines the type of blanking. Common usage is "section", "subpage", or "discussion". Defaults to "page".

Examples

Template:Tlsx

Template:Tlsx

Template:Tlsx

Template:Tlsx

Template:Tlsx

Template:Userspace Disclaimers