Template:See also: Difference between revisions

Template page
en>Tacsipacsi
(the colon should be outside of the template parameter, so that it appears when the parameter is provided)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 15:23, 19 January 2024

<languages/>

<translate> See also</translate>: [[:{{{1}}}]]
Template documentation

<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>}}
{{See also|Article|Article 2}}
<translate> See also</translate>: Article and Article 2
{{See also|Article|Article 2|Article 3}}
<translate> See also</translate>: Article, Article 2 and 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>}}


[<span style="" title="<translate nowrap> View this template</translate>"><translate> view</translate> · <span style="" title="<translate nowrap> Discuss this template</translate>"><translate> talk</translate> · <span style="" title="<translate nowrap> Edit this template</translate>"><translate> edit</translate>]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See also

[[Category:Templates using TemplateData{{#translation:}}]]

Display a note about a related page.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page name1

Full name of related page

Page namerequired
Link labellabel 1 l1

Custom link text, to serve as label instead of the page name.

Default
Page name
Stringoptional
Page 22

no description

Page nameoptional
Page 2 labellabel 2 l2

no description

Templateoptional
Page 33

no description

Page nameoptional
Page 3 labellabel 3 l3

no description

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

Lineoptional

[[Category:Hatnote templates{{#translation:}}]]

[[Category:Template documentation pages{{#translation:}}]]

[[Category:Templates{{#translation:}}]]