Template:OBX irc: Difference between revisions

From OLPC
Jump to navigation Jump to search
(new template to direct IRC traffic)
 
(fix category, see also Template:User irc)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{OBX boilerplate html | icon=IRC | text = Channel: <tt>{{{1}}}{{#if:{{{2|}}}|<hr>Server: {{{2}}}}}</tt>}}<includeonly>[[Category:IRC|{{PAGENAME}}]]</includeonly><noinclude>{{-}}
{{OBX boilerplate html | icon=IRC | text=<tt>{{{1}}}{{#if:{{{2|}}}|<hr>{{{2}}}}}</tt>}}<includeonly>[[Category:IRC|{{PAGENAME}}]]</includeonly><noinclude>{{-}}


== Usage ==
== Usage ==
Line 7: Line 7:
* OPTIONAL &mdash; the server, usually assumed to be '''<tt>#irc.freenode.net</tt>''' (mentioned in [[IRC]]), so specify only for alternative servers.
* OPTIONAL &mdash; the server, usually assumed to be '''<tt>#irc.freenode.net</tt>''' (mentioned in [[IRC]]), so specify only for alternative servers.


<nowiki>{{</nowiki>{{PAGENAME}} |nick|''channels''|''server'' <nowiki>}}</nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} |channel|''server'' <nowiki>}}</nowiki>


== Categories ==
== Categories ==
Line 16: Line 16:


{{{{PAGENAME}} |#olpc-l10n }}
{{{{PAGENAME}} |#olpc-l10n }}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|#olpc-l10n }}</nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|#olpc-l10n }}</nowiki>
{{-}}
{{{{PAGENAME}} |#olpc-l10n|irc.freenode.net }}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|#olpc-l10n|irc.freenode.net }}</nowiki>
{{-}}


== See also ==
* [[Template:User irc]]


[[Category:User templates|IRC]]
[[Category:OBX templates|IRC]]
[[Category:Templates using ParserFunctions]]
[[Category:Templates using ParserFunctions]]
</noinclude>
</noinclude>

Latest revision as of 23:10, 17 November 2008

IRC {{{1}}}


Usage

Used in the project pages to show the IRC channel that usually concentrates or is used to discuss the subject at hand. Has two (unnamed) parameters:

  • the channel(s) name(s)
  • OPTIONAL — the server, usually assumed to be #irc.freenode.net (mentioned in IRC), so specify only for alternative servers.
{{OBX irc |channel|server }}

Categories

Sample

IRC #olpc-l10n
{{OBX irc |#olpc-l10n }}


IRC #olpc-l10n
irc.freenode.net
{{OBX irc |#olpc-l10n|irc.freenode.net }}


See also