Template:No ping/doc: Difference between revisions
(→Redirects: use {{tl-r}}) |
m (1 revision imported: Initial setup) |
(No difference)
|
Latest revision as of 06:28, 1 September 2024
This is a documentation subpage for Template:No ping. It contains usage information, categories and other content that is not part of the original Template page. |
This template is used on many pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
Uses Lua: |
Purpose
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
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|...}}
Appropriate use
As transparency is a core value of Wikipedia, please be cautious when using this template. It is fine to use it to avoid bothering an editor about something in which there is no reasonable expectation they would be interested. On the other hand, using it when criticizing another editor will often be perceived negatively, as not notifying them denies them the chance to respond.
Examples
{{no ping|Example|Example2}}
→ Example and Example2{{no ping|Example|label1=User 1|Example2|label2=User 2}}
→ User 1 and User 2
Consequences
The template avoids notifications by making external links with code like <span class="plainlinks">[https://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.
Redirects
You can use the following text in place of "No ping":
- REDIRECT Template:Template link no redirect
- REDIRECT Template:Template link no redirect
- REDIRECT Template:Template link no redirect
- REDIRECT Template:Template link no redirect
See also
- {{No ping2 }}: This template functions similarly to {{no ping}}, but also provides Talk and Contributions links.
- {{Reply to }}
- {{Ping group }}
{{subst :Please ping|no}}
(inserts message asking not to be pinged)- {{Hidden ping }}: pings without displaying any text
- {{No ping wikilink }}
Link to userpages without generating an alert (a ping)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Username | 1 | The name of the user you want to link to.
| User | required |