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

Template:Reply to

From Linux Web Expert

@Example:

Template documentation

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

<templatedata>{"paramOrder":["prefix","c","p","1","label1","2","label2","3","label3","4","label4","5","label5","6","label6","7","label7","8","label8","9","label9","10","label10"],"params":{"c":{"type":"line","required":false,"label":"Conjunction","description":"The conjunction between the last two user names.","default":"and"},"label6":{"type":"line","required":false,"label":"User 6 Label","description":"The label for the sixth user link.","default":"{{{6}}}"},"label5":{"type":"line","required":false,"label":"User 5 Label","description":"The label for the fifth user link.","default":"{{{5}}}"},"prefix":{"type":"line","required":false,"label":"Prefix Punctuation","description":"The prefix punctuation.","default":"@"},"label1":{"type":"line","required":false,"label":"User 1 Label","description":"The label for the first user link.","default":"{{{1}}}"},"label10":{"type":"line","required":false,"label":"User 10 Label","description":"The label for the tenth user link.","default":"{{{10}}}"},"label2":{"type":"line","required":false,"label":"User 2 Label","description":"The label for the second user link.","default":"{{{2}}}"},"label4":{"type":"line","required":false,"label":"User 4 Label","description":"The label for the fourth user link.","default":"{{{4}}}"},"label9":{"type":"line","required":false,"label":"User 9 Label","description":"The label for the ninth user link.","default":"{{{9}}}"},"label8":{"type":"line","required":false,"label":"User 8 Label","description":"The label for the eighth user link.","default":"{{{8}}}"},"label7":{"type":"line","required":false,"label":"User 7 Label","description":"The label for the seventh user link.","default":"{{{7}}}"},"p":{"type":"line","required":false,"label":"Suffix Punctuation","description":"The suffix punctuation.","default":":"},"label3":{"type":"line","required":false,"label":"User 3 Label","description":"The label for the third user link.","default":"{{{3}}}"},"1":{"description":"The first user to mention.","type":"wiki-user-name","required":true,"label":"User 1"},"2":{"description":"The second user to mention.","type":"wiki-user-name","required":false,"label":"User 2"},"3":{"description":"The third user to mention.","type":"wiki-user-name","required":false,"label":"User 3"},"4":{"description":"The fourth user to mention.","type":"wiki-user-name","required":false,"label":"User 4"},"5":{"description":"The fifth user to mention.","type":"wiki-user-name","required":false,"label":"User 5"},"6":{"description":"The sixth user to mention.","type":"wiki-user-name","required":false,"label":"User 6"},"7":{"description":"The seventh user to mention.","type":"wiki-user-name","required":false,"label":"User 7"},"8":{"description":"The eighth user to mention.","type":"wiki-user-name","required":false,"label":"User 8"},"9":{"description":"The ninth user to mention.","type":"wiki-user-name","required":false,"label":"User 9"},"10":{"description":"The tenth user to mention.","type":"wiki-user-name","required":false,"label":"User 10"}}}</templatedata>Edit parameter translations

Aliases

Related templates