Template:Hidden ping: Difference between revisions
(←Created page with "{{{{{|safesubst:}}}#invoke:Hidden ping|hiddenping|max=50}}<noinclude> {{documentation}} </noinclude>") |
(No difference)
|
Latest revision as of 12:30, 29 May 2019
Description[edit source]
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[edit source]
{{Hidden ping|Username}} 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.
- If you have specified a custom signature, it must contain a plain wiki link (
- 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.
{{Hidden ping|Username1|Username2}} Message text. ~~~~
Error messages[edit source]
Because the purpose of this template is to not produce any visible output, error messages are only displayed when previewing the edit.
This error indicates that one or more of the usernames specified contained a character that is not allowed in usernames.
This indicates that no usernames were specified. This error can also be produced when the recipient's username contains an equal sign, for example {{hidden ping|test=test}}
. 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: {{hidden ping|1=test=test}}
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[edit source]
This template's code was taken from the English Wikipedia.
See also[edit source]
TemplateData[edit source]
TemplateData for Hidden ping
Trigger a notification to one or several registered user(s) you are replying to in a discussion without displaying any text.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Username | 1 | The name of a user that you want to notify | User | required |
Additional username | 2 | The name of an additional user you want to notify | User | optional |
Additional username | 3 | The name of an additional user you want to notify | User | optional |
Additional username | 4 | The name of an additional user you want to notify | User | optional |
Additional username | 5 | The name of an additional user you want to notify | User | optional |
Additional username | 6 | The name of an additional user you want to notify | User | optional |
Additional username | 7 | The name of an additional user you want to notify | User | optional |
Additional username | 8 | The name of an additional user you want to notify | User | optional |
Additional username | 9 | The name of an additional user you want to notify | User | optional |
Additional username | 10 | The name of an additional user you want to notify | User | optional |