Difference between revisions of "Template:See also/doc"

From blackwiki
Jump to navigation Jump to search
test>Rich Farmbrough
(→‎Requirements: rm requirements for parser functions, almost all our tempaltes require them)
test>Rich Farmbrough
(/* {{Tlx|See also|Article 1|...|''Article 15''}} * Up to 15 parameters are permitted: only the first is mandatory. * The list is dynamically generated so that the word "and" is always placed between the final two entries. * If more than 15 entries)
Line 4: Line 4:
 
{{tlx|See also}} 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 is not for use in the "See also" ''section'' at the bottom of an article.
 
{{tlx|See also}} 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 is not for use in the "See also" ''section'' at the bottom of an article.
  
== Usage ==
 
  
  {{tlx|See also|Article 1|...|''Article 15''}}
+
  {{Tlx|See also|Article 1|...|''Article 15''}}
  
 
* Up to 15 parameters are permitted: only the first is mandatory.
 
* Up to 15 parameters are permitted: only the first is mandatory.

Revision as of 10:12, 19 April 2011

Usage

{{See also}} 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|...|Article 15}}
  • Up to 15 parameters are permitted: only the first is mandatory.
  • The list is dynamically generated so that the word "and" is always placed between the final two entries.
  • If more than 15 entries are supplied, a message will be displayed pointing out the problem.
  • You can use parameters l1 to l15 to specify alternative labels for the links.
NB 
make sure to start label parameters with a lowercase el (l), not a one (1) or pipe (|)
adding newline characters will break article links

Example

Code Result
{{See also|Article}}
{{See also|Article|l1=Alternative title for Article}}
{{See also|Article|Article 2}}
{{See also|Article|Article 2|Article 3}}
{{See also|Article|Article 2|l2=Alternative title for Article 2}}

And so on up to 15 parameters.

See Also: Link to subsection

It is possible to direct this template to link a particular section within another article.

{{See also|Michael Tritter#storyline|l1=Storyline}} gives

Template:Section template list

{{Otheruses}} List other uses for a word or term. More hatnotes: Template:Otheruses templates