Hello, Talkback. You have new messages at [[User talk:{{{1}}}#{{{2}}}|{{{1}}}'s talk page]].
You may remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.

asturianu  беларуская (тарашкевіца)  български  বাংলা  català  čeština  Deutsch  Deutsch (Sie-Form)  English  español  suomi  français  galego  हिन्दी  hrvatski  magyar  italiano  日本語  ქართული  македонски  മലയാളം  Plattdüütsch  Nederlands  português  română  русский  sicilianu  slovenščina  svenska  Tagalog  Türkçe  简体中文  繁體中文  +/−

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Talkback/doc.

Some users state that when they get a message, they will respond on your talk page instead of on their own. This makes reading back a conversation quite cumbersome; having to switch talk pages back and forth in order to make sense of the conversation. To end this, you can use this template to notify a user that you have responded to their message on your own talk page.

Usage

{{Talkback |1= }}

{{Talkback|your username}}
{{Talkback|your username|section}}

To have the links point to a non-user talk page, add tp=1. When doing so, you must use all parameters and include the full talk page link.

{{Talkback|Talk:page name|section|tp=1}}

To have the links point to a page which is not a talk page on this wiki, such as a Village Pump page, or the talk page on a different sister wiki, add other=1 and put everything in as the first parameter. If you'd like to put the anchor in as a second parameter, you may (don't put it in twice).

{{Talkback|Commons:Village_pump|Discussion title|other=1}} would link to Commons:Village pump#Discussion title
{{Talkback|:en:page name|other=1}} would link to the appropriate page on the English Wikipedia, for example

The recipient may remove this template from his/her talk page at any time. A link to edit the first section of the talk page is shown within the template.

Template parameters

ParameterDescriptionDefaultStatus
1user name / talkpagenameUser name of the talkpage-owner (your username, e.g. "Example" for "User talk:Example" or "Commons:Village pump") if user talk, the talkpagename ("Commons talk:Welcome") if not user talk.emptyrequired
2sectionThe section on the page (thread title); you can link directly to that section.emptyoptional
tpnot user talkAdd any value if not user talk (then you have to give the whole pagename at parameter #1, see there).emptyoptional
otherother wikiAdd any value if the talkpage is not on Commons (e.g. on Wikipedia), then this will be in the text.emptyoptional
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

Some users state that when they get a message, they will respond on your talk page instead of on their own. This makes reading back a conversation quite cumbersome; having to switch talk pages back and forth in order to make sense of the conversation. To end this, you can use this template to notify a user that you have responded to their message on your own talk page.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
user name / talkpagename1

User name of the talkpage-owner (your username, e.g. "Example" for "User talk:Example" or "Commons:Village pump") if user talk, the talkpagename ("Commons talk:Welcome") if not user talk.

Page namerequired
section2

The section on the page (thread title); you can link directly to that section.

Stringoptional
other wikiother

Add any value if the talkpage is not on Commons (e.g. on Wikipedia), then this will be in the text.

Unknownoptional
not user talktp

Add any value if not user talk (then you have to give the whole pagename at parameter #1, see there).

Unknownoptional

Additional information

The template is intended to be used in the following namespaces: the User talk namespace

The template is intended to be used by the following user groups: Autoconfirmed users

Placement:

Either place the code on top of the talk page of the user you have answered to, or in the appropriate section.

Localization

asturianu  беларуская (тарашкевіца)  български  বাংলা  català  čeština  Deutsch  Deutsch (Sie-Form)  English  español  suomi  français  galego  हिन्दी  hrvatski  magyar  italiano  日本語  ქართული  македонски  മലയാളം  Plattdüütsch  Nederlands  português  română  русский  sicilianu  slovenščina  svenska  Tagalog  Türkçe  简体中文  繁體中文  +/−

This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Talkback/layout.

To add your language to the list of languages supported by this template, please copy the code of Template:Talkback/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.


How it works

This is how it all works, if for instance you'd like to make this work for a new language. Really the only thing you have to do is to make a new subpage of this template at your language's language code and a user who uses that language will be pointed to that page by default. For instance, for English, the subtemplate is Template:Talkback/en.

The Talkback template

Template:Talkback calls Template:Autotranslate. Talkback passes on the following:

  1. An implicit first parameter (the link)
  2. If an implicit second paramter exists, it's passed on
  3. if tp was set to something and thus exists, it's passed on as a third parameter
  4. if other was set to something and thus exists, a fourth parameter is passed on
The Autotranslate template

Template:Autotranslate calls the appropriate language version of Talkback. If that's English for example, that would be Template:Talkback/en. Autotranslate passes on the following:

  1. The first parameter, if it exists
  2. The second parameter, if it exists
  3. The third parameter, if it exists
  4. The fourth parameter, if it exists

It'll actually pass on up to 15 parameters, if they exist, but for these purposes we only concern ourselves with the first few.

The language template, such as Talkback/en

If you're making a new language version of this template, this is the only one that you need to concern yourself with. You need to make a new version of this template for your language, for instance Template:Talkback/en calls Template:Talkback/layout and passes on the following:

  • A hello message
  • A newmessages-talk message, prepared from parameter 1 and also possibly parameter 2
  • A newmessages-usertalk message, prepared from parameter 1 and also possibly parameter 2
  • A newmessages-elsewhere message, prepared from parameter 1 and also possibly parameter 2
  • A remove message
  1. The first parameter, if it exists
  2. The second parameter, if it exists
  3. The third parameter, if it exists
  4. The fourth parameter, if it exists
The Talkback/layout template

Template:Talkback/layout now returns the following:

  • hello
  • If the 3rd parameter exists, return newmessages-talk, else {If the 4th paramter exists, return newmessages-elsewhere, else return newmessages-usertalk
  • The remove message

Thus, you see that tp doesn't necessarily have to equal 1, tp could be set to anything. Similarly, other doesn't necessarily have to be set to 1 either, it could be set to anything. The tp parameter also overrides the other parameter if both are present -- the presence of tp is checked first.


Notes

  • If you are going to use this template, please consider putting the {{Usertalkback}} notice on your own talk page:

You can do so by copying the following code at the very top of your talk page:

{{Usertalkback}}
  • Other versions are possible, such as an asymmetrical one not requiring your interlocutors to use Talkback, provided that you watch their talk page for answers:

You can do so by copying the following code at the very top of your talk page:

{{Usertalkback|you=watched}}
  • Another way, now less standard, was to use such notice:
Notice If you leave me a message, I will respond here and will let you know on your talk page using the {{Talkback}} template.

You can do so by copying the following code:

{{Notice|'''If you leave me a message, I will respond ''here'' and will let you
know on your talk page using the {{tl|Talkback}} template.'''}}