Template:See also/doc

From TSG Doc
Jump to navigation Jump to search

This template 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 looks like this:

See also: Main Page

It is not for use in the "See also" section at the end of an article, or links to other articles or subsections in the article text.

Usage

Basic usage
{{see also|page1|page2|page3|...}}
All parameters
{{see also
| page1 | page2 | page3 | ...
| label 1 = label 1 | label 2 = label2 | label 3 = label3 | ...
| l1 = label1 | l2 = label2 | l3 = label3 | ...
| selfref = yes
| category = no
}}

Parameters

This template accepts the following parameters:

  • 1, 2, 3, ... – the pages to link to. At least one page name is required. Categories and files are automatically escaped with the colon trick, and links to sections are automatically formatted as page § section, rather than the MediaWiki default of page#section.
  • label 1, label 2, label 3, ...; or l1, l2, l3, ...; optional labels for each of the pages to link to.
  • selfref – if set to "yes", "y", "true" or "1", adds the CSS class "selfref". This is used to denote self-references to Wikipedia. See Template:Selfref for more information.
  • category – if set to "no", "n", "false", or "0", suppresses the error tracking category (Category:Hatnote templates with errors). This only has an effect if the first positional parameter (the page to link to) is omitted.