Template:NOINDEX/doc

From Sapphire Wiki
Revision as of 03:44, 9 March 2015 by Bryan (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

This template adds __NOINDEX__, which may remove the page from some search engines and automatically categorizes pages in Category:Noindexed pages. By default, it displays no content.

  • {{NOINDEX}}

or

  • {{NOINDEX|visible=yes}}

Parameters:

|visible = yes – makes the template display a line of plain text to inform editors that the page is excluded from search engine indexing:

This page has been removed from search engines' indexes.

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 is the TemplateData documentation for this template used by VisualEditor and other tools.

NOINDEX

<TemplateData> {

       "description": "This template adds  to a page, a search engine tag that prevents indexing",
       "params": {
               "visible": {
                       "label": "Visible",
                       "description": "When set to 'yes', the template will display a message stating that the page is not indexed.",
                       "type": "string",
                       "required": false
               }
       }

} </TemplateData>

Notes

<references group="" responsive="1"></references>