Difference between revisions of "Template:Courtesy blanked/sandbox"
imported>MJL (show other cases - make default section - negation page - reorder) |
imported>MJL |
||
Line 1: | Line 1: | ||
<includeonly>__NOINDEX__</includeonly> | <includeonly>__NOINDEX__</includeonly> | ||
− | <includeonly>{{subst:</includeonly><includeonly>empty template|{{error:not substituted|Courtesy blanked}}}}</includeonly>{{ombox |image={{{image|[[File:Wikipedia-logo-blank.svg|40px|link=]]}}} |text= This {{<includeonly>safesubst:</includeonly>#switch: {{<includeonly>safesubst:</includeonly>lc:{{{section|}}}}}|sub|subpage=subpage|no|n|false|not|fullpage|f|¬ | + | <includeonly>{{subst:</includeonly><includeonly>empty template|{{error:not substituted|Courtesy blanked}}}}</includeonly>{{ombox |image={{{image|[[File:Wikipedia-logo-blank.svg|40px|link=]]}}} |text= This {{<includeonly>safesubst:</includeonly>#switch: {{<includeonly>safesubst:</includeonly>lc:{{{section|}}}}}|yes|y|true|section=section|sub|subpage=subpage|page|no|n|false|not|fullpage|f|¬|#default=page}} has been [[Wikipedia:Deletion policy#Courtesy blanking|blanked as a courtesy]]. {{<includeonly>safesubst:</includeonly>#ifeq:{{{arb|}}}|yes|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].}}{{<includeonly>safesubst:</includeonly>#if:{{{oldid|}}}| The contents of the page can be viewed in this [{{fullurl:{{FULLPAGENAME}}|oldid={{{oldid|}}}}} prior revision].|}}{{<includeonly>safesubst:</includeonly>#if:{{{1|}}}|<p>{{{1}}}|}} <!-- Template:Courtesy blanked --> |
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 22:19, 2 September 2019
![]() | This page has been blanked as a courtesy. |
![]() | This is the template sandbox page for Template:Courtesy blanked (diff). See also the companion subpage for test cases. |
![]() | This template should always be substituted (i.e., use {{subst:Courtesy blanked}}). |
Contents
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.
oldid
- If the page is expected to receive more comments (for example, if only a section is being blanked), use the
|oldid=
parameter to link directly to the last version before the section/page was blanked. 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
![]() | This page has been blanked as a courtesy. The Arbitration Committee's decision is still in effect, and can be viewed in the page history. |
![]() | This section has been blanked as a courtesy. |
![]() | This discussion has been blanked as a courtesy. |
![]() | This page has been blanked to prevent its contents being indexed by search engines. |
![]() | This page has been blanked per OTRS ticket <insert ticket number here>. |
![]() | This section has been blanked to show what it looks like to link to an oldid. The removed contents can be viewed in this prior revision. |
Template:Userspace Disclaimers
The above documentation is transcluded from Template:Courtesy blanked/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |