<languages/>
Uses Lua: |
<translate> <tvar name=1>{{See also}}</tvar> is used to create hatnotes to point to a small number of other, related, titles at the top of article sections according to Wikipedia:Layout.</translate> <translate> It is not for use in the "See also" section at the bottom of an article.</translate>
{{See also|<translate> Article 1</translate>|label 1=<translate> label1</translate>|<translate> Article 2</translate>|label 2=<translate> label2</translate>|...}}
<translate>
- Any number of articles can be listed (at least one should be provided).</translate>
<translate>
- The word "and" is always placed between the final two entries.</translate>
<translate>
- You can use parameters label 1, label 2 and so on to specify alternative labels for the links.</translate>
<translate>
- Parameter <tvar name=1>
ll
</tvar> makes this template use <tvar name=2>{{ll}}</tvar>, which provides automatic linking to translation in user language, as well as using a translated default link text (overriding with <tvar name=3>label n
</tvar> still applies).
</translate>
- <translate> adding newline characters will break article links</translate>
<translate>
Example
</translate>
<translate> Code</translate> | <translate> Result</translate> |
---|---|
{{See also|Article}} |
<translate> See also</translate>: Article
|
{{See also|Article|label 1=<translate> Alternative title for Article</translate>}} |
<translate> See also</translate>: <translate> Alternative title for Article</translate>
|
{{See also|Article|Article 2}} | |
{{See also|Article|Article 2|Article 3}} | |
{{See also|Article|Article 2|ll=TRUE}} |
<translate> See also</translate>: Article translated and Article 2 translated
|
{{See also|Article|Article 2|l2=<translate> Alternative title for Article 2</translate>}} |
<translate> See also</translate>: Article and <translate> Alternative title for Article 2</translate>
|
This is the TemplateData documentation for this template used by VisualEditor and other tools.
See also
Display a note about a related page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page name | 1 | Full name of related page | Page name | required |
Link label | label 1 l1 | Custom link text, to serve as label instead of the page name.
| String | optional |
Page 2 | 2 | no description | Page name | optional |
Page 2 label | label 2 l2 | no description | Template | optional |
Page 3 | 3 | no description | Page name | optional |
Page 3 label | label 3 l3 | no description | String | optional |
Use {{ll}} | ll | If this parameter has any non-blank value, links are generated using {{ll}}, which provides automatic linking to translation in user language, as well as using a translated default link text (overriding link texts still applies). | Line | optional |
[[Category:Hatnote templates{{#translation:}}]]
[[Category:Template documentation pages{{#translation:}}]]
[[Category:Templates{{#translation:}}]]