Template:Reply to/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Codename Lisa
meta>Codename Lisa
→‎Customise punctuation: Give them a real example, not one that nobody uses.
Line 23: Line 23:
=== 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:
* <code><nowiki>{{reply to|Example|p=---}}</nowiki></code> produces {{reply to|Example|p=---}}
:"{{tlf|reply to|Example|3=p=}}" produces "{{reply to|Example|p=}}"
* <code><nowiki>{{reply to|Example|p=}}</nowiki></code> produces {{reply to|Example|p=}}
 
The parameter omits leading or trailing spaces. Use <code>&amp;nbsp;</code> instead. For example:
:"{{tlf|relpy to|Example|3=p=&amp;nbsp;–}} Text message" produces "{{reply to|Example|p=&nbsp;–}} Text message"


== Aliases ==
== Aliases ==

Revision as of 13:42, 26 January 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. ~~~~

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:

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

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