Template:Talkback
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.
|
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
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 |
user name / talkpagename | 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. | empty | required |
2 |
section | The section on the page (thread title); you can link directly to that section. | empty | optional |
tp |
not user talk | Add any value if not user talk (then you have to give the whole pagename at parameter #1, see there). | empty | optional |
other |
other wiki | Add any value if the talkpage is not on Commons (e.g. on Wikipedia), then this will be in the text. | empty | optional |
Template data | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
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 Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-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
|
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
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.
Template:Talkback calls Template:Autotranslate. Talkback passes on the following:
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:
It'll actually pass on up to 15 parameters, if they exist, but for these purposes we only concern ourselves with the first few.
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:
Template:Talkback/layout now returns the following:
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:
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.'''}}