Difference between revisions of "Template:Freenode/sandbox"
imported>Primefac |
|||
| Line 6: | Line 6: | ||
== [[Template:Freenode/testcases]]== | == [[Template:Freenode/testcases]]== | ||
{{Template:Freenode/testcases}} | {{Template:Freenode/testcases}} | ||
| + | </noinclude> | ||
| + | <noinclude> | ||
| + | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 14:31, 1 December 2016
[[freenode:#{{{1}}}|#{{{1}}}]] connect
This template is for producing links to connect to the Wikipedia channels at the IRC network
Contents
Template:Freenode/testcases
Testing sandbox version
- {{Freenode/sandbox}}
- [[freenode:#{{{1}}}|#{{{1}}}]] connect
- {{Freenode/sandbox|wikipedia}}
- {{Freenode/sandbox|#wikipedia}}
- {{Freenode/sandbox|#wikipedia|nick=Template test}}
- {{Freenode/sandbox|nick=Template test}}
- [[freenode:#{{{1}}}|#{{{1}}}]] connect
- {{Freenode/sandbox|wikipedia|nick=This is a very very very very long username}}
- {{Freenode/sandbox|wikipedia-en-help|nick=Tester}}
- {{Freenode/sandbox|wikipedia-en-help|nick=Tester 2}}
- {{Freenode/sandbox|##wikipedia-en-help|nick=Tester3}}
- {{Freenode/sandbox|wikipedia-en-help|nick=Tester%4}}
- {{Freenode/sandbox|wikipedia-en-help|nick=Tester5isherehavenofearwekillnomenorwomenordogsorcatsorwhales}}
- {{Freenode/sandbox|#wikipedia|nick=!nv@l!& (#@r@t t3$t}}
- {{Freenode/sandbox|#wikipedia|nick=!@!& (#@@ $}}
- {{Freenode/sandbox|##wikipedia-en-help|nick=9th Tester}}
- {{Freenode/sandbox|###wikipedia-en-help|nick=-----Tester}}
Testing main template
- {{Freenode}}
- #{{{1}}} connect
- {{Freenode|wikipedia}}
- #wikipedia connect
- {{Freenode|#wikipedia}}
- ##wikipedia connect
- {{Freenode|#wikipedia|nick=Template test}}
- ##wikipedia connect
- {{Freenode|nick=Template test}}
- #{{{1}}} connect
- {{Freenode|wikipedia|nick=This is a very very very very long username}}
- #wikipedia connect
| 50px | This is the template sandbox page for Template:Freenode (diff). See also the companion subpage for test cases. |
| 40px | This template is used on approximately 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
TemplateData for Freenode
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Channel | 1 | Channel name (without preceding hash) | String | required |
| The above documentation is transcluded from Template:Freenode/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |