You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Template:See also/doc

From Wikitech-static
< Template:See also
Revision as of 19:52, 19 September 2021 by imported>Quiddity (fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Timw


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.


<templatedata> { "params": { "1": { "type": "wiki-page-name", "required": true, "label": "Page 1" }, "2": { "label": "Page 2", "type": "wiki-page-name" }, "3": {}, "4": {}, "5": {}, "6": {}, "altphrase": { "type": "string", "default": "See also", "description": "Override the default \"See also\" phrase" }, "label 1": { "label": "Label 1", "type": "string" }, "label 2": {}, "label 3": {}, "label 4": {}, "label 5": {}, "label 6": {} }, "paramOrder": [ "altphrase", "1", "label 1", "2", "label 2", "3", "label 3", "4", "label 4", "5", "label 5", "6", "label 6" ], "format": "inline", "description": "Pretty links to related information. Looks nice under an h2 heading." } </templatedata>
https://wikitech-static.wikimedia.org/w/index.php?title=Template:See_also/doc&direction=next&oldid=295992
wikitech-static.wikimedia.org
crawl=CC-MAIN-2022-21
26607
application/http; msgtype=response
sha1:CTEDS2FG6F7AB5L44KM7DB6ICFVYZVFI
<urn:uuid:a039d8f1-a6db-44dc-9941-0db528b46e70>
2022-05-21T19:27:00Z
192.237.162.200
text/html
sha1:NEQ5RGZ5NWVMOWRHROQV2S4HRGZJCXD4
<urn:uuid:4aba5798-94aa-4393-b4cc-4c6198758f63>
https://wikitech-static.wikimedia.org/w/index.php?title=Template:See_also/doc&direction=next&oldid=295992
response
<urn:uuid:821c4a1a-7cd9-40b1-91b3-0b9733bb8c07>
isPartOf: CC-MAIN-2022-21
publisher: Common Crawl
description: Wide crawl of the web for May 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-196
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.3-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/