Template:Hidden ping/doc

Description
This template is used to trigger a notification to one or multiple registered users you are replying to in a discussion. It differs from Ping in that it doesn't display any text when used, whereas Ping will display the usernames of the users you've mentioned.

Usage
Message text. ~

The edit that adds this template must meet the following requirement for notifications to work:


 * The edit must add new lines of text, not just edit existing lines.
 * The edit must be signed by adding  to the end of the message.
 * If you have specified a custom signature, it must contain a plain wiki link to your user page, user talk page, or contributions page; it cannot be embedded in a template.
 * The edit must either be entirely within an existing sections (it cannot have new section headers in the middle) or start a new section (starts with a new section header).
 * Only sections of level 2 and above count.
 * If the number of detected to-be-pinged users exceeds 50, no notifications will be delivered.

You can also ping multiple users, up to a maximum of 50.

Message text. ~

Error messages
Because the purpose of this template is to not produce any visible output, error messages are only displayed when previewing the edit.

Error in Template:Hidden ping: Input contains forbidden characters.

This error indicates that one or more of the usernames specified contained a character that is not allowed in usernames.

Error in Template:Hidden ping: Username not given.

This indicates that no usernames were specified. This error can also be produced when the recipient's username contains an equal sign, for example. To fix this, simply add 1= at the beginning of the username, 2= at the second username, 3= at the third username and so on:

Error in Template:Hidden ping: More than 50 names specified.

If the total number of detected to-be-pinged users in an edit exceeds 50, no notifications will be delivered. An error message will be displayed when previewing the page, but not once the page has been saved.

Credits
This template's code was taken from the English Wikipedia.

TemplateData
{	"params": { "1": {			"label": "Username", "description": "The name of a user that you want to notify", "type": "wiki-user-name", "required": true },		"2": {			"label": "Additional username", "description": "The name of an additional user you want to notify", "type": "wiki-user-name" },		"3": {			"inherits": "2" },		"4": {			"inherits": "2" },		"5": {			"inherits": "2" },		"6": {			"inherits": "2" },		"7": {			"inherits": "2" },		"8": {			"inherits": "2" },		"9": {			"inherits": "2" },		"10": {			"inherits": "2" }	},	"description": "Trigger a notification to one or several registered user(s) you are replying to in a discussion without displaying any text." }