Jump to content

Template:Ping

From Wikiquote
(Redirected from Template:Rto)

@Example:

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

[edit]

This template takes advantage of the new user mention notification to ping the user(s) you are replying to in a discussion. It works on any talk page or Wikipedia namespace page.

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 post 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 the user if you are already linking to the username from your post.

The edit that adds this template must be signed with new signature tildes, or the notification(s) will not work. See Wikipedia:Notifications for more information.

Single recipient

[edit]

Use the following syntax:

{{Ping|Username}} Message text. ~~~~

For example, "{{Ping|Jimbo Wales}}" generates "@Jimbo Wales:".

The comment must be signed and belong to a section in order for the notification to work.

Multiple recipients

[edit]

You can reply to up to 7 people at once. Use the following syntax:

{{Ping|User1|User2|User3|User4|User5|User6|User7}} Message text. ~~~~

For example, {{Ping|Example|Jimbo Wales}} will produce:

@Example, Jimbo Wales:

Customise punctuation

[edit]

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:

"{{Ping|Example|p=—}}" produces "@Example"

The parameter omits leading or trailing spaces. Use   instead. For example:

"{{Ping|Example|p= –}} Text message" produces "@Example – Text message"

To simply remove the colon, use the parameter with an empty value:

"{{Ping|Example|p=}}" produces "@Example"

Aliases

[edit]