Documentation icon ފަންވަތް ޑޮކިއުމަންޓޭޝަން[view] [edit] [history] [ޕާރޖް]
For the template to create a for loop, see Template:For loop.
This template yields a hatnote similar to

{{Other uses}}, but allowing more flexible text with links to up to four articles or disambiguation pages. It accepts one to five parameters (zero is not allowed).

The first parameter sets the hatnote itself and should be plain text. Without any further parameter, it will link to a default disambiguation page for the article title, e.g. {{For|other entities}} yields on page Foo:

For other entities, see Foo (disambiguation).
This kind of usage with exactly one parameter is rare, as in most instances
{{Other uses}} (and in this case,

{{About}} with the same result) can be used more easily, and without any parameter. But it makes sense in some cases for disambiguation pages with the same type of other meanings, e.g. in Treaty of Lisbon:

For earlier treaties known as Treaty of Lisbon, see Treaty of Lisbon (disambiguation).
However, for many such cases specific new templates have been implemented, like
{{Other people}},

{{Other places}} etc. - see hatnote template overview box below.

The second parameter is used to change the resultant link, e.g. {{For|the acronym|FOO}} yields (wherever it is set, now independent of the article title):

For the acronym, see FOO.

The third, fourth and fifth parameters are used to give one, two, or three additional resultant links:

For similar terms, see Foobar and Bar.
For similar terms, see Foobar, Bar, and Baz.
For similar terms, see Foobar, Bar, Baz, and Quux.

the last being produced by e.g. {{For|similar terms|Foobar|Bar|Baz|Quux}}.

Pages with errors reported by this template are added to Category:Hatnote templates using unusual parameters.

{{About}}

{{For2}}

{{See also}}

This is the TemplateData documentation for this template used by VisualEditor and other tools.

For

This template lists up to four articles on alternative meanings of a term. For further details and examples see the template documentation.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Description1

a phrase describing the major alternative, or a general term for all alternative meanings

Example
other people with the surname Smith
Stringrequired
First link2

A page to link to; usually a disambiguation page or the most likely other meaning.

Default
{{PAGENAME}} (disambiguation)
Page nameoptional
Second link3

A page to link to for another meaning, if any.

Page nameoptional
Third link4

A page to link to for another meaning, if any.

Page nameoptional
Fourth link5

A page to link to for another meaning, if any.

Page nameoptional

ފަންވަތް:Hatnote templates