Template:IRC
From Gentoo Wiki
[edit]
Documentation
Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.
As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.
Important
This template's
This template's
mode=
parameter has been removed. Now all uses provide both ircs and webchat links.Use this template to specify in-line Gentoo IRC channels (such as #gentoo (webchat) or #gentoo-bugzilla (webchat)) so they can be rendered in a standard style across the Wiki.
Parameters
Parameter name | Required? | Default value | Description |
---|---|---|---|
Anonymous parameter 1 |
Yes | (n/a) | The name of a Gentoo IRC channel, with or without the leading #. |
Some Gentoo IRC channels include:
- #gentoo (webchat)
- #gentoo-bugzilla (webchat)
- #gentoo-chat (webchat)
- #gentoo-dev (webchat)
- ...
Some Gentoo IRC channels include:
For a full list of channels see the All IRC Channels page on the main site.
Note that this template does not check if the specified IRC channel is actually valid (existing). For now be careful what is entered. Error checking is a future goal.
Usage
{{IRC|channel}}
- Where
channel
is the IRC channel to be marked up (excluding the leading#
).
See the template's testcases:
Parameter: unnamed (no parameter) | |
---|---|
Wiki code | {{IRC}}
|
Main version | #{{{1}}} (webchat) |
Sandbox version | #{{{1}}} (webchat) |
Parameter: gentoo (missing # prefix) | |
---|---|
Wiki code | {{IRC|gentoo}}
|
Main version | #gentoo (webchat) |
Sandbox version | #gentoo (webchat) |
Parameter: #gentoo (including # prefix) | |
---|---|
Wiki code | {{IRC|#gentoo}}
|
Main version | #gentoo (webchat) |
Sandbox version | #gentoo (webchat) |
Parameter: ##gentoo (accidental double ## prefix) | |
---|---|
Wiki code | {{IRC|##gentoo}}
|
Main version | #gentoo (webchat) |
Sandbox version | #gentoo (webchat) |
See also
Note
The above documentation is transcluded from Template:IRC/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. (See the subpages of this template.)
The above documentation is transcluded from Template:IRC/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. (See the subpages of this template.)