More actions
m Protected "Template:NOINDEX/doc": Initial wiki setup ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{wikipedia|page name}} | |||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
{{#ifeq:{{SUBPAGENAME}}|sandbox|| | {{#ifeq:{{SUBPAGENAME}}|sandbox||}} | ||
=== Usage === | === Usage === | ||
| Line 8: | Line 9: | ||
By default, the template displays no content. | By default, the template displays no content. | ||
*'''<nowiki> | *'''<nowiki></nowiki>''' | ||
or | or | ||
*'''<nowiki> | *'''<nowiki></nowiki>''' | ||
Parameters: | Parameters: | ||
| Line 18: | Line 19: | ||
=== Effects in different namespaces === | === Effects in different namespaces === | ||
This template has no effect in the main (article) namespace unless the article is less than 90 days old. This is to prevent abuse. All articles which include this template are assigned to | This template has no effect in the main (article) namespace unless the article is less than 90 days old. This is to prevent abuse. All articles which include this template are assigned to :Category:Noindexed articles regardless of their age (and whether they are actually noindexed or not). | ||
This template has no effect in the <code>Draft:</code> or <code>Draft Talk:</code> namespaces, both of which are automatically noindexed via a software setting. | This template has no effect in the <code>Draft:</code> or <code>Draft Talk:</code> namespaces, both of which are automatically noindexed via a software setting. | ||
=== Warnings === | === Warnings === | ||
'''Note:''' to avoid unexpected results or unnecessary duplication, read | '''Note:''' to avoid unexpected results or unnecessary duplication, read Wikipedia:Controlling search engine indexing to make sure you are familiar with the different ways noindexing is done. | ||
This template should not be used in articles. If an article is bad enough that search engines shouldn't index it, it should be nominated for deletion. <code><nowiki>__NOINDEX__</nowiki></code> is disabled in | This template should not be used in articles. If an article is bad enough that search engines shouldn't index it, it should be nominated for deletion. <code><nowiki>__NOINDEX__</nowiki></code> is disabled in article space and this template consequently has no effect there. | ||
Note: major search engines should respect the NOINDEX tag, but it may take days or even weeks for content already indexed to be removed from them. | Note: major search engines should respect the NOINDEX tag, but it may take days or even weeks for content already indexed to be removed from them. | ||
=== TemplateData === | === TemplateData === | ||
<TemplateData> | <TemplateData> | ||
{ | { | ||
| Line 45: | Line 45: | ||
</TemplateData> | </TemplateData> | ||
{{When on basepage| | {{When on basepage| | ||
Latest revision as of 06:20, 14 April 2025
| This page uses Creative Commons Licensed content from Wikipedia (view authors). |
| This is a documentation subpage for Template:NOINDEX It may contain usage information, categories and other content that is not part of the original template page. |
Usage
This template adds __NOINDEX__, which may remove the page from some external search engines and automatically categorizes pages in Category:Noindexed pages. This is sometimes done administratively
, but may also be done voluntarily by users to their own pages.
By default, the template displays no content.
or
Parameters:
|visible = yes– makes the template display a line of plain text to inform editors that the page is excluded from search engine indexing:|text =– customise the display text; defaults to "This page has been removed from search engines' indexes."
Effects in different namespaces
This template has no effect in the main (article) namespace unless the article is less than 90 days old. This is to prevent abuse. All articles which include this template are assigned to :Category:Noindexed articles regardless of their age (and whether they are actually noindexed or not).
This template has no effect in the Draft: or Draft Talk: namespaces, both of which are automatically noindexed via a software setting.
Warnings
Note: to avoid unexpected results or unnecessary duplication, read Wikipedia:Controlling search engine indexing to make sure you are familiar with the different ways noindexing is done.
This template should not be used in articles. If an article is bad enough that search engines shouldn't index it, it should be nominated for deletion. __NOINDEX__ is disabled in article space and this template consequently has no effect there.
Note: major search engines should respect the NOINDEX tag, but it may take days or even weeks for content already indexed to be removed from them.
TemplateData
This template adds __NOINDEX__ to a page, a search engine tag that prevents indexing
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Visible | visible | When set to 'yes', the template will display a message stating that the page is not indexed. | String | optional |