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

Template:Module arguments

From ZNC
Jump to navigation Jump to search

Purpose

Every module page links to the explanation how to load modules. This template is supposed to unify all those texts.

How to use[edit]

{{Module arguments
| count = How many arguments does the module accept (e.g. no or one or two to five
| one = true if there's a maximum of one argument (cosmetic)
| extra = Some description for the arguments, if any
| type = global or user, user is the default
| noheading = yes means this template doesn't generate the Arguments section
}}

Example[edit]

{{Module arguments|count=two|extra=The arguments are a foo and a bar.}}

resuts in:

Arguments

This user module takes two arguments. The arguments are a foo and a bar.

Read loading modules to learn more about loading modules.