Namespaces
Variants
Views
Actions

Template:Talkback

From cppreference.com
Hello, Talkback. You have new messages at Example's talk page.
You can remove this notice at any time by removing the {{Talkback}} template.
[edit] [{{purge}}] Template documentation

Contents

[edit] Purpose

In simplest terms, talkback allows a user (user1) to direct the attention of another user (user2) to a discussion on a specific talk page.

One benefit of this tool is to maintain the flow of a discussion on a single user's talk page, rather than having to switch back and forth between talk pages in order to make sense of the conversation.

Two examples of the use of this template are:

  • If you receive a message from a user, you can notify the user that you have responded to their message on your own talk page.
  • If you create a topic on your talk page, you can notify a user that the discussion might need their attention.

[edit] Usage

In this discussion, it is assumed that you (the sender) are user1 and that user2 is the recipient.

[edit] First message

Place this template under a new section at the bottom of user2's talk page.[1] To use this template to direct the attention of another user to your talk page:

  1. Go to the recipient's talk page. User talk pages start with "User talk:" prefix.
  2. On the top of the page, click on "New Section" button/link (plus sign: +).
  3. In the "Subject/headline" box, type "Re: " and the subject of the original discussion.
  4. In the message section, enter one of the following (remember, you are user1):
    • Simple form: This is the simplest way to use this template:
      {{Talkback|user1}}
    • More accurate form: This form has an additional parameter but takes the reader right to the section in which the discussion is in progress:
      {{Talkback|user1|section}}
    • Recommended form: This form is complete and recommended. It adds a timestamp:
      {{Talkback|user1|section|ts = ~~~~~}}
      Instead of five tildes (~~~~~), you can enter any date and time.
  5. Save the page.

When the user visits their talk page, they should see your notice and (hopefully) follow the link to your user talk page.

[edit] Example

For example, this code:

== Re: Testing on Cppreference ==
{{Talkback|Sandbox|Testing on Cppreference|ts = ~~~~~}}

Generates:

Re: Testing on Cppreference
Hello, Talkback. You have new messages at Sandbox's talk page.
Message added 12:49, 13 April 2012 (UTC). You can remove this notice at any time by removing the {{Talkback}} template.

NOTE: This example says "Hello, Talkback" only because this page is for Talkback. In real use it would have the name of the recipient: "Hello, user2".

[edit] Second message

So, what if you had another reply for the same user in the same topic? In case you think that the recipient has not visited your user talk page since you inserted the {{Talkback}} notice, simply do nothing. On the other hand, if the discussion continued and you think the recipient must once again read what you have posted, you can simply do one of the following:

  1. Do nothing. Most of the time, users keep their correspondents' user talk pages in their watchlists and will see when another reply is posted.
  2. Update the ts parameter. Simply edit the recipient's user talk page and replace the time and date in the ts parameter with a new time and date (or with ~~~~~). This will notify the user.
  3. Add another {{Talkback}} in the same section under the first one. However, the recipient user might find this obtrusive.

[edit] Pointing to other talk pages

To have the links point to a non-user talk page, you must include the full talk page link.

  • {{Talkback|Talk:page name|section title|ts=~~~~~}}
  • {{Talkback|Category talk:page name|section title|ts=~~~~~}}
  • {{Talkback|File talk:page name|section title|ts=~~~~~}}
  • {{Talkback|Template talk:page name|section title|ts=~~~~~}}
  • {{Talkback|Cppreference talk:page name|section title|ts=~~~~~}}

For example, suppose talkback should be used to link to Cppreference talk:FAQ#2011 C++ Standard:

Example
  • {{Talkback|Cppreference talk:FAQ|2011 C++ Standard|ts=~~~~~}}

[edit] Notes

  1. Originally, this template was meant to be placed on top of user2's talk page.
  • Do not substitute this template!
  • Do not insert this template in a section header; use it on a line by itself