To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

Template:Core Module: Difference between revisions

From ZNC
Jump to navigation Jump to search
archive
 
No edit summary
 
Line 2: Line 2:
| style = border-left: 10px solid #4AA02C; background: #C3FDB8;
| style = border-left: 10px solid #4AA02C; background: #C3FDB8;
| image = [[File:Ambox green.png|40px]]
| image = [[File:Ambox green.png|40px]]
| text = '''This module is a part of [[:Category:Core_Modules|ZNC]].'''<br /><small>This module is enabled by default. If you have the right "LoadMod" you can activate it with <code>/znc LoadMod {{{linkname|{{lc:{{PAGENAMEE}}}}}}}</code><br/> The code for this module can be found [https://github.com/znc/znc/blob/master/modules/{{{linkname|{{lc:{{PAGENAMEE}}}}}}}.cpp here]. {{#if:{{{version|}}}|This module is part of ZNC since Version [[ChangeLog/{{{version}}}|{{{version}}}]]}}</small>
| text = '''This module is a part of [[:Category:Core_Modules|ZNC]].'''<br /><small>This module is shipped with ZNC by default. If you have the right "LoadMod" you can activate it with <code>/znc LoadMod {{{linkname|{{lc:{{PAGENAMEE}}}}}}}</code><br/> The code for this module can be found [https://github.com/znc/znc/blob/master/modules/{{{linkname|{{lc:{{PAGENAMEE}}}}}}}.cpp here]. {{#if:{{{version|}}}|This module is part of ZNC since Version [[ChangeLog/{{{version}}}|{{{version}}}]]}}</small>
}}
}}
<includeonly>[[Category:Core Modules]] [[Category:Modules]]</includeonly>
<includeonly>[[Category:Core Modules]] [[Category:Modules]]</includeonly>

Latest revision as of 10:11, 17 December 2011


How to use

{{Core Module
| linkname = Name of the file in znc's modules directory (leave blank to use the article title)
| version = the version where this module was added to the core (leave blank to remove the line, f.e. if it's unknown)
}}

Example

{{Core Module | linkname = admin | version = 0.000 }}

Writing this code will give you...