Template:For/doc

From TWC Archive
Jump to navigation Jump to search

(The above was produced by: {{For|the template to create a for loop|Template:For loop}}.)

This template yields a hatnote with links to up to four articles or disambiguation pages. It accepts zero to five parameters. The first parameter sets the hatnote itself and should be plain text, e.g. {{For|similar terms}} yields:

The second parameter is used to change the resultant link, e.g. {{For|similar terms|Foobar}} yields:

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

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

See also

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

Default
other uses
Example
other people with the surname Smith
Stringoptional
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