Difference between revisions of "Template:LiberaChat"

From Minetest Wiki
Jump to navigation Jump to search
(Create Libera Chat version of Template:Irc)
 
(Use Libera Chat web client)
 
Line 1: Line 1:
<includeonly><span class="plainlinks" style="white-space: nowrap;">{{#ifeq: {{{2|}}}|no|<tt>[ircs://irc.libera.chat:6697/{{{1}}} {{{1}}}]</tt>|<tt>[irc://irc.libera.chat/{{{1}}} {{{1}}}]</tt>{{#if: {{{3|}}}||<sup>[https://kiwiirc.com/nextclient/irc.libera.chat:+6697/{{{1}}} (<span style="color: green;">webchat</span>)]</sup>}}}}</span></includeonly>
+
<includeonly><span class="plainlinks" style="white-space: nowrap;">{{#ifeq: {{{2|}}}|no|<tt>[ircs://irc.libera.chat:6697/{{{1}}} {{{1}}}]</tt>|<tt>[irc://irc.libera.chat/{{{1}}} {{{1}}}]</tt>{{#if: {{{3|}}}||<sup>[https://web.libera.chat/{{{1}}} (<span style="color: green;">webchat</span>)]</sup>}}}}</span></includeonly>
  
 
<noinclude>
 
<noinclude>

Latest revision as of 01:10, 27 May 2021


Template for making a clickable link to an IRC channel on irc.libera.chat.

Syntax: {{LiberaChat|channel-name|webchat}}

  • channel-name: Full name of channel
  • hide-webchat: Optional argument. If “no”, webchat link is hidden. Webchat is not hidden by default

Example 1: {{LiberaChat|#minetest}}

#minetest(webchat)


Example 2: {{LiberaChat|#minetest|no}}

#minetest