Template:Reply to

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
(Redirected from Template:Ping)

@Example:

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

Usage[edit source]

This template takes advantage of the new user mention notification to ping the user(s) you are replying to in a discussion (so you don't have to use the {{talkback}}

{{talkback}} template). It works on any talk page or MEpedia namespace page. It also works on the Help desk.

This template is particularly helpful in discussions that are not threaded, to indicate which user's comment is referenced.

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[edit source]

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

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

For example, ":{{reply to|meaction}} Message text." displays as:

@meaction: Message text.

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

Multiple recipients[edit source]

You can reply to up to 5 people at once:

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

Change punctuation[edit source]

By default, a colon is appended to the list of users. To change this, pass the p parameter. For example: {{reply to|User1|p=—}} "@User1—", and to get rid of the punctuation all together, give no value for p: {{reply to|User1|p=}} "@User1".

Aliases[edit source]

{{ping}}

Related templates[edit source]

No description.

Template parameters

ParameterDescriptionTypeStatus
11 Username1

Username of the first user to ping

Stringrequired
22 Username2

Username of the second person to ping

Stringoptional
33 Username3

Username of the third person to ping

Unknownoptional
44 Username4

Username of the fourth person to ping

Stringoptional
55 Username5

Username of the fifth person to ping

Unknownoptional
pp punctuation

Punctuation to append after the usernames. Leave it empty for no punctuation

Default
:
Stringoptional