Template:IrcLink/doc: Difference between revisions
Jump to navigation
Jump to search
(New page: ==Documentation for this template== This template generates a link to an AniDB channel. ==Alternative names== * {{m|irclink}} is the lowercase syntax name * {{m|IrcLink}} is the full synt...) |
mNo edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{TOCright}} | |||
This template generates a link to an AniDB channel. | This template generates a link to an AniDB channel. | ||
==Alternative names== | ==Alternative names== | ||
* {{m|irclink}} | * {{m|irclink}} - The lower-case template alias. | ||
* {{m|IrcLink}} | * {{m|IrcLink}} - The "proper" template name. | ||
==Syntax== | ==Syntax== | ||
The template can have '''1''' or '''2 parameters''': | |||
#{{m|IrcLink|<channel>}} - Name of channel you want to link to. | |||
#{{m|IrcLink|<channel>|<name>}} - Define the link name. | |||
'''<channel>''' = IRC channel name, i.e. '''<nowiki>irc://irc.synirc.net/<channel></nowiki>'''. | |||
'''<name>''' = Name of the IRC link. | |||
==Examples== | |||
{{m|IrcLink|anidb}} | |||
{{IrcLink|anidb}} | {{IrcLink|anidb}} | ||
{{m|IrcLink|anidb|#anidb}} on SynIRC | |||
{{IrcLink|anidb|#anidb}} on SynIRC | |||
{{eyecatch|Note|If you only define one template parameter the IRC URL will be shown. If you define the '''<name>''' parameter that will be shown instead.}} |
Latest revision as of 12:20, 10 May 2009
This template generates a link to an AniDB channel.
Alternative names
- {{irclink}} - The lower-case template alias.
- {{IrcLink}} - The "proper" template name.
Syntax
The template can have 1 or 2 parameters:
- {{IrcLink|<channel>}} - Name of channel you want to link to.
- {{IrcLink|<channel>|<name>}} - Define the link name.
<channel> = IRC channel name, i.e. irc://irc.synirc.net/<channel>. <name> = Name of the IRC link.
Examples
{{IrcLink|anidb}}
{{IrcLink|anidb|#anidb}} on SynIRC
#anidb on SynIRC
Note | If you only define one template parameter the IRC URL will be shown. If you define the <name> parameter that will be shown instead. |