Template:IrcLink: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>irc://irc.synirc.net/{{{1}}}</includeonly><noinclude> | <includeonly>{{#if: {{{2|}}} | [irc://irc.synirc.net/{{{1}}} {{{2}}}] | irc://irc.synirc.net/{{{1}}}]</includeonly><noinclude> | ||
{{{{PAGENAME}}/doc}} | {{{{PAGENAME}}/doc}} | ||
[[Category:Template Link]]</noinclude> | [[Category:Template Link]]</noinclude> |
Revision as of 05:39, 7 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}}
{{#if: | {{{2}}} | irc://irc.synirc.net/anidb]
{{IrcLink|anidb|#anidb}} on SynIRC
{{#if: #anidb | #anidb | irc://irc.synirc.net/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. |