Template:Reply to/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>AGK
m →‎Aliases: fix what I presume is a typo
meta>Nnemo
No edit summary
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
{{template shortcut|re|ping}}
{{template shortcut|re|ping}}


== Usage ==
== Usage ==
This template takes advantage of the new user mention [[Wikipedia:Notifications|notification]] to ping the user(s) you are replying to in a discussion (so you don't have to use the {{tl|talkback}} template). It works on any talk page or Wikipedia namespace page.
This template takes advantage of the new user mention [[Wikipedia:Notifications|notification]] to ping the user(s) you are replying to in a discussion (so you don't have to use the {{tl|talkback}} template). It works on any talk page or Wikipedia namespace page.


Line 10: Line 12:


=== Single recipient ===
=== Single recipient ===
Use the following syntax:
Use the following syntax:
  <nowiki>{{reply to|Username}} Message text. ~~~~</nowiki>
  <nowiki>{{reply to|Username}} Message text. ~~~~</nowiki>
Line 18: Line 21:


=== Multiple recipients ===
=== Multiple recipients ===
You can reply to up to 5 people at once. Use the following syntax:
You can reply to up to 5 people at once. Use the following syntax:
  <nowiki>{{reply to|User1|User2|User3|User4|User5}} Message text. ~~~~</nowiki>
  <nowiki>{{reply to|User1|User2|User3|User4|User5}} Message text. ~~~~</nowiki>
Line 26: Line 30:


=== Customise punctuation ===
=== Customise punctuation ===
By default, the template will insert a colon after the final name. To change this, specify the required character using the {{para|p}} parameter. For example:
By default, the template will insert a colon after the final name. To change this, specify the required character using the {{para|p}} parameter. For example:
:"{{tlf|reply to|Example|3=p=—}}" produces "{{reply to|Example|p=—}}"
:"{{tlf|reply to|Example|3=p=—}}" produces "{{reply to|Example|p=—}}"
Line 36: Line 41:


=== Limitations ===
=== Limitations ===
The notification system will only work if the editor adds a signature in the edit with the ping. See [[Wikipedia:Notifications]] for details.
The notification system will only work if the editor adds a signature in the edit with the ping. See [[Wikipedia:Notifications]] for details.


== Aliases ==
== Aliases ==
* {{tl|ping}}
* {{tl|ping}}
* {{tl|Reply}}
* {{tl|Reply}}
Line 44: Line 50:
* {{tl|ReplyTo}}
* {{tl|ReplyTo}}
* {{tl|mention}}
* {{tl|mention}}
* ''[{{fullurl:Special:WhatLinksHere/{{FULLPAGENAME}}|hidelinks=1&hidetrans=1}} autogenerated list of redirects]''
 
* ''[{{fullurl:Special:WhatLinksHere/{{FULLPAGENAME}}|hidelinks=1&hidetrans=1}} <nowiki>[Auto-generated list of redirects]</nowiki>]''


== Related templates ==
== Related templates ==
Line 53: Line 60:


<includeonly>
<includeonly>
<!-- Categories for template go here. -->
<!-- Categories for template go here. -->
[[Category:Username internal link templates]]
[[Category:Username internal link templates]]


</includeonly>
</includeonly>

Revision as of 14:00, 29 May 2014

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

Use the following syntax:

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

For example, "{{Reply to|Jimbo Wales}}" generates "@Jimbo Wales:".

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 5 people at once. Use the following syntax:

{{reply to|User1|User2|User3|User4|User5}} Message text. ~~~~

For example, {{reply to|Example|Jimbo Wales}} will produce:

@Example and Jimbo Wales:

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:

"{{reply to|Example|p=—}}" produces "@Example"

The parameter omits leading or trailing spaces. Use &nbsp; instead. For example:

"{{reply to|Example|p=&nbsp;–}} Text message" produces "@Example – Text message"

To simply remove the colon, use the parameter with an empty value:

"{{reply to|Example|p=}}" produces "@Example"

Limitations

The notification system will only work if the editor adds a signature in the edit with the ping. See Wikipedia:Notifications for details.

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