Template:For
| This template is used on approximately 209,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
| This template uses Lua: |
This template produces a hatnote similar to {{Other uses}}, but allowing more flexible text with links to multiple articles or disambiguation pages.
Usage
It accepts one or more 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. {{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 Treaty of Lisbon:
However, for many such cases specific new templates have been implemented, like {{Other people}}, {{Other places}} etc. see the hatnote template overview box below.
With two parameters
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):
With more parameters
The third, fourth and fifth parameters are used to give one, two, or three additional resultant links:
For instance, the last note is produced by {{For|similar terms|Foobar|Bar|Baz|Quux}}.
The |selfref=yes option marks the entire hatnote as a Wikipedia self-reference, causing it to be omitted when the page content is reused outside of Wikipedia (see {{self reference}} and MOS:SELFREF for more details).
Styling in italics
Please see Wikipedia:Hatnote § Hatnotes with italics in the links (WP:ITHAT) for details about how to use italics in hatnotes.
Tracking category
Pages with errors reported by this template are added to Category:Hatnote templates using unusual parameters.
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Description | 1 | a phrase describing the major alternative, or a general term for all alternative meanings
| String | required |
| First link | 2 | A page to link to; usually a disambiguation page or the most likely other meaning.
| Page name | optional |
| Second link | 3 | A page to link to for another meaning, if any. | Page name | optional |
| Third link | 4 | A page to link to for another meaning, if any. | Page name | optional |
| Fourth link | 5 | A page to link to for another meaning, if any. | Page name | optional |
| Is self-reference? | selfref | Set to yes to make this hatnote invisible in certain versions, e.g. when printed.
| Boolean | optional |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.