Template:NOINDEX/doc

Category:Template documentation#NOINDEX/doc

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.

|reason = string - append a rationale for excluding the page from search engines. Only works when visible = yes.

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 main and file pages. __NOINDEX__ is disabled in main and file namespaces 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

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. <nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

Category:TemplateData documentation

This template adds __NOINDEX__ to a page, a search engine tag that prevents indexing

Template parameters

ParameterDescriptionTypeStatus
Visiblevisible

When set to 'yes', the template will display a message stating that the page is not indexed.

Stringoptional

Notes

Category:TemplateData documentation Category:Template documentation