Difference between revisions of "Template:See also"

From Event-B
Jump to navigationJump to search
imported>Mathieu
m (New page: <includeonly>:<span class="boilerplate seealso">''{{{altphrase|See also}}}: {{#if:{{{1|}}} |<!--then:-->[[:{{{1}}}|{{{l1|{{{1}}}}}}]] |<!--else:-->'''Error: [[Template:See also|Template mu...)
 
imported>Mathieu
m (cat)
 
Line 45: Line 45:
 
|}
 
|}
 
''And so on up to 15 parameters.''
 
''And so on up to 15 parameters.''
 +
[[Category:Page-section templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:16, 25 September 2008

{{See also}}} is used for small sets of see also information at the head of article sections according to Wikipedia:Guide to layout.

Requirements

This template requires the ParserFunctions extension.

Usage

{{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 
no newlines are permitted else the article links will be broken.

Example

Code Result
{{see also|Article}}
See also: Article
{{see also|Article|Article 2}}
See also: Article and Article 2
{{see also|Article|Article 2|Article 3}}
See also: Article, Article 2, and Article 3
{{see also|Article|Article 2|l2=Alternate title for Article 2}}
See also: Article and Alternate title for Article 2

And so on up to 15 parameters.