Template:See also/sandbox
Jump to navigation
Jump to search
This is the template sandbox page for Template:See also (diff). See also the companion subpage for test cases. |
This template uses Lua: |
{{see also}} is used for small sets of see also information at the head of portal sections.
Usage
[edit]{{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
[edit]Code | Result |
---|---|
{{see also|Article}} | See also: Article
|
{{see also|Article|Article 2}} | |
{{see also|Article|Article 2|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.
See Also: Link to subsection
[edit]It possible to direct this template to link a particular section within another article.
{{See also|Michael Tritter#storyline|l1=Storyline}}
gives
See also: Storyline
"Hatnote" that there are other pages on similar topics
Parameter | Description | Type | Status | |
---|---|---|---|---|
Alternative text instead of "See also" | altphrase | no description | Content | optional |
The first page to link | 1 | no description | Page name | required |
The second page to link | 2 | no description | Unknown | optional |
3 | 3 | no description | Unknown | optional |
4 | 4 | no description | Unknown | optional |
5 | 5 | no description | Unknown | optional |
6 | 6 | no description | Unknown | optional |
7 | 7 | no description | Unknown | optional |
8 | 8 | no description | Unknown | optional |
9 | 9 | no description | Unknown | optional |
10 | 10 | no description | Unknown | optional |
11 | 11 | no description | Unknown | optional |
12 | 12 | no description | Unknown | optional |
13 | 13 | no description | Unknown | optional |
14 | 14 | no description | Unknown | optional |
15 | 15 | no description | Unknown | optional |