Template:Libera.Chat/doc: Difference between revisions
(update docs with new param) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 10:18, 28 December 2022
This is a documentation subpage for Template:Libera.Chat. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used in system messages, and on approximately 10,000 pages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
For 1 hash channels add no hashes. For 2 hash channels add 1 hash. And so on. Otherwise the template will take you to the wrong channel.
Example
Note that the third example sends the user to WP:IRCHELP due to the consensus reached at this discussion.
User: I want to go to #wikipedia-en.
You: {{Libera.Chat|wikipedia-en}}
#wikipedia-en connect
User 2: I want to go to ##random_channel.
You: {{Libera.Chat|#random_channel}}
##random_channel connect
User 3: I need help at #wikipedia-en-help
You: {{Libera.Chat|wikipedia-en-help}}
#wikipedia-en-help connect
See also
For a template linking to the U.S. Internal Revenue Code, see Template:USIRC.
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Libera.Chat
[[Category:TemplateData documentation{{#translation:}}]]
Parameter | Description | Type | Status | |
---|---|---|---|---|
Channel | 1 | Channel name (without preceding hash) | String | required |
Text | 2 | Text to show in place of channel name | String | optional |