Saltar para o conteúdo

Predefinição:For

Wikisource, a biblioteca livre
Documentação da predefinição[ver] [editar] [histórico] [purgar]

Usage

[editar]

This template yields a hatnote similar to {{Other uses}}, but allowing more flexible text with links to multiple articles or disambiguation pages. It accepts one or more parameters (zero is not allowed).

With one parameter (rare)

[editar]

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:

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 w:en:Treaty of Lisbon:

However, for many such cases specific new templates have been implemented, like {{Other people}}, {{Other places}} etc. - see hatnote template overview box below.

With two parameters

[editar]

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

With more parameters

[editar]

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

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

This template supports selfref (see {{self reference}} and w:en:MOS:SELFREF for details).

Tracking category

[editar]

Pages with errors reported by this template are added to Categoria:!Predefinições Hatnote que usam parâmetros desconhecidos.

See also

[editar]

TemplateData

[editar]
This is the TemplateData for this template used by TemplateWizard, Editor Visual and other tools.

TemplateData for For


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

Parâmetros da predefinição[Editar dados da predefinição]

Esta predefinição prefere a formatação em linha dos parâmetros.

ParâmetroDescriçãoTipoEstado
Description1

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

Exemplo
other people with the surname Smith
Stringobrigatório
First link2

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

Padrão
{{PAGENAME}} (disambiguation)
Nome da páginaopcional
Second link3

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

Nome da páginaopcional
Third link4

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

Nome da páginaopcional
Fourth link5

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

Nome da páginaopcional