This page is protected against editing.

Template:Reply to

From Wikimedia Commons, the free media repository
(Redirected from Template:Ping)
Jump to navigation Jump to search


Documentationview · edit · history · purge ]
This documentation is transcluded from Template:Reply to/doc.


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 10 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:"

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:

  • {{reply to|Example|p=---}} produces @Example---
  • {{reply to|Example|p=}} produces @Example



<templatedata>JSON</templatedata> ./. {{TemplateBox}}

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. ‎<nowiki>-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 ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.

Wikipedia's help about TemplateDataCommons-specific information

No description.

Template parameters

This template prefers inline formatting of parameters.

User 11

First user

User 22

Second user

User 33

Third user

User 44

Fourth user

User 55

Fifth user

User 66

Sixth user

User 77

Seventh user

User 88

Eighth user

User 99

Ninth user

User 1010

Tenth user


Prefix symbol


Suffix symbol


See also