Difference between revisions of "Template:Freenode/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Technical 13
m (Debugging ReGex...)
imported>MarnetteD
(not needed)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|<tt>{{#ifeq:{{Str sub old|{{{1}}}|0|1}}|#|<span class="plainlinks">[irc://irc.freenode.net/{{{1}}} {{{1}}}]</span> <sup class="plainlinks">[//webchat.freenode.net/?channels={{{1}}}{{#if:{{{nick|}}}|&nick={{#invoke:String|replace|{{Str sub old|{{{nick|}}}|0|25}}|^[%d%-][^%[^%]^%-^\^{^}^%`^%w]*|_|plain=false}}}} <span style="color:green;">connect</span>]</sup>|[[freenode:#{{{1}}}|#{{{1}}}]] <sup class="plainlinks">[//webchat.freenode.net/?channels=#{{{1}}}{{#if:{{{nick|}}}|&nick={{#invoke:String|replace|{{Str sub old|{{{nick|}}}|0|25}}|^[%d%-][^%[^%]^%-^\^{^}^%`^%w]*|_|plain=false}}}} <span style="color:green;">connect</span>]</sup>}}</tt>|<span style="color: #F00;">Error: Channel must be specified as 1st parameter.</span>}}</includeonly><noinclude>
+
<span style="font-family: monospace,Courier; white-space: pre-wrap !important; word-wrap: break-word; max-width: 1200px; overflow: auto;">{{#ifeq:{{{1}}}|wikipedia-en-help|[[freenode:#{{{1}}}|#{{{1}}}]]</span> <sup class="plainlinks"> [[Wikipedia:IRC help disclaimer|<span style="color:green;">connect</span>]]</sup>|{{#ifeq:{{padleft:|1|{{{1}}}}}|#|<span class="plainlinks">[irc://irc.freenode.net/#{{{1}}} #{{{1}}}]</span>|[[freenode:#{{{1}}}|#{{{1}}}]]}}</span> <sup class="plainlinks">[//webchat.freenode.net/?channels=#{{{1}}} <span style="color:green;">connect</span>]</sup>}}<noinclude>
 +
 
 +
 
 
This template is for producing links to connect to the Wikipedia channels at the IRC network
 
This template is for producing links to connect to the Wikipedia channels at the IRC network
  

Latest revision as of 22:10, 2 December 2016

[[freenode:#{{{1}}}|#{{{1}}}]] connect


This template is for producing links to connect to the Wikipedia channels at the IRC network

Template:Freenode/testcases

EDIT testcases

Testing sandbox version

Testing main template