Difference between revisions of "Template:Interwiki talkback"

From blackwiki
Jump to navigation Jump to search
imported>Armbrust
(save)
imported>Funandtrvl
(update code)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude><!--
+
{{{{{|safesubst:}}}umbox
 
 
// Check for {{{1}}} parameter
 
 
 
--></noinclude>{{{{{|safesubst:}}}#if:{{{1|<noinclude>Example</noinclude>}}}|<noinclude><!--then:
 
 
 
// Div, styling
 
 
 
--></noinclude>{{{{{|safesubst:}}}umbox
 
 
| image = Nuvola apps edu languages.svg
 
| image = Nuvola apps edu languages.svg
| imagelink = <noinclude><!--
+
| imagelink = :{{#if:{{{project}}}|{{{project}}}:|}}{{{page|<noinclude>Example</noinclude>}}}{{#if:{{{section|}}}|&#35;{{{section}}}|}}
// Prefix the given page with User talk:, if no namespace given
+
| caption = You have new messages
-->    </noinclude>{{#if:{{{project}}}|{{{project}}}:|}}{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}NAMESPACE:{{{1<noinclude>|Example</noinclude>}}}}}|{{{{{|safesubst:}}}ns:0}}|{{{{{|safesubst:}}}ns:3}}:}}{{{1<noinclude>|Example</noinclude>}}}<noinclude><!--
+
| text      = Hello, {{{{{|safesubst:}}}#titleparts:{{{{{|safesubst:}}}PAGENAME}}|page}}. You have new messages at [[:{{#if:{{{project|}}}|{{{project}}}:|}}{{{page|<noinclude>Example</noinclude>}}}{{#if:{{{section|}}}|&#35;{{{section}}}|}}|{{#if:{{{project|}}}|{{{project}}}:|}}{{{page|<noinclude>Example</noinclude>}}}]].<br /><span class="plainlinks" style="font-size: 88%; font-weight: normal;">{{{{{|safesubst:}}}#if:{{{ts|}}}|Message added {{{ts}}}.}} You can [{{fullurl:{{FULLPAGENAME}}|action=edit}} remove this notice] at any time{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}issubst}}|yes
// Section link
+
  ||&nbsp;by removing the <nowiki>{{Interwiki talkback}} or {{Itb}}</nowiki> template}}.</span><noinclude><!--
-->    </noinclude>{{{{{|safesubst:}}}#if:{{{2|}}}|&#35;{{{2}}}}}|You have new messages
+
--></noinclude>}}<noinclude>
| text      = Hello, {{{{{|safesubst:}}}#titleparts:{{{{{|safesubst:}}}PAGENAME}}|1}}. You have new messages at <noinclude><!--
+
{{Documentation}}
// Prefix the given page with User talk:, if it has no namespace given
+
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
--> </noinclude> [[{{#if:{{{project}}}|{{{project}}}:|}}{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}NAMESPACE:{{{1<noinclude>|Example</noinclude>}}}}}|{{{{{|safesubst:}}}ns:0}}|{{{{{|safesubst:}}}ns:3}}:}}<noinclude><!--
+
</noinclude>
// Page link
 
-->  </noinclude>{{{1<noinclude>|Example</noinclude>}}}<noinclude><!--
 
// Section link
 
-->  </noinclude>{{{{{|safesubst:}}}#if:{{{2|}}}|&#35;{{{2}}}}}<noinclude><!--
 
// Link text
 
-->  </noinclude>|{{#if:{{{project}}}|{{{project}}}:|}}{{{{{|safesubst:}}}#if:<noinclude><!--
 
// Evaluates to "NOT USERSPACE" if namespace is neither 0 nor 3
 
-->    </noinclude>{{{{{|safesubst:}}}#switch:{{{{{|safesubst:}}}NAMESPACE:{{{1<noinclude>|Example</noinclude>}}}}}<noinclude><!--
 
-->      </noinclude>|{{{{{|safesubst:}}}ns:0}}|{{{{{|safesubst:}}}ns:3}}=<noinclude><!--silent--><!--
 
-->      </noinclude>|NOT USERSPACE}}<noinclude><!--
 
// Evaluates to "IS SUBPAGE" if the page is a subpage
 
-->  </noinclude>{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#titleparts:{{{1<noinclude>|Example</noinclude>}}}|1|2}}|<noinclude><!--
 
--><!--empty--></noinclude>|<noinclude><!--silent--></noinclude>|IS SUBPAGE}}<noinclude><!--
 
// Display full page title if either NOT USERSPACE or IS SUBPAGE is true
 
-->    </noinclude>|{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}NAMESPACE:{{{1<noinclude>|Example</noinclude>}}}}}|{{{{{|safesubst:}}}ns:0}}|{{{{{|safesubst:}}}ns:3}}:}}<noinclude><!--
 
-->  </noinclude>{{{1<noinclude>|Example</noinclude>}}}<noinclude><!--
 
// Display the PAGENAME of {{{1}}} (i.e. the user name) otherwise
 
-->    </noinclude>|{{{{{|safesubst:}}}PAGENAME:{{{1<noinclude>|Example</noinclude>}}}}}'s talk page}}]].<br /><noinclude><!--
 
 
 
// Timestamp, notice
 
 
 
--></noinclude><span class="plainlinks" style="font-size: 88%; font-weight: normal;">{{{{{|safesubst:}}}#if:{{{ts|}}}|Message added {{{ts}}}.}} You can [{{fullurl:{{FULLPAGENAME}}|action=edit}} remove this notice] at any time{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}issubst}}|yes
 
  ||&nbsp;by removing the <nowiki>{{Talkback}} or {{Tb}}</nowiki> template}}.</span><noinclude><!--
 
--></noinclude>}}<noinclude><!--
 
 
 
// Display an error message if no parameter given
 
 
 
--></noinclude>|<noinclude><!--else:
 
--></noinclude><span class="error">ERROR: Please enter the ''username'' parameter when using the {{Tlx|Talkback}} template - thus {{Tlx|Talkback|<username>}}.</span>}}<noinclude>{{Documentation}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUB-PAGE, THANKS --></noinclude>
 

Latest revision as of 20:11, 12 February 2021

Template:Umbox

Template documentation[view] [edit] [history] [purge]

Purpose

You can use this template to notify a user that you have responded to their message on your own talk page on another WikiProject.

Usage

placed under a new section at the bottom of the recipient user talk page. To use this template to inform your intended Wikipedian of a message on a talk page on another project:

  • Go to the target talk page.
  • On the top of the page, click on "New Section" button/link. It should look like this:
    New section small.png
  • In the "Subject/headline" box, type a descriptive title.
  • In the message section, enter the following: {{Interwiki talkback|page=|project=|section=}} The first two parameters are mandatory, but section can be left empty.
  • Save the page.

Wikipedia will notify the recipient of having a new message in their talk page. When they visit their talk page, they should see your notice and (hopefully) follow the link to your user talk page.

Notes

  • Do not substitute this template!
  • Do not insert this template in a section header; use it on a line by itself

Example

Template:Nowiki template demo

Redirects

See also

Template:Talkback see also