Module:Reply to/doc

From Official Kodi Wiki
Jump to navigation Jump to search

This module is used by {{Reply to}} to trigger a notification to one or more registered user(s) that you are attempting to communicate with directly in a discussion taking place on-wiki.

1 Usage

This module cannot be used directly from wikitext. Please use the {{reply to}} template instead.

2 Template usage

{{#invoke:Reply to|replyto|<noinclude>example=example name</noinclude>|max=maximum number of names}}

2.1 Available parameters

|example=
This parameter sets the username that will be shown when the template page itself is viewed, showing an example of how to make use of it correctly. It should be surrounded by <noinclude>...</noinclude> tags so that it is not transcluded with the parent template. Without this function, the attempt at demonstration would show an error message as would happen if the template were used with no usernames specified.
|max=
This parameter sets the maximum number of names that the template will accept within a single transclusion. If not specified, the module defaults to a value of 50 (which is the maximum number that the Echo extension currently supports as part of the default MediaWiki installation, where it is stored as the value $wgEchoMaxMentionsCount). If this number of names is exceeded, as before, the parent template will return an error message.