shortcuts: {{re}} {{replyto}} {{ping}} {{mention}}

Template:Reply to/doc

From Bonkipedia
< Template:Reply to
Revision as of 18:04, 12 November 2022 by ManfredoDo (talk | contribs) (1 revision imported: Template documentation pages)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

This template takes advantage of the user mention notifications 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 Project namespace page. It also works on the Support Desk.

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.

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

Multiple recipients

You can reply to up to 50 people at once:

{{reply to|User1|UserII|UserC}} Message text. ~~~~
@Example1: Message text.
@Example1 and Example2: Message text.
@Example1, Example2, and Example3: Message text.
@Example1, Example2, Example3, and Example4: Message text.

Change punctuation

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".

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Reply to

No description.

Template parameters

ParameterDescriptionTypeStatus
Prefix Punctuationprefix

The prefix punctuation.

Default
@
Lineoptional
Conjunctionc

The conjunction between the last two user names.

Default
and
Lineoptional
Suffix Punctuationp

The suffix punctuation.

Default
:
Lineoptional
User 11

The first user to mention.

Userrequired
User 1 Labellabel1

The label for the first user link.

Default
{{{1}}}
Lineoptional
User 22

The second user to mention.

Useroptional
User 2 Labellabel2

The label for the second user link.

Default
{{{2}}}
Lineoptional
User 33

The third user to mention.

Useroptional
User 3 Labellabel3

The label for the third user link.

Default
{{{3}}}
Lineoptional
User 44

The fourth user to mention.

Useroptional
User 4 Labellabel4

The label for the fourth user link.

Default
{{{4}}}
Lineoptional
User 55

The fifth user to mention.

Useroptional
User 5 Labellabel5

The label for the fifth user link.

Default
{{{5}}}
Lineoptional
User 66

The sixth user to mention.

Useroptional
User 6 Labellabel6

The label for the sixth user link.

Default
{{{6}}}
Lineoptional
User 77

The seventh user to mention.

Useroptional
User 7 Labellabel7

The label for the seventh user link.

Default
{{{7}}}
Lineoptional
User 88

The eighth user to mention.

Useroptional
User 8 Labellabel8

The label for the eighth user link.

Default
{{{8}}}
Lineoptional
User 99

The ninth user to mention.

Useroptional
User 9 Labellabel9

The label for the ninth user link.

Default
{{{9}}}
Lineoptional
User 1010

The tenth user to mention.

Useroptional
User 10 Labellabel10

The label for the tenth user link.

Default
{{{10}}}
Lineoptional

Edit parameter translations

Aliases

Related templates

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