Template:IRC

From Archiveteam
Jump to navigation Jump to search

This renders an IRC channel name with a link to the webchat interface and takes the following parameters:

  • (unnamed): the name of the channel without the #. Default: archiveteam-bs
  • network: the IRC network this channel is/was located on. This can have the values hackint (default) or EFnet.
  • abandoned: the presence of a non-empty value for this parameter marks the channel as abandoned. This causes the main output of the template to instead point to the general discussion channel (#archiveteam-bs on hackint) while keeping a reference to the former channel.
  • abandoned_render_mode: how the abandoned channel should be rendered. Possible values are inline (default), br+small, oldtextonly. See below for examples.

Examples:

  • {{IRC|archiveteam}} results in: #archiveteam (on hackint)
  • {{IRC}} results in: #archiveteam-bs (on hackint)
  • {{IRC|}} results in: #archiveteam-bs (on hackint)
  • {{IRC|channelname|network=EFnet}} results in: #channelname (on EFnet)
  • {{IRC|channelname|EFnet}} results in: #channelname (on EFnet)
  • {{IRC|foo|EFnet|abandoned}} results in (note the hover text): #archiveteam-bs (on hackint)
  • {{IRC|foo|EFnet|abandoned|oldtextonly}} results in: #foo (on EFnet) (abandoned)

The br+small render mode produces two lines of output: {{IRC|foo|EFnet|abandoned|br+small}} results in:

#archiveteam-bs (on hackint)
(formerly #foo (on EFnet))
http://wiki.archiveteam.org/index.php/Template:IRC
wiki.archiveteam.org
crawl=CC-MAIN-2021-49
17571
application/http; msgtype=response
sha1:3K2YNPSMUC5OVPUWJUMSLBNRMHOYUUC5
<urn:uuid:60ca9c77-d6d5-4bdc-a49b-a4d5a8c0e362>
2021-12-07T17:29:45Z
213.184.85.58
text/html
sha1:OHWOFYRSB5NULZQZW3UJX3P6AGU5LECP
<urn:uuid:2a10c58f-ce2f-4890-b9d0-61e9f843e594>
http://wiki.archiveteam.org/index.php/Template:IRC
response
<urn:uuid:0ea51937-d325-482d-b291-ad831a760ffb>
isPartOf: CC-MAIN-2021-49
publisher: Common Crawl
description: Wide crawl of the web for November/December 2021
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-6
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/