Difference between revisions of "Template:IRC"
Jump to navigation
Jump to search
m (show server name in parentheses) |
Justcool393 (talk | contribs) (Default to hackint for ArchiveTeam channels (perhaps edit out the "network=hackint" for most of the other channels at some later point in time?). See ArchiveTeam:IRC) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
For an IRC channel name with a link to | For an IRC channel name with a link to hackint's web IRC interface (or another network's web interface, if available as an option). The sole parameter is the name of the channel (# sign must be omitted). | ||
Example: | Example: | ||
* <code>{<nowiki/>{IRC|archiveteam}<nowiki/>}</code> results in {{IRC|archiveteam}} | * <code>{<nowiki/>{IRC|archiveteam}<nowiki/>}</code> results in {{IRC|archiveteam}} | ||
If the <code>{{!}}network=</code> parameter is specified (e.g. <code> | If the <code>{{!}}network=</code> parameter is specified (e.g. <code>efnet</code>), then the template will link to that network instead. You can also use the second unnamed parameter (or <code>{{!}}2=</code>). | ||
Examples: | Examples: | ||
* <code>{<nowiki/>{IRC|channelname|network= | * <code>{<nowiki/>{IRC|channelname|network=efnet}<nowiki/>}</code> results in {{IRC|channelname|network=efnet}} | ||
* <code>{<nowiki/>{IRC|channelname| | * <code>{<nowiki/>{IRC|channelname|efnet}<nowiki/>}</code> results in {{IRC|channelname|efnet}} | ||
Currently supported networks are <code> | Currently supported networks are <code>hackint</code> (default) and <code>efnet</code>. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude><includeonly><span class="plainlinks">[{{#switch:{{{network|{{{2|}}}}}}| | </noinclude><includeonly><span class="plainlinks">[{{#switch:{{{network|{{{2|}}}}}}|efnet=http://chat.efnet.org:9090/?channels=%23{{{1}}}|#default=https://webirc.hackint.org/#irc://irc.hackint.org/#{{{1}}}}} #{{{1}}}]</span> (on {{#switch:{{{network|{{{2|}}}}}}|efnet=EFnet|#default=hackint}})</includeonly> |
Revision as of 11:18, 11 January 2021
For an IRC channel name with a link to hackint's web IRC interface (or another network's web interface, if available as an option). The sole parameter is the name of the channel (# sign must be omitted).
Example:
{{IRC|archiveteam}}
results in #archiveteam (on hackint)
If the |network=
parameter is specified (e.g. efnet
), then the template will link to that network instead. You can also use the second unnamed parameter (or |2=
).
Examples:
{{IRC|channelname|network=efnet}}
results in #channelname (on EFnet){{IRC|channelname|efnet}}
results in #channelname (on EFnet)
Currently supported networks are hackint
(default) and efnet
.