Jump to content

Do not begin to migrate content here, it may be wiped without notice. More info.

Template:DebianIRC: Difference between revisions

From Debian Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
<pre><onlyinclude><span class="plainlinks">[ircs://irc.oftc.net/{{{name|{{{1}}}}}} {{{text|{{{2|#{{{name|{{{1}}}}}}}}}}}}] (<span class="plainlinks">[https://webchat.oftc.net/?channels={{{name|{{{1}}}}}} {{{webchat|{{{3|(webchat)}}}}}}]</span>)</onlyinclude></pre>
<pre><onlyinclude><span class="plainlinks">[ircs://irc.oftc.net/{{{name|{{{1}}}}}} {{{text|{{{2|#{{{name|{{{1}}}}}}}}}}}}] <span class="plainlinks">[https://webchat.oftc.net/?channels={{{name|{{{1}}}}}} {{{webchat|{{{3|(webchat)}}}}}}]</span></onlyinclude></pre>


<templatedata>
<templatedata>

Latest revision as of 15:13, 30 August 2025

<onlyinclude><span class="plainlinks">[ircs://irc.oftc.net/{{{name|{{{1}}}}}} {{{text|{{{2|#{{{name|{{{1}}}}}}}}}}}}] <span class="plainlinks">[https://webchat.oftc.net/?channels={{{name|{{{1}}}}}} {{{webchat|{{{3|(webchat)}}}}}}]</span></onlyinclude>

Link to an IRC channel on the OFTC network.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Channel namename 1

Name of IRC channel without # prefix.

Example
debian-devel
Linerequired
texttext 2

Link text

Lineoptional
webchatwebchat 3

Link text

Default
(webchat)
Lineoptional

The old wiki has a large inter-wiki map, for links like [[DebianIRC:channel]]. MediaWiki also supports interwiki links, but would we rather just use templates?

This page shows an example of how templates can provide a better user experience - editors can see documentation that tells them not to include the # in the channel name, and viewers get both an IRC and webchat link.