Difference between revisions of "Template:Freenode/doc"
Jump to navigation
Jump to search
imported>Primefac (→Example: adding IRCHELP example (as it is different)) |
imported>Zyxw m (add {{TemplateData header}} (via JWB)) |
||
| Line 21: | Line 21: | ||
== See also == | == See also == | ||
For a template linking to the U.S. Internal Revenue Code, see [[Template:USIRC]]. | For a template linking to the U.S. Internal Revenue Code, see [[Template:USIRC]]. | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| + | == TemplateData == | ||
| + | {{TemplateData header}} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 43: | Line 37: | ||
} | } | ||
</templatedata> | </templatedata> | ||
| + | |||
| + | <includeonly> | ||
| + | [[Category:External link templates|Freenode]] | ||
| + | {{pp-semi-template}} | ||
| + | </includeonly> | ||
Revision as of 04:06, 24 February 2017
| 40px | This is a documentation subpage for Template:Freenode. It contains usage information, categories and other content that is not part of the original template page. |
| 40px | This template is used on 13,000+ pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
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: {{Freenode|wikipedia-en}}
#wikipedia-en connect
User 2: I want to go to ##random_channel.
You: {{Freenode|#random_channel}}
##random_channel connect
User 3: I need help at #wikipedia-en-help
You: {{Freenode|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; see the monthly parameter usage report for this template.
TemplateData for Freenode
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Channel | 1 | Channel name (without preceding hash) | String | required |