(Created page with "Template:IRC") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#vardefine:server|{{#explode:{{{1}}}|@}}}}{{#vardefine:channel|{{#explode:{{{1}}}|@|1}}}}<span class="plainlinks">[irc://irc.{{#var:server}}/{{#var:channel}} #{{#replace:{{#var:channel}}|,|,#}}]<sup>[http://webchat.{{#var:server}}/?nick=WikiUser....&channels={{#var:channel}}&prompt=1 <span style="color:green"><noinclude></noinclude> |
+ | {{#vardefine:server|{{#explode:{{{1}}}|@}}}}{{#vardefine:channel|{{#explode:{{{1}}}|@|1}}}}<span class="plainlinks">[irc://irc.{{#var:server}}/{{#var:channel}} #{{#replace:{{#var:channel}}|,|,#}}]<sup>[http://webchat.{{#var:server}}/?nick=WikiUser....&channels={{#var:channel}}&prompt=1 <span style="color:green"><noinclude></noinclude>connexion<noinclude></noinclude></span>]</sup></span><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 18:05, 10 August 2018
This template creates a direct IRC link along with a webchat connect link for the provided server and channel. This is used particularly for the {{Infobox mod}}
's irc parameter.
Parameters
- 1: The only parameter is a string containing both the server and the channel separated with a @ symbol. For example, esper.net@FTB-Wiki. If you are linking to multiple channels, separate them with commas.
Example
{{IRC|esper.net@FTB-Wiki}}
produces #FTB-Wikiconnect.{{IRC|esper.net@Razz,MobiusStrip}}
produces #Razz,#MobiusStripconnect.