Template:Reply to
@Example:
Uses Lua: |
TNT | This template uses Module:TNT for localisation: |
Usage
In 2013 Wikimedia projects adopted a user notification system which allows any user to ping others in discussion replies. This system replaces or complements the {{talkback}} template in use previously. It works on any talk page or Commons namespace page.
Using this template is one of the main ways to use the notification system. This template is particularly helpful in discussions that are not threaded, to indicate which user's comment is referenced. If you feel that this template unnecessarily personalizes the discussion, you may still use the {{talkback}} template on the user's talk page to indicate that you have replied to a comment.
Note that it isn't necessary to use this template to ping (indicate) the user if you are already linking to their username from your post.
Single recipient
To use it, just add something like the following to an existing discussion:
{{reply to|User1}} Message text. --~~~~
For example, ":{{reply to|Jimbo Wales}} Message text.
" displays as:
- @Jimbo Wales: Message text.
Per mw:Extension:Echo#Usage, you must link to another user's page and sign in the same edit in order to effectively mention, notify, or ping them, and even then only if they have "Notify me when someone links to my user page" set (which is the default here).
Multiple recipients
You can reply to up to 50 people at once:
{{reply to|User1|UserII|UserC}} Message text. --~~~~
Specify a prefix
To change the "@" prefix, use |prefix=custom prefix
. For example:
- "
{{reply to|Example|prefix=Hello }}
" produces "Hello Example: "
Or you can remove the prefix entirely by using |prefix=
. For example:
- "
{{reply to|Example|prefix=}}
" produces "Example: "
A shorter alias form for that parameter is @
. For example:
- "
{{reply to|Example|@=Hi |p=,}}
" produces "Hi Example,"
Customise punctuation
By default, the template will insert a colon after the final name. To change this, specify the required character using the |p=
parameter. For example:
Just the pure username
{{reply to|Example|prefix=|p=}}
produces Example
Aliases
- {{ping}}
- {{Reply}}
- {{mention}}
- {{Antwort}} (Austrian, German and Swiss)
- autogenerated list of redirects
TemplateData
- TemplateData
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.
Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1
or useTemplateData=only
on the /doc
subpage and transcluding it with {{Documentation}} into the template. Blocked
Null all-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw Blocked
Null all-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Prefix Punctuation | prefix | The prefix punctuation.
| Line | optional |
Conjunction | c | The conjunction between the last two user names.
| Line | optional |
Suffix Punctuation | p | The suffix punctuation.
| Line | optional |
User 1 | 1 | The first user to mention. | User | required |
User 1 Label | label1 | The label for the first user link.
| Line | optional |
User 2 | 2 | The second user to mention. | User | optional |
User 2 Label | label2 | The label for the second user link.
| Line | optional |
User 3 | 3 | The third user to mention. | User | optional |
User 3 Label | label3 | The label for the third user link.
| Line | optional |
User 4 | 4 | The fourth user to mention. | User | optional |
User 4 Label | label4 | The label for the fourth user link.
| Line | optional |
User 5 | 5 | The fifth user to mention. | User | optional |
User 5 Label | label5 | The label for the fifth user link.
| Line | optional |
User 6 | 6 | The sixth user to mention. | User | optional |
User 6 Label | label6 | The label for the sixth user link.
| Line | optional |
User 7 | 7 | The seventh user to mention. | User | optional |
User 7 Label | label7 | The label for the seventh user link.
| Line | optional |
User 8 | 8 | The eighth user to mention. | User | optional |
User 8 Label | label8 | The label for the eighth user link.
| Line | optional |
User 9 | 9 | The ninth user to mention. | User | optional |
User 9 Label | label9 | The label for the ninth user link.
| Line | optional |
User 10 | 10 | The tenth user to mention. | User | optional |
User 10 Label | label10 | The label for the tenth user link.
| Line | optional |
See also
- {{@}}
- {{Hidden ping}} {{Hp|}}