Template:Ping: Difference between revisions

Jump to navigation Jump to search
en.wikipedia.org>Kaldari
fixing params
en.wikipedia.org>Kaldari
Hiding the output
Line 1: Line 1:
@[[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>:<noinclude>
{{#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>
==Instructions==
==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}}).
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}}).
Line 15: Line 15:
  <nowiki>{{replyto|Larry|Moe|Curly}} Nyuk! Nyuk! Nyuk! ~~~~</nowiki>
  <nowiki>{{replyto|Larry|Moe|Curly}} Nyuk! Nyuk! Nyuk! ~~~~</nowiki>
</noinclude>
</noinclude>
====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>