Template:InfoBox 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. 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.
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.
Use this template inside an {{InfoBox stack}} to provide a link to an IRC channel in a right-floated box.
Important
Please go and read the documentation of the {{IRC}} template for full explanation of how to use this template (that template is what this one uses internally).
Please go and read the documentation of the {{IRC}} template for full explanation of how to use this template (that template is what this one uses internally).
Parameters
Parameter name | Required? | Default value | Description |
---|---|---|---|
Anonymous parameter 1 |
Yes | (n/a) | The name of a libera.chat IRC channel, or channel on alternate server when using second parameter. Remember to include the hash (#) if using an alternate server. |
Anonymous parameter 2 |
No | (n/a) | URL of alternate IRC server. Include scheme (irc:// or ircs://), do not include a trailing slash. |
comment |
No | (n/a) | Postpends a comment in brackets. Useful for example to signal that a channel might require registration or some other particularity. |
header |
No | (n/a) | Set this to yes or true to display a Resources heading, but only if the infobox is the first one in an {{InfoBox stack}}.
|
Usage
This template must be used inside of an {{InfoBox stack}}, as seen in the template's testcases:
Correct
One anonymous parameter (an IRC channel name)
Channel plus optional server
Wiki code
{{InfoBox stack | {{InfoBox irc|#i3|irc://irc.oftc.net}} }}
Main version
#i3 (on irc://irc.oftc.net)
Sandbox version
#i3 (on irc://irc.oftc.net)
Channel plus optional server with comment
Wiki code
{{InfoBox stack | {{InfoBox irc|#pipewire|irc://irc.oftc.net|comment=Registration required}} }}
Main version
#pipewire (on irc://irc.oftc.net)(Registration required)
Sandbox version
#pipewire (on irc://irc.oftc.net)(Registration required)
Using
header=true
Incorrect
No parameter (error message)
Wiki code
{{InfoBox stack | {{InfoBox irc}} }}
Main version
{{InfoBox irc template error}}
Parameter 1 not defined. For correct usage see InfoBox irc template's documentation on the
1
parameter.Sandbox version
{{InfoBox irc template error}}
Parameter 1 not defined. For correct usage see InfoBox irc template's documentation on the
1
parameter.
Used outside of an {{InfoBox stack}} (wide box, not right-floated)
See also[edit]
The templates below are implemented using {{InfoBox}}. They should also appear in Category:InfoBox templates, which may be more complete than this list.
These templates should be used within an {{InfoBox stack}}. Each should provide its own header
parameter, but if necessary {{InfoBox header}} can be used.
Underlined text indicates the default heading provided by header=true
for each type of template.
- For use in articles
- Resources
- {{InfoBox blog}} – Link to a blog.
- {{InfoBox codeberg}} – Link to Codeberg repository.
- {{InfoBox github}} – Link to GitHub repository.
- {{InfoBox gitlab}} – Link to GitLab repository.
- {{InfoBox gitweb}} – Link to source code repository.
- {{InfoBox guide}} – Link to a Gentoo guide (on this wiki).
- {{InfoBox homepage}} – Link to the official home page for a piece of software or hardware.
- {{InfoBox irc}} – Link to an IRC channel.
- {{InfoBox manpage}} – Link to a man page.
- {{InfoBox odoc}} – Link to official documentation, guides, how-tos, tutorials, etc. (not user-provided documentation).
- {{InfoBox ohloh}} – Link to an Ohloh project.
- {{InfoBox package}} – Link to package information at Packages.Gentoo.org.
- {{InfoBox project}} – Link to the related Gentoo project (on this wiki).
- {{InfoBox sourcehut}} - Link to Sourcehut project.
- {{InfoBox wiki}} – Link to an official project wiki.
- {{InfoBox wikipedia}} – Link to a Wikipedia article.
- Article status
- {{InfoBox dated}} – Article information is out of date.
- {{InfoBox delete}} – Article should be deleted. ({{Delete}} is more noticeable.)
- {{InfoBox todo}} – TODO list for the article.
- {{InfoBox wikify}} – Article needs additional wiki-formatting.
- For use on talk pages
- Talk status
- (Note that the simpler {{Talk}} can be used in place of both of these.)
- For use on user pages
- User info
- {{InfoBox user}} – Basic user information. (special heading: username of user page owner)
- {{InfoBox user dev}} – User is a Gentoo developer.
- {{InfoBox user since}} – When user started using Gentoo.
- Babel (spoken-language indicators)
Note
The above documentation is transcluded from Template:InfoBox 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:InfoBox 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.)