Template:Ping: Difference between revisions

From Meta Wiki
Jump to navigation Jump to search
en.wikipedia.org>Kaldari
MeowyCats2 (talk | contribs)
m 81 revisions imported
 
(53 intermediate revisions by 26 users not shown)
Line 1: Line 1:
{{#if:{{{hide|}}}|<span style="display:none;">}}@[[User:{{{1|<noinclude>Someone</noinclude>}}}|{{{1|<noinclude>Someone</noinclude>}}}]]<includeonly>{{#if:{{{2|}}}|, [[User:{{{2}}}|{{{2}}}]]}}{{#if:{{{3|}}}|, [[User:{{{3}}}|{{{3}}}]]}}{{#if:{{{4|}}}|, [[User:{{{4}}}|{{{4}}}]]}}{{#if:{{{5|}}}|, [[User:{{{5}}}|{{{5}}}]]}}</includeonly>:{{#if:{{{hide|}}}|</span>}}<noinclude>
{{{{{|safesubst:}}}#invoke:Reply to|replyto|<noinclude>example=Example</noinclude>|max=50}}<noinclude>{{documentation}}[[Category:Inline talk templates]]</noinclude>
==Instructions==
This template takes advantage of the new mention [[Wikipedia:Notifications|notification]] to ping the user(s) you are replying to in a discussion (so you don't have to use the {{tl|talkback}} template). Right now it works on any talk page, and will soon work on Wikipedia namespace pages as well (pending {{bug|47964}}).
 
====Single recipient====
To use it, just add something like the following to an existing discussion:<br/>
<nowiki>{{replyto|Cool Hand Luke}} What we've got here is failure to communicate! ~~~~</nowiki>
The comment must be signed and belong to a section in order for the notification to work.
 
You can also substitute the template, if you prefer:<br/>
<nowiki>{{subst:replyto|Scarlett O'Hara}} Frankly, my dear, I don't give a damn. ~~~~</nowiki>
 
====Multiple recipients====
You can reply to up to 5 people at once:<br/>
<nowiki>{{replyto|Larry|Moe|Curly}} Nyuk! Nyuk! Nyuk! ~~~~</nowiki>
 
====Hiding the output====
If you want to notify the person you are replying to without outputting the salutation ('@[[User:Someone|Someone]]:'), add 'hide=true' to your template call:
<nowiki>{{replyto|Jerry|hide=true}} Oh, Jerry, don't let's ask for the moon. We have the stars. ~~~~</nowiki>
</noinclude>

Latest revision as of 07:55, 21 December 2024

@Example: