Template:Ping/doc
This is a documentation subpage for Template:Ping (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Usage
editGiven one or more unnamed parameters, this template pings the named users;
{{ping|foo|bar|quux}}
would produce
For purely historical reasons, if this template is called without unnamed parameters, it produces a link (believed to have been useless for many years now) related to a long-ago use of Technorati. (It was easier to keep the legacy behavior in the template than to eliminate all its uses from old pages.)
Internals
editWhen presented with at least one unnamed parameter, this template handles the first one itself, with the prefixed @
and suffixed :
, and uses Module:TScope#shiftLeft to pass the rest of the unnamed parameters to subtemplate {{ping/rest}}.