Difference between revisions of "Template:See also/doc"
Jump to navigation
Jump to search
test>Rich Farmbrough |
test>Rich Farmbrough (revert paramter names changes for now) |
||
| Line 10: | Line 10: | ||
* The word "and" is always placed between the final two entries. | * 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.<!-- this is relatively ungraceful failure --> | * If more than 15 entries are supplied, a message will be displayed pointing out the problem.<!-- this is relatively ungraceful failure --> | ||
| − | * You can use parameters | + | * You can use parameters l1 to l15 to specify alternative labels for the links. |
:adding newline characters will break article links <1-- presumably because of the leading ":" --> | :adding newline characters will break article links <1-- presumably because of the leading ":" --> | ||
| Line 19: | Line 19: | ||
| valign="top"|{{Tlx|See also|Article}}||{{See also|Article}} | | valign="top"|{{Tlx|See also|Article}}||{{See also|Article}} | ||
|- | |- | ||
| − | | valign="top"|{{Tlx|See also|Article|3= | + | | valign="top"|{{Tlx|See also|Article|3=l1=Alternative title for Article}}||{{See also|Article|l1=Alternative title for Article}} |
|- | |- | ||
| valign="top"|{{Tlx|See also|Article|Article 2}}||{{See also|Article|Article 2}} | | valign="top"|{{Tlx|See also|Article|Article 2}}||{{See also|Article|Article 2}} | ||
| Line 25: | Line 25: | ||
| valign="top"|{{Tlx|See also|Article|Article 2|Article 3}}||{{See also|Article|Article 2|Article 3}} | | valign="top"|{{Tlx|See also|Article|Article 2|Article 3}}||{{See also|Article|Article 2|Article 3}} | ||
|- | |- | ||
| − | | valign="top"|{{Tlx|See also|Article|Article 2|4= | + | | valign="top"|{{Tlx|See also|Article|Article 2|4=l2=Alternative title for Article 2}}||{{See also|Article|Article 2|l2=Alternative title for Article 2}} |
|} | |} | ||
''And so on up to 15 parameters.'' | ''And so on up to 15 parameters.'' | ||
Revision as of 11:06, 19 April 2011
| This is a documentation subpage for Template:See also. It contains usage information, categories and other content that is not part of the original template page. |
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}}
- One to fifteen articles can be listed.
- 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.
- adding newline characters will break article links <1-- presumably because of the leading ":" -->
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