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 - "</translate>" to "") |
||
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="<!--T:1--> <tvar|1>#{{{1}}}</> on Freenode IRC | + | <span class="plainlinks" style="font-family: monospace,Courier; white-space: pre-wrap !important; word-wrap: break-word; max-width: 1200px; overflow: auto;" title="<!--T:1--> <tvar|1>#{{{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;"><!--T:2--> connect | + | | #default = <sup class="plainlinks">[https://webchat.freenode.net/?channels={{{1}}} <span style="color:green;"><!--T:2--> connect</span>]</sup> |
}} | }} | ||
| #default= | | #default= | ||
Line 47: | Line 47: | ||
== Examples == <!--T:3--> | == Examples == <!--T:3--> | ||
− | + | ||
* {{Xpd|Irc|cvn-sw}} | * {{Xpd|Irc|cvn-sw}} | ||
* {{Xpd|Irc|cvn-sw|cvn small wikis}} | * {{Xpd|Irc|cvn-sw|cvn small wikis}} |
Revision as of 04:34, 21 December 2019
<span class="plainlinks" style="font-family: monospace,Courier; white-space: pre-wrap !important; word-wrap: break-word; max-width: 1200px; overflow: auto;" title=" <tvar

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
}} ⇒ <span class="plainlinks" style="font-family: monospace,Courier; white-space: pre-wrap !important; word-wrap: break-word; max-width: 1200px; overflow: auto;" title=" <tvar - {{
Irc|cvn-sw|cvn small wikis
}} ⇒ <span class="plainlinks" style="font-family: monospace,Courier; white-space: pre-wrap !important; word-wrap: break-word; max-width: 1200px; overflow: auto;" title=" <tvar - {{
Irc|cvn-sw|no
}} ⇒ <span class="plainlinks" style="font-family: monospace,Courier; white-space: pre-wrap !important; word-wrap: break-word; max-width: 1200px; overflow: auto;" title=" <tvar - {{
Irc|cvn-sw|cvn small wikis|no
}} ⇒ <span class="plainlinks" style="font-family: monospace,Courier; white-space: pre-wrap !important; word-wrap: break-word; max-width: 1200px; overflow: auto;" title=" <tvar