Template:See also/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Created page with "Used for making the common "See also" links for highly related pages. ==Usage== <pre> {{See also|PAGE TITLE}} </pre> where PAGE TITLE is the title of the wiki page without link...")
 
No edit summary
Line 1: Line 1:
Used for making the common "See also" links for highly related pages.
==Usage==
{{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|Article 1|...|''Article 15''}}


==Usage==
* One to fifteen articles can be listed.
<pre>
* The word "and" is always placed between the final two entries.
{{See also|PAGE TITLE}}
* If more than 15 entries are supplied, a message will be displayed pointing out the problem.<!-- this is relatively ungraceful failure -->
</pre>
* You can use parameters label 1 to label 15 to specify alternative labels for the links.
:adding newline characters will break article links <1-- presumably because of the leading ":" -->
 
==Example==
{| class="wikitable" cellspacing="0" cellpadding="0"
! Code!! Result
|-
| valign="top"|{{Tlx|See also|Article}}||{{See also|Article}}
|-
| valign="top"|{{Tlx|See also|Article|3=label 1=Alternative title for Article}}||{{See also|Article|label 1=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|Article 3}}||{{See also|Article|Article 2|Article 3}}
|-
| valign="top"|{{Tlx|See also|Article|Article 2|4=label 2=Alternative title for Article 2}}||{{See also|Article|Article 2|label 2=Alternative title for Article 2}}
|}
''And so on up to 15 parameters.''
 
==See also: Link to section==
It is possible to direct this template to link a particular section within another article.
 
<code><nowiki>{{See also|Michael Tritter#storyline|l1=Storyline}}</nowiki></code> gives
{{See also|Michael Tritter#storyline|l1=Storyline}}


where PAGE TITLE is the title of the wiki page without link formatting.
==See also==
*[[Template:Main]]


<includeonly>[[Category:Templates]]</noinclude>
<includeonly>[[Category:Templates]]</noinclude>

Revision as of 22:35, 25 March 2012

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 label 1 to label 15 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|label 1=Alternative title for Article}}
{{See also|Article|Article 2}}
{{See also|Article|Article 2|Article 3}}
{{See also|Article|Article 2|label 2=Alternative title for Article 2}}

And so on up to 15 parameters.

See also: Link to section

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

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

See also