الگو:به

(تغییرمسیر از الگو:To)

خطاب به مثال:

توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

Usage ویرایش

This template takes advantage of the user mention ویکی‌پدیا:آگاه‌ساز 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:

{{To|User1}} Message text. ~~~~

For example, ":{{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.

Multiple recipients ویرایش

You can reply to up to 7 people at once:

{{To|User1|UserII|UserC}} Message text. ~~~~

Specify a nickname ویرایش

You can display any text in place of a username by using |labelX=, where X is the index of a positional parameter, counting from 1. For example:

  • {{To|Example|label1=Exemplar|Example2|label2=John}} produces خطاب به Exemplar و John:

Customize 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:

  • {{To|Example|p=---}} produces خطاب به Example---
  • {{To|Example|p=}} produces خطاب به Example

Related templates ویرایش

  • {{reply to}} – Uses an "@" sign at the beginning instead of "To "
  • {{user link}} – Links to a single user's page (without the "To" or the @ sign, and without a colon)
  • {{noping}} – Links a user's name without triggering the echo notification system

الگو:Inline talk templates