From Wikfilipino
< Template:For
Revision as of 09:15, 23 March 2021 by Vvargas (talk | contribs) (Created page with "{{for|the template to create a for loop|Template:For loop}} {{documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> {{high-use| 149560 }} {{Lua|Module:F...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Script error: No such module "For".

Lua error in package.lua at line 80: module 'Module:Transclusion_count/data/F' not found.


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).

With one parameter (rare)

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. Template:Tlc 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 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

The second parameter is used to change the resultant link, e.g. Template:Tlc yields (wherever it is set, now independent of the article title): Script error: No such module "For".

With more parameters

The third, fourth and fifth parameters are used to give one, two, or three additional resultant links: Script error: No such module "For". Script error: No such module "For". Script error: No such module "For". the last being produced by e.g. Template:Tlc.

Tracking category

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

See also


This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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.


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

other people with the surname Smith
First link2

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

{{PAGENAME}} (disambiguation)
Second link3

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

Third link4

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

Fourth link5

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


Template:Hatnote templates