Template:Reply to/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
zdjiebiaj się PO-loczku
meta>Marek69
m Reverted 1 edit by 146.0.42.126 (talk) to last revision by Marek69. (TW)
Line 1: Line 1:
Banan
{{documentation subpage}}
 
{{template shortcut|re|ping}}
 
== 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 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 {{tl|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 the user if you are already linking to the username from your post.''
 
{{red|The edit that adds this template '''must''' be signed with new signature tildes, or the notification(s) will not work. See [[Wikipedia:Notifications]] for more information.}}
 
=== Single recipient ===
 
Use the following syntax:
<nowiki>{{reply to|Username}} Message text. ~~~~</nowiki>
 
For example, "{{tlf|Reply to|Jimbo Wales}}" generates "{{Reply to|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 7 people at once. Use the following syntax:
<nowiki>{{reply to|User1|User2|User3|User4|User5|User6|User7}} Message text. ~~~~</nowiki>
 
For example, <code><nowiki>{{reply to|Example|Jimbo Wales}}</nowiki></code> will produce:
 
{{reply to|Example|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 {{para|p}} parameter. For example:
:"{{tlf|reply to|Example|3=p=—}}" produces "{{reply to|Example|p=—}}"
 
The parameter omits leading or trailing spaces. Use <code>&amp;nbsp;</code> instead. For example:
:"{{tlf|reply to|Example|3=p=&amp;nbsp;–}} Text message" produces "{{reply to|Example|p=&nbsp;–}} Text message"
 
To simply remove the colon, use the parameter with an empty value:
:"{{tlf|reply to|Example|3=p=}}" produces "{{reply to|Example|p=}}"
 
== Aliases ==
* {{Tlx|Re}}
* {{Tlx|Yo}}
* {{Tlx|Ping}}
* {{Tlx|Reply}}
* {{Tlx|Mention}}
* [&thinsp;{{Plain link|url={{fullurl:Special:WhatLinksHere/{{FULLPAGENAME}}|hidelinks=1&hidetrans=1}}|name=''Auto-generated list of redirects''}}&thinsp;] according to '''Special:WhatLinksHere'''
 
== Related templates ==
* {{tl|tiny ping}} – Almost identical to this template, and based upon this template, but displaying a much smaller text note
* {{tl|user link}} – Links to a single user's page (without the @ sign and colon)
* {{tl|noping}} – Links a user's name without triggering the echo notification system
* {{tl|to}} – Uses "To " (with a space) at the beginning instead of the @ sign
 
<includeonly>
 
<!-- Categories for template go here. -->
[[Category:Username internal link templates]]
 
</includeonly>

Revision as of 11:29, 20 July 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 the user if you are already linking to the username from your post.

The edit that adds this template must be signed with new signature tildes, or the notification(s) will not work. See Wikipedia:Notifications for more information.

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

{{reply to|User1|User2|User3|User4|User5|User6|User7}} 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"

Aliases

Related templates

  • {{tiny ping}} – Almost identical to this template, 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