Template:No ping/doc
This is a documentation subpage for Template:No ping. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Purpose
[edit source]This template links to a user page, or to multiple user pages, without triggering the notification system. It is not necessary to use this template if you are not signing your post, as Notifications mentions only work with a signature included.
Usage
[edit source]Basic usage:
{{no ping|username 1|username 2|...}}
By default, usernames are displayed, but this can be overridden with the |labeln=
parameters.
{{no ping|username 1|label1=label 1|username 2|label2=label 2|...}}
Examples
[edit source]{{no ping|Example|Example2}}
→ Script error: No such module "No ping".{{no ping|Example|label1=User 1|Example2|label2=User 2}}
→ Script error: No such module "No ping".
Consequences
[edit source]The template avoids notifications by making external links with code like <span class="plainlinks">[//en.wikipedia.org/wiki/User:Username username]</span>
instead of wikilinks like [[User:Username|Username]]
. An external link icon is avoided with plainlinks
but there are other consequences of not using a wikilink. The link will not be red for non-existing user pages, the blue link will have a lighter color than usual for most readers, and the page the template is used on will not appear at Special:WhatLinksHere for the user page. The link is recognized by Navigational Popups, which handles it the way it would handle other links.
See also
[edit source]- {{No ping2}}
- {{Reply to}}
- {{Ping group}}