Template:IRC
From Bibliotheca Anonoma
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 valueshackint
(default) orEFnet
.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 areinline
(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))