Template:For: Difference between revisions
Appearance
m new tvar syntax |
m 1 revision imported: Initial |
||
(No difference)
|
Latest revision as of 14:50, 29 December 2024
For other uses, see: For (disambiguation).
Template documentation
Usage
This template is used to display a note directing users to a related page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Target description | 1 | Used as sentence part in "For [target description], see [target]."
| String | suggested |
Target page | 2 | Page name of related article | Page name | required |
Second target page | 3 | Page name of another related article | Page name | optional |
Third target page | 4 | Page name of another related article | Page name | optional |
Fourth target page | 5 | Page name of another related article | Page name | optional |
Examples
Wikitext | Output |
---|---|
{{for|an example|Example}} | <translate>
For {{<tvar name=1>#if:an example|an example</tvar>|other uses}}, see: <tvar name=2>Example</tvar>.</translate>
|
{{for|2=Example}} | <translate>
For {{<tvar name=1>#if:|{{{1}}}</tvar>|other uses}}, see: <tvar name=2>Example</tvar>.</translate>
|
{{for|2=Example|3=Example2}} | |
{{for|2=Example|3=Example2|4=Example3|5=Example4}} |