Template:Reply to/doc: Difference between revisions
meta>Little Mountain 5 m Reverted edits by 71.53.56.120 (talk) to last revision by Little Mountain 5 (HG) |
meta>Largoplazo I shouldn't have been, but was, momentarily confused by the colon, so I thought I'd point it out for others. |
||
Line 15: | Line 15: | ||
:{{reply to|Jimbo Wales}} Message text. | :{{reply to|Jimbo Wales}} Message text. | ||
The comment must be signed and belong to a section in order for the notification to work. | The comment must be signed and belong to a section in order for the notification to work. (Note: In this example, the colon in front of the template, which doesn't appear in the output text, isn't a typo. The code for the example's output is located at the beginning of a line. Wikipedia treats line-initial colons as a formatting code for indenting the line.) | ||
=== Multiple recipients === | === Multiple recipients === |
Revision as of 12:19, 26 January 2014
This is a documentation subpage for Template:Reply to. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
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}} template). 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 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. (Note: In this example, the colon in front of the template, which doesn't appear in the output text, isn't a typo. The code for the example's output is located at the beginning of a line. Wikipedia treats line-initial colons as a formatting code for indenting the line.)
Multiple recipients
You can reply to up to 5 people at once:
{{reply to|User1|UserII|UserC}} Message text. ~~~~
Customise punctuation
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:
Aliases
Related templates
- {{tiny ping}} – Virtually identical to, and based upon this template, but displaying a much smaller text note
- {{user link}} – Links to a single user's page (without the @ sign and colon)
- {{noping}} – Links a user's name without triggering the echo notification system
- {{to}} – Uses "To " (with a space) at the beginning instead of the @ sign