Template:Reply to/doc
This is a documentation subpage for Template:Reply to. It contains usage information, categories, and other content that is not part of the original template page. |
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 (max):
{{reply to|Example|Example2|Example3}} Message text. ~~~~
Named parameters
[edit]By default, the text displayed by this template ends with a colon. You can change it by specifing the
parameter.
p
code | result |
---|---|
{{reply to|Example|p=!}} Some text.
|
@Example! Some text. |
{{reply to|Example|Example2|p=,}} some text.
|
@Example, Example2, some text. |
{{reply to|Example|p=}} some text.
|
@Example 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
(other values than show=not
will be ignored).
not
code | result |
---|---|
({{reply to|Example|show=not}})
|
( | )
({{reply to|Example|Example2|show=not}})
|
( | )
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]{{Ping project}}
{{Ping devteam}}