Template:Noping: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
Convert to use commas in an appropriate list. Will work in most cases unless someone accidentally skips a numbered parameter. Will figure out and add logic for that later.
remove inadvertent linefeed
Line 3: Line 3:
-->{{#ifeq:{{{3|}}}|||{{#ifeq:{{{4|{{{5|}}}}}}||, and&#32;|,&#32;}}{{Plainlinks|url={{canonicalurl:User:{{{3|Example}}}}}|name={{{label3|{{{3|Example}}}}}}}}}}<!--
-->{{#ifeq:{{{3|}}}|||{{#ifeq:{{{4|{{{5|}}}}}}||, and&#32;|,&#32;}}{{Plainlinks|url={{canonicalurl:User:{{{3|Example}}}}}|name={{{label3|{{{3|Example}}}}}}}}}}<!--
-->{{#ifeq:{{{4|}}}|||{{#ifeq:{{{5|}}}||, and&#32;|,&#32;}}{{Plainlinks|url={{canonicalurl:User:{{{4|Example}}}}}|name={{{label4|{{{4|Example}}}}}}}}}}<!--
-->{{#ifeq:{{{4|}}}|||{{#ifeq:{{{5|}}}||, and&#32;|,&#32;}}{{Plainlinks|url={{canonicalurl:User:{{{4|Example}}}}}|name={{{label4|{{{4|Example}}}}}}}}}}<!--
-->{{#ifeq:{{{5|}}}|||, and {{Plainlinks|url={{canonicalurl:User:{{{5|Example}}}}}|name={{{label5|{{{5|Example}}}}}}}}}}
-->{{#ifeq:{{{5|}}}|||, and {{Plainlinks|url={{canonicalurl:User:{{{5|Example}}}}}|name={{{label5|{{{5|Example}}}}}}}}}}<noinclude>
<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 15:11, 24 January 2014

[ {{{1}}}]

Template documentation

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

  • {{noping|Example|Example2}}[ {{{1}}}] and [ {{{1}}}]
  • {{noping|Example|label1=User 1|Example2|label2=User 2}}[ {{{1}}}] and [ {{{1}}}]

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