Difference between revisions of "Template:See also"
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
< | <includeonly>:<span class="boilerplate seealso">''{{{altphrase|See also}}}: {{#if:{{{1|}}} |<!--then:-->[[:{{{1}}}|{{{l1|{{{1}}}}}}]] |<!--else:-->'''Error: [[Template:See also|Template must be given at least one article name]]''' | ||
}}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, | and }} [[:{{{2}}}|{{{l2|{{{2}}}}}}]] | |||
-->{{#if:{{{ | }}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |, and }} [[:{{{3}}}|{{{l3|{{{3}}}}}}]] | ||
}}{{#if:{{{4|}}}|{{#if:{{{5|}}}|, |, and }} [[:{{{4}}}|{{{l4|{{{4}}}}}}]] | |||
}}{{#if:{{{5|}}}|{{#if:{{{6|}}}|, |, and }} [[:{{{5}}}|{{{l5|{{{5}}}}}}]] | |||
}}{{#if:{{{6|}}}|{{#if:{{{7|}}}|, |, and }} [[:{{{6}}}|{{{l6|{{{6}}}}}}]] | |||
}}{{#if:{{{7|}}}|{{#if:{{{8|}}}|, |, and }} [[:{{{7}}}|{{{l7|{{{7}}}}}}]] | |||
| {{# | }}{{#if:{{{8|}}}|{{#if:{{{9|}}}|, |, and }} [[:{{{8}}}|{{{l8|{{{8}}}}}}]] | ||
}}{{#if:{{{9|}}}|{{#if:{{{10|}}}|, |, and }} [[:{{{9}}}|{{{l9|{{{9}}}}}}]] | |||
}}{{#if:{{{10|}}}|{{#if:{{{11|}}}|, |, and }} [[:{{{10}}}|{{{l10|{{{10}}}}}}]] | |||
}}{{#if:{{{11|}}}|{{#if:{{{12|}}}|, |, and }} [[:{{{11}}}|{{{l11|{{{11}}}}}}]] | |||
}} | }}{{#if:{{{12|}}}|{{#if:{{{13|}}}|, |, and }} [[:{{{12}}}|{{{l12|{{{12}}}}}}]] | ||
}}{{#if:{{{13|}}}|{{#if:{{{14|}}}|, |, and }} [[:{{{13}}}|{{{l13|{{{13}}}}}}]] | |||
{{ | }}{{#if:{{{14|}}}|{{#if:{{{15|}}}|, |, and }} [[:{{{14}}}|{{{l14|{{{14}}}}}}]] | ||
{{ | }}{{#if:{{{15|}}}|, and [[:{{{15}}}|{{{l15|{{{15}}}}}}]] | ||
< | }}{{#if:{{{16|}}}| — '''<br/>Error: [[Template:See also|Too many links specified (maximum is 15)]]''' | ||
</noinclude> | }}''</span></includeonly><noinclude> | ||
{{documentation}}</noinclude> |
Latest revision as of 15:00, 3 February 2009
This template has a sandbox (edit) for editors to experiment.
{{See also}} is used for small sets of see also information at the head of article sections according to Wikipedia: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|Article 2}} |
|
{{see also|Article|Article 2|Article 3}} |
|
{{see also|Article|Article 2|l2=Alternate title for Article 2}} |
|
And so on up to 15 parameters.
See also
{{Cat also}} is used for small sets of see also (list of other categories) for information in the end of text on category pages or talk pages, etc.
- -- e.g. - {{Details|A|B|C}} →
- For more details on B, see A.
as above but for more than one article
, to point to a detailed example in another article
- -- e.g. - {{for example|Template:For example|Another example}} →
- For an example refer to: Another example
- -- e.g. - {{further|A|B|C}} →
- Further information: A, B, and C
, to use when you have more than one main article.
- -- e.g. - {{main|A|B|C}} →
, to use when you have more than one main article, primarily for use in category text, not Wikipedia English language Wikipedia Naming conventions compliant inside articles.
- -- e.g. - {{mainBold|A|B|C}} →
- Wikipedia main articles: A, B, and C
- -- e.g. - {{Mainlist|A|B|C}} →
- For a more comprehensive list, see A
{{See}} (it is recommended to use {{Further}} instead)
- -- e.g. - {{See|A|B|C}} →
- Further information: A, B, and C
- -- e.g. - {{See also|A|B|C}} →
- See also: A, B, and C
- Like {{See also}}, but allows link text to differ from article name.
- -- e.g. - {{See also2|A|B|C}} →
- See also: A, B, and C
es:Plantilla:VT it:Template:Vedi anche ja:Template:See also ms:Templat:Lihat juga ko:틀:참고 kn:ಟೆಂಪ್ಲೇಟು:See also pl:Szablon:Seealso ro:Format:Vezi şi ru:Шаблон:Смотри также sl:Predloga:Glej tudi th:แม่แบบ:ดูเพิ่มที่ vi:Tiêu bản:Xem thêm zh:Template:See Also
- Protected templates
- Wikipedia page-section templates
- List templates
- See also templates