Difference between revisions of "Template:For/doc"
test>Funkenstern (Undid revision 956509637 by Funkenstern (talk)) |
test>Colonies Chris (minor fixes) |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
| − | {{high- | + | {{high-use| 149560 }} |
{{Lua|Module:For}} | {{Lua|Module:For}} | ||
| Line 7: | Line 7: | ||
(The above was produced by: {{tlc|For|the template to create a for loop|Template:For loop}}.) | (The above was produced by: {{tlc|For|the template to create a for loop|Template:For loop}}.) | ||
| − | This template yields a [[WP: | + | This template yields a [[WP:Hatnote|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. {{tlc|For|similar terms}} yields: | The first parameter sets the hatnote itself and should be plain text, e.g. {{tlc|For|similar terms}} yields: | ||
{{hatnote|For similar terms, see [[:Foo (disambiguation)]].}} | {{hatnote|For similar terms, see [[:Foo (disambiguation)]].}} | ||
| Line 17: | Line 17: | ||
{{For|similar terms|Foobar|Bar|Baz|Quux}} | {{For|similar terms|Foobar|Bar|Baz|Quux}} | ||
the last being produced by e.g. {{tlc|For|similar terms|Foobar|Bar|Baz|Quux}}. | the last being produced by e.g. {{tlc|For|similar terms|Foobar|Bar|Baz|Quux}}. | ||
| + | |||
==See also== | ==See also== | ||
* {{tl|See also}} | * {{tl|See also}} | ||
| + | |||
==TemplateData== | ==TemplateData== | ||
| − | {{ | + | {{TemplateData header}} |
<templatedata> | <templatedata> | ||
{ | { | ||
Revision as of 19:03, 30 August 2020
| This is a documentation subpage for Template:For. It contains usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 158,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. Transclusion count updated automatically (see documentation). |
| This template uses Lua: |
(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
- {{See also}}
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 | optional |
| First link | 2 | A page to link to; usually a disambiguation page or the most likely other meaning.
| Page | optional |
| Second link | 3 | A page to link to for another meaning, if any. | Page | optional |
| Third link | 4 | A page to link to for another meaning, if any. | Page | optional |
| Fourth link | 5 | A page to link to for another meaning, if any. | Page | optional |