Jump to content

Template:See also

From Caseyverse Wiki
Revision as of 12:05, 18 August 2024 by Tony (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
File:Template-info.svg Template documentation

Template:Lua

<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.
It is not for use in the "See also" section at the bottom of an article.
{{See also|Article 1|label 1= label1|Article 2|label 2= label2|...}}
  • Any number of articles can be listed (at least one should be provided).
  • The word "and" is always placed between the final two entries.
  • You can use parameters label 1, label 2 and so on to specify alternative labels for the links.
  • 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).
adding newline characters will break article links

Example

Template:(| class="wikitable" cellspacing="0" cellpadding="0" ! Code ! Result |- | valign="top" | {{See also|Article}} ||

|- | valign="top" | {{See also|Article|label 1= Alternative title for Article}} ||

|- | valign="top" | {{See also|Article|Article 2}} ||

|- | valign="top" | {{See also|Article|Article 2|Article 3}} ||

|- | valign="top" | {{See also|Article|Article 2|ll=TRUE}} ||

|- | valign="top" | {{See also|Article|Article 2|l2= Alternative title for Article 2}} ||

|Template:)

Template:See also/doc