Difference between revisions of "Template:IRC"
Jump to navigation
Jump to search
m (capitalize EFnet correctly) |
m (Reverted edits by Justcool393 (talk) to last revision by Jc86035) Tag: Rollback |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude><includeonly><span class="plainlinks">[{{#switch:{{{network|{{{2|}}}}}}|hackint=https://webirc.hackint.org/#irc://irc.hackint.org/#{{{1}}}|#default=http://chat.efnet.org:9090/?channels=%23{{{1}}}}} #{{{1}}}]</span></includeonly> | </noinclude><includeonly><span class="plainlinks">[{{#switch:{{{network|{{{2|}}}}}}|hackint=https://webirc.hackint.org/#irc://irc.hackint.org/#{{{1}}}|#default=http://chat.efnet.org:9090/?channels=%23{{{1}}}}} #{{{1}}}]</span> (on {{#switch:{{{network|{{{2|}}}}}}|hackint=hackint|#default=EFnet}})</includeonly> |
Revision as of 17:11, 16 January 2021
For an IRC channel name with a link to EFnet'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 EFnet)
If the |network=
parameter is specified (e.g. hackint
), then the template will link to that network instead. You can also use the second unnamed parameter (or |2=
).
Examples:
{{IRC|channelname|network=hackint}}
results in #channelname (on hackint){{IRC|channelname|hackint}}
results in #channelname (on hackint)
Currently supported networks are efnet
(default) and hackint
.