Template:Reply to

From Wikidata
(Redirected from Template:Ping)
Jump to: navigation, search

@Example:

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

Usage[edit]

This template takes advantage of the new mention notification to ping the user(s) you are replying to in a discussion (so you don't have to use the {{Talkback}} template). It works on any talk page or Wikidata namespace page.

Note that it isn't necessary to use this template to ping the user if you are already linking to their username from your post.

Single recipient[edit]

To use it, just add something like the following to an existing discussion:

{{reply to|User1}} Message text. ~~~~

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 6 people at once:

{{reply to|User1|UserII|UserC}} Message text. ~~~~

Named parameters[edit]

By default, the text displayed by this template ends with a comma. You can change it by specifing the p parameter.

code result
{{reply to|User1|p=!}} Some text. @User1! Some text.
{{reply to|User1|User2|p=,}} some text. @User1, User2, some text.
{{reply to|User1|p=}} some text. @User1 some text.

Also, you can hide the template (ping will work in the same way, but nothing will be displayed in the string where the template is included) by use of the parameter show=not (other values than not will be ignored).

code result
({{reply to|User1|show=not}}) (@User1:)
({{reply to|User1|User2|show=not}}) (@User1, User2:)

Aliases[edit]

Related templates[edit]

  • {{User link}} – To just link to a single user's page (without the @ sign and colon), use this template.

See also[edit]


Template used to notify a user that you have replied to them, or that you want to have their opinion in a discussion

Template parameters

Parameter Description Type Status
first user to notify 1

no description

Default
empty
Example
empty
Auto value
empty
User required
2 2

no description

Default
empty
Example
empty
Auto value
empty
User suggested
3 3

no description

Default
empty
Example
empty
Auto value
empty
User suggested
4 4

no description

Default
empty
Example
empty
Auto value
empty
User suggested
5 5

no description

Default
empty
Example
empty
Auto value
empty
User suggested
6 6

no description

Default
empty
Example
empty
Auto value
empty
User suggested