सामग्री पर जाएँ

आकृति:Ping group

मैथिली विकिपिडियासँ, एक मुक्त विश्वकोश
(आकृति:Pinggroupसँ पुनर्निर्देशित)

a group of pinged editors ([[User:{{{2}}}|{{{2}}}]]—[[User:{{{3}}}|{{{3}}}]])

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

Normal usage is as follows:

{{Pinggroup
| <!-- What to display on the page for text, [[links]] are acceptable -->
| <!-- First user to ping -->
| <!-- Second user to ping -->
| <!-- ... user to ping -->
| <!-- Ninth user to ping -->
| <!-- Tenth user to ping -->
}}

For example:

{{Pinggroup|Attention collaborators|John Doe|Jane Doe|Jimbo Wales|...|Jane Wales|Jimbo Doe}}
Usernames will not be displayed in this manner by default, although they will get a mention notification if they have notifications enabled.
If you want to always see the names attached to the ping on the page, add the following code to your common.css:
span.pinggroup-pinged{
    display: inline !important;
}
It is also possible to manipulate the output using your common.css or common.js to turn on or off the elements that are shown or not shown by default. The "shown by default" stuff is wrapped in a span.pinggroup-shown and the "hidden by default" stuff is all wrapped in a span.pinggroup-pinged and you may use these classes as you see fit.

This template also has the option to forgo the "alternate text to display instead of usernames. Use:

{{Pinggroup
| list=yes
| <!-- First user to ping -->
| <!-- Second user to ping -->
| <!-- ... user to ping -->
| <!-- Ninth user to ping -->
| <!-- Tenth user to ping -->
}}

For example:

{{Pinggroup|list=yes|John Doe|Jane Doe|Jimbo Wales|...|Jane Wales|Jimbo Doe}}

Note that like all "ping" templates, the notification system will only work if the edit includes an editor's signature. See {{ping}} for details.