Difference between revisions of "Template:Irc"
Jump to navigation
Jump to search
Template documentation
Joelmartin (talk | contribs) m (Text replacement - "<translate>" to "") |
Joelmartin (talk | contribs) m (Text replacement - "<tvar|1>" to "") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages/> | <languages/> | ||
− | </noinclude>{{#switch: | + | </noinclude>{{#switch: |
| = | | = | ||
− | <span class="plainlinks" style="font-family: monospace,Courier; white-space: pre-wrap !important; word-wrap: break-word; max-width: 1200px; overflow: auto;" title=" | + | <span class="plainlinks" style="font-family: monospace,Courier; white-space: pre-wrap !important; word-wrap: break-word; max-width: 1200px; overflow: auto;" title=" #{{{1}}} on Freenode IRC">[irc://chat.freenode.net:6667/{{{1}}} {{#switch: {{{2|}}} |
| no | = <nowiki />#{{{1}}} | | no | = <nowiki />#{{{1}}} | ||
| #default = <nowiki />{{{2}}} | | #default = <nowiki />{{{2}}} | ||
}}]</span> {{#switch: no | }}]</span> {{#switch: no | ||
| {{{2}}} | {{{3}}} = | | {{{2}}} | {{{3}}} = | ||
− | | #default = <sup class="plainlinks">[https://webchat.freenode.net/?channels={{{1}}} <span style="color:green;" | + | | #default = <sup class="plainlinks">[https://webchat.freenode.net/?channels={{{1}}} <span style="color:green;"> connect</span>]</sup> |
}} | }} | ||
| #default= | | #default= | ||
Line 46: | Line 46: | ||
− | == Examples == | + | == Examples == |
− | + | ||
* {{Xpd|Irc|cvn-sw}} | * {{Xpd|Irc|cvn-sw}} | ||
* {{Xpd|Irc|cvn-sw|cvn small wikis}} | * {{Xpd|Irc|cvn-sw|cvn small wikis}} |
Latest revision as of 19:19, 21 December 2019

Display a link to a Freenode IRC channel, with optional link to a web-based IRC client.
Parameter | Description | Type | Status | |
---|---|---|---|---|
IRC channel | 1 | The IRC channel name, without leading hash (#).
| Line | required |
Custom name | 2 | A custom name used instead of the channel name.
| Line | suggested |
Connect link | 3 | Should there be a 'connect' link or not?
| Line | optional |
Examples
- {{
Irc|cvn-sw
}} ⇒ #cvn-sw connect - {{
Irc|cvn-sw|cvn small wikis
}} ⇒ cvn small wikis connect - {{
Irc|cvn-sw|no
}} ⇒ #cvn-sw - {{
Irc|cvn-sw|cvn small wikis|no
}} ⇒ cvn small wikis