Jump to content

Template:For/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 2001:fb1:11f:230:fdcf:5f1b:13a6:29af (talk) at 17:55, 18 May 2025. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This template produces a hatnote similar to {{Other uses}}, but allowing more flexible text with links to multiple articles or disambiguation pages.

Tracking category

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

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:For in articles based on its TemplateData.

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.

Template parameters

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
Is self-reference?selfref

Set to yes to make this hatnote invisible on e.g. printed versions.

Default
no
Auto value
yes
Booleanoptional