Difference between revisions of "Template:Irc"

From RobotX
Jump to navigation Jump to search
m (Text replacement - "</>" to "")
m (Text replacement - "<tvar|1>" to "")
 
Line 3: Line 3:
 
</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=" <tvar|1>#{{{1}}} on Freenode IRC">[irc://chat.freenode.net:6667/{{{1}}} {{#switch: {{{2|}}}
+
<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}}}

Latest revision as of 19:19, 21 December 2019


#{{{1}}} connect

Template documentation

Display a link to a Freenode IRC channel, with optional link to a web-based IRC client.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
IRC channel1

The IRC channel name, without leading hash (#).

Example
cvn-sw
Linerequired
Custom name2

A custom name used instead of the channel name.

Example
cvn small wikis
Linesuggested
Connect link3

Should there be a 'connect' link or not?

Default
yes
Example
no
Lineoptional


Examples