Jump to content

Template:Noping/doc: Difference between revisions

From pool
[checked revision][checked revision]
Content deleted Content added
Created page with "{{lua|Module:No ping}} This template links to a user page, or to multiple user pages, without triggering the Wikipedia:Notifications|Echo notificat..."
 
 
Line 19: Line 19:


== Consequences ==
== Consequences ==
The template avoids notifications by making external links with code like <code><nowiki><span class="plainlinks">[//en.wikipedia.org/wiki/User:Username username]</span></nowiki></code> instead of wikilinks like <code><nowiki>[[User:Username|Username]]</nowiki></code>. An external link icon is avoided with <code><nowiki>plainlinks</nowiki></code> but there are other consequences of not using a wikilink. The link will not be [[WP:RED|red]] for non-existing user pages, the blue link will have a lighter [[Help:Link color|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 [[WP:POPUPS|Navigational Popups]], which handles it the way it would handle other links.
The template avoids notifications by making external links with code like <code><nowiki><span class="plainlinks">[//en.wikipedia.org/wiki/User:Username username]</span></nowiki></code> instead of wikilinks like <code><nowiki>[[User:Username|Username]]</nowiki></code>. An external link icon is avoided with <code><nowiki>plainlinks</nowiki></code> but there are other consequences of not using a wikilink. The link will not be [[Wikipedia:WP:RED|red]] for non-existing user pages, the blue link will have a lighter [[Wikipedia:Help:Link color|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 [[Wikipedia:WP:POPUPS|Navigational Popups]], which handles it the way it would handle other links.


== See also ==
== See also ==

Latest revision as of 18:43, 17 November 2020

This template links to a user page, or to multiple user pages, without triggering the Echo notification system. It is not necessary to use this template if you are not signing your post, as Echo mentions only work with a signature included.

Usage

Basic usage:

{{noping|username 1|username 2|...}}

By default, usernames are displayed, but this can be overridden with the |labeln= parameters.

{{noping|username 1|label1=label 1|username 2|label2=label 2|...}}

Examples

Consequences

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