வார்ப்புரு:See also/doc
{{documentation subpage}}
 {{lua|Module:See also}}
 
 This template is used to create [[WP:Hatnotes|hatnotes]] to point to a small number of other, related, titles at the '''top''' of [[Help:Section|article sections]] according to [[Wikipedia:Layout]]. It looks like this:
 
 {{see also|Article}}
 
 It is not for use in the &quot;See also&quot; ''section'' at the end of an article, or links to other articles or subsections in the article text. Where subsections are linked to, [[Template:Section link]] may be suitable instead.
 
 == Usage ==
 
 ; Basic usage:
  &amp;#123;{see also|''page1''|''page2''|''page3''|...}}
 
 ; All parameters:
  &amp;#123;{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:
 * &lt;code&gt;1&lt;/code&gt;, &lt;code&gt;2&lt;/code&gt;, &lt;code&gt;3&lt;/code&gt;, ... – the pages to link to. At least one page name is required. Categories and files are automatically escaped with the [[Help:Colon trick|colon trick]], and links to sections are automatically formatted as ''page § section'', rather than the MediaWiki default of ''page#section''.
 * &lt;code&gt;label 1&lt;/code&gt;, &lt;code&gt;label 2&lt;/code&gt;, &lt;code&gt;label 3&lt;/code&gt;, ...; or &lt;code&gt;l1&lt;/code&gt;, &lt;code&gt;l2&lt;/code&gt;, &lt;code&gt;l3&lt;/code&gt;, ...; optional labels for each of the pages to link to.
 * &lt;code&gt;selfref&lt;/code&gt; – if set to &quot;yes&quot;, &quot;y&quot;, &quot;true&quot; or &quot;1&quot;, adds the CSS class &quot;selfref&quot;. This is used to denote self-references to Wikipedia. See [[Template:Selfref]] for more information.
 * &lt;code&gt;category&lt;/code&gt; – if set to &quot;no&quot;, &quot;n&quot;, &quot;false&quot;, or &quot;0&quot;, 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.
 
 == Examples ==
 
 * &lt;code&gt;&lt;nowiki&gt;{{see also|Article}}&lt;/nowiki&gt;&lt;/code&gt; → {{see also|Article}}
 * &lt;code&gt;&lt;nowiki&gt;{{see also|Article#Section}}&lt;/nowiki&gt;&lt;/code&gt; → {{see also|Article#Section}}
 * &lt;code&gt;&lt;nowiki&gt;{{see also|Article#Section|label 1=Custom section label}}&lt;/nowiki&gt;&lt;/code&gt; → {{see also|Article#Section|label 1=Custom section label}}
 * &lt;code&gt;&lt;nowiki&gt;{{see also|Article1|Article2|Article3}}&lt;/nowiki&gt;&lt;/code&gt; → {{see also|Article1|Article2 &amp;nbsp;|Article3}}
 * &lt;code&gt;&lt;nowiki&gt;{{see also|Article1|l1=Custom label 1|Article2|l2=Custom label 2}}&lt;/nowiki&gt;&lt;/code&gt; → {{see also|Article1|l1=Custom label 1 &amp;nbsp;|Article2|l2=Custom label 2}}
 
 == Errors ==
 
 If no page names are supplied, the template will output the following message:
 * {{see also|category=no}}
 
 If you see this error message, it is for one of four reasons:
 # No parameters were specified (the template code was &lt;code&gt;&lt;nowiki&gt;{{see also}}&lt;/nowiki&gt;&lt;/code&gt;). Please use &lt;code&gt;&lt;nowiki&gt;{{see also|&lt;/nowiki&gt;''page''&lt;nowiki&gt;}}&lt;/nowiki&gt;&lt;/code&gt; instead.
 # Some parameters were specified, but no page names were included. For example, the template text &lt;code&gt;&lt;nowiki&gt;{{see also|selfref=yes}}&lt;/nowiki&gt;&lt;/code&gt; will produce this error. Please use (for example) &lt;code&gt;&lt;nowiki&gt;{{see also|&lt;/nowiki&gt;''page''&lt;nowiki&gt;|selfref=yes}}&lt;/nowiki&gt;&lt;/code&gt; instead.
 # A page name was specified, but it contains an equals sign (&quot;=&quot;). The equals sign has a special meaning in template code, and because of this it cannot be used in template parameters that do not specify a parameter name. For example, the template code &lt;code&gt;&lt;nowiki&gt;{{see also|1+1=2|2+2=4}}&lt;/nowiki&gt;&lt;/code&gt; will produce this error. To work around this, you can specify the parameter name explicitly by using &lt;code&gt;1=&lt;/code&gt;, &lt;code&gt;2&lt;/code&gt;, etc., before the page name, like this: &lt;code&gt;&lt;nowiki&gt;{{see also|1=1+1=2|2=2+2=4}}&lt;/nowiki&gt;&lt;/code&gt;.
 # You tried to access [[Module:See also]] directly by using &lt;code&gt;&lt;nowiki&gt;{{#invoke:see also|seealso|&lt;/nowiki&gt;''text''&lt;nowiki&gt;}}&lt;/nowiki&gt;&lt;/code&gt;. Use of #invoke in this way has been disabled for performance reasons. Please use &lt;code&gt;&lt;nowiki&gt;{{see also|&lt;/nowiki&gt;''text''&lt;nowiki&gt;}}&lt;/nowiki&gt;&lt;/code&gt; instead.
 
 If you see this error message and are unsure of what to do, please post a message on [[WP:HD|the help desk]], and someone should be able to help you.
 
 Pages that contain this error message are tracked in [[:Category:Hatnote templates with errors]].
 
 == See also ==
 * {{tl|Category see also}}
 
 {{Hatnote templates}}
 {{Collapse top|TemplateData}}
 {{TemplateDataHeader}}
 &lt;templatedata&gt;
 {
 	&quot;description&quot;: &quot;This template creates a hatnote to point to a small number of related pages. It is placed at the top of a section, directly underneath the section heading.&quot;,
 	&quot;params&quot;: {
 		&quot;1&quot;: {
 			&quot;label&quot;: &quot;Page 1&quot;,
 			&quot;description&quot;: &quot;The name of the first page that you want to link to.&quot;,
 			&quot;type&quot;: &quot;string/line&quot;,
 			&quot;required&quot;: true
 		},
 		&quot;2&quot;: {
 			&quot;label&quot;: &quot;Page 2&quot;,
 			&quot;description&quot;: &quot;The name of the second page that you want to link to.&quot;,
 			&quot;type&quot;: &quot;string/line&quot;,
 			&quot;required&quot;: false
 		},
 		&quot;3&quot;: {
 			&quot;label&quot;: &quot;Page 3&quot;,
 			&quot;description&quot;: &quot;The name of the third page that you want to link to. More pages can be added using the parameters \&quot;4\&quot;, \&quot;5\&quot;, \&quot;6\&quot;, etc.&quot;,
 			&quot;type&quot;: &quot;string/line&quot;,
 			&quot;required&quot;: false
 		},
 		&quot;label 1&quot;: {
 			&quot;label&quot;: &quot;Label 1&quot;,
 			&quot;type&quot;: &quot;string/line&quot;,
 			&quot;description&quot;: &quot;What the first linked article is to be displayed as. &quot;,
 			&quot;aliases&quot;: [
 				&quot;l1&quot;
 			]
 		},
 		&quot;label 2&quot;: {
 			&quot;label&quot;: &quot;Label 2&quot;,
 			&quot;type&quot;: &quot;string/line&quot;,
 			&quot;description&quot;: &quot;What the second linked article is to be displayed as.&quot;,
 			&quot;aliases&quot;: [
 				&quot;l2&quot;
 			]
 		},
 		&quot;selfref&quot;: {
 			&quot;type&quot;: &quot;string/line&quot;,
 			&quot;label&quot;: &quot;Self reference&quot;,
 			&quot;description&quot;: &quot;Set to \&quot;yes\&quot; if the template is a self-reference to Wikipedia that would not make sense on mirrors or forks of the Wikipedia site.&quot;
 		},
 		&quot;category&quot;: {
 			&quot;label&quot;: &quot;Category&quot;,
 			&quot;description&quot;: &quot;Set to \&quot;no\&quot;, \&quot;n\&quot;, \&quot;false\&quot;, or \&quot;0\&quot; to suppresses the error tracking category (Category:Hatnote templates with errors). This only has an effect if no page names are specified.&quot;
 		},
 		&quot;label 3&quot;: {
 			&quot;aliases&quot;: [
 				&quot;l3&quot;
 			],
 			&quot;type&quot;: &quot;string/line&quot;,
 			&quot;label&quot;: &quot;Label 3&quot;,
 			&quot;description&quot;: &quot;What the third linked article is to be displayed as. Other labels can be added by using increasing numbers (starting with \&quot;label 4\&quot; or \&quot;l4\&quot; for page 4) as parameter names.&quot;
 		}
 	}
 }
 &lt;/templatedata&gt;
 {{Collapse bottom}}
 
 &lt;includeonly&gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||
 &lt;!-- Categories go here and interwikis go in Wikidata. --&gt;
 [[Category:Wikipedia page-section templates]]
 [[Category:List templates]]
 [[Category:Exclude in print]]
 [[Category:Hatnote templates]]
 [[Category:Related-topic templates]]